Web Connection
Problems with version 7.08
Gravatar is a globally recognized avatar based on your email address. Problems with version 7.08
  Tore Bleken
  All
  Sep 4, 2019 @ 06:57am

I just installed version 7.08 in a new folder, D:\wconnect, no problems.

Then I ran Setup and chose IIS .NET Handler for Web Server.

I click the desktop Icon, and select Web Connection Demo Server. Then I press Browse Site, and get error 500.19. Do you have any tips?

Update:

The error message disappeared after I commented out line 64 and the lines immediately following. Does that mean that there are two web.config files in action?

Update 2:

Only static page looks normal, all the links give 404 errors. I guess that I must change a folder name, but where?


A few more things.

  1. I don't see anything in Help about the difference between IIS .NET Handler and IIS ISAPI as Web Server. Is the difference important, and which option should I select?

  2. The Help file shipped with the installation is not updated. In What's new, the latest version is 7.07, referred to as "not yet released"

Gravatar is a globally recognized avatar based on your email address. re: Problems with version 7.08
  Rick Strahl
  Tore Bleken
  Sep 4, 2019 @ 11:32am

Yes that sounds like there is a second web.config interfering with the lower level one. This can occur if you have a root site that uses Web Connection and then install a virtual /wconnect underneath it. The virtual inherits settings from the parent.

If that's the case you can either remove the handler mappings as you did (because they are already there from the parent), or remove the handlers explicitly then add them back in:

<remove name=".wc_wconnect_module" />
<remove name=".wcs_wconnect_module" />

<add name=".wc_wconnect-module" path="*.wc" verb="*" 
     type="Westwind.WebConnection.WebConnectionHandler,WebConnectionModule" preCondition="integratedMode" />
<add name=".wcs_wconnect-module" path="*.wcs" verb="*" 
     type="Westwind.WebConnection.WebConnectionHandler,WebConnectionModule" preCondition="integratedMode" />     

Curious to hear if that is indeed your problem...

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: Problems with version 7.08
  Tore Bleken
  Rick Strahl
  Sep 4, 2019 @ 12:14pm

Will dual web.config files also cause the 404 I mentioned?

Gravatar is a globally recognized avatar based on your email address. re: Problems with version 7.08
  Rick Strahl
  Tore Bleken
  Sep 4, 2019 @ 12:26pm

Tore,

No -the 404 likely comes because a handler can't be matched to the request. What does the 404 detailed error message say?

Ping me on Skype (rickstrahl) and maybe we can take a quick look at your setup - it would be good to know why this is failing. It sounds like something is not set up right on your end - perhaps related to a parent site setup.

re: Docs

I forgot to update the help file for v7.07/08 mainly because all docs are meant to be online. It's easy enough to do but yet another step. There have been very few changes so for reference material the help file will be up to date.

I'll update it for the next maintenance release.

+++ Rick ---

© 1996-2019