OK. the previous message did not format correctly. Let's try again.There must be something wrong with my web.config file. Checking IIS, the extension handler is mapped to:
Westwind.WebConnection.WebConnectionHandler,...
When attempting to edit the entry for my .rsx extension, an error is thrown.
"Could not load file or assembly 'System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"
The System cannot find the file specified or one of its dependencies.
(C:\webs\....\web.config<span class="codestring">" Line 18)
This might be unrelated to the original issue, or the other a symptom.
The web.config has this section of interest. Line 18 begins with "<add assembly=".
<system.web>
<compilation defaultLanguage="c#" debug="false">
<buildProviders>
<add extension=".wcsx" type="System.Web.Compilation.PageBuildProvider" />
<add extension=".rsx" type="System.Web.Compilation.PageBuildProvider" />
</buildProviders>
<assemblies>
<add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
</assemblies>
</compilation>
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID" />
</system.web>
A search for that public key token shows it to be a MS Report Viewer (which I have never used and is probably not installed on this server.) Any reason I cannot delete the assemblies section?
~bob
Hmmm... that's odd. If there are problems in web.config usually IIS will throw an error right away and the request will never hit Web Connection. if you're seeing that look closely at the error message - it should tell you where in web.config the error is.
It kind of sounds like the you have maybe the .wc extension set up for the module and your app scriptmap set to the ISAPI extension? It's possible the .wc extension is not mapped properly.
FWIW, re: changes to admin page - I'm making those changes now.
There will also be changes in the new version that default to using the .NET module for new applications to simplify configuration making script map configuration much easier and less error prone.
So I'm curious to hear what might be causing your problem...
+++ Rick ---
Bummer. I just tried EditConfig and it has the same error. In fact, the only link that does work is the Show and Manage ISAPI Settings.
The app works without any problems.
~bob
Bob,
That request is no longer valid. There are a number of issues with this but mainly since we've removed wwDhtmlForm from Web Connection this request is no longer used. If you need to edit settings the only way to do it now is to edit through the EditConfig link.
I may add this back in in the future using a standard Web Connection form, but for the moment that feature is gone.
Still not sure why that wouldn't work though - the .config parsing should work just fine... Does the app otherwise run - which indicates that the Web.config file is valid.
+++ Rick ---
After I upgraded to v5.62, wwMaint no longer works. Perhaps it was some other change I made at the same time, but I am unable to track it down. This is the error message.
Processing Error - wwMaint~ServerStatus
Error: 1943
Message: Member DOCUMENTELEMENT does not evaluate to an object.
Code: loNode = loXml.documentElement.selectSingleNode(lcSection + "/add[@key='" + lcKey + "']")
Program: getwcinivalue
Line No: 885
Debug shows:
lcSection = WebConnectionConfiguration
lcKey = AdminPage
Here is the line in Web.Config:
<add key="AdminPage" value="/admin/Admin.asp" />
That file does exist.
~bob