The only other weird thing which I'm wondering if it's right or not is, if I go to the wconnect virtual directory and edit the application, I get an option to "Test Connect". Authenticaion passes, but Authorization says "Cannot verify access to path (C:\inetpub\wwwroot\wconnect\). Goes on to say make sure the application pool identity has read access to the physical path. Not sure how to check this?
That most likely means the script map isn't set up for .wc.
I guess I'm not sure why you would have the other request you mentioned earlier have fail with 500 error (basically a crash) and this request failing with a 404 (not found). Both use .wc scriptmapping so that makes little sense to me.
Did you manually create the script maps? If you did did you by accident change the 'file' flag on the script which means that the file has to exist?
+++ Rick ---
I typed: http://localhost/wconnect/wc.wc?_maintain~ShowStatus in IE.
And I get:
HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable. Detailed Error Information
Module IIS Web Core
Notification MapRequestHandler
Handler StaticFile
Error Code 0x80070002
Requested URL http://localhost:80/wconnect/wc.wc?_maintain~ShowStatus
Physical Path C:\inetpub\wwwroot\wconnect\wc.wc
Logon Method Anonymous
Logon User Anonymous
Everything says it's installed except for the FTP components (Seems to be installed by default by SBS 2011).
Try hitting:
wc.wc?_maintain~ShowStatus
which is the base url for the ISAPI module.
500 errors occur:
If server is 64 bit and Application Pool is not set to 32 bit (make sure the right pool is used and set!)
You might also want to double check and ensure that the ISAPI module is installed and ISAPI support is enabled (in the ISAPI/CGI restrictions). If the ISAPI module (from the IIS installation feature set) is installed.
+++ Rick ---
I completely started from scratch using 4.68 version of Web Connection. I used the Web Connection setup (instead of configuring it manually), it created the wconnect virtual folder, set the permissions on c:\temp correctly and created about 6 or 7 script maps for the demo application. I then went in and change the web connection application pool to 32-bit and then tried hitting:
http://localhost/wconnect/default.htm
which worked fine. But as soon I try running a demo, I get
HTTP Error 500.0 - Internal Server Error
The page cannot be displayed because an internal server error has occurred. Detailed Error Information
Module IsapiModule
Notification ExecuteRequestHandler
Handler AboMapperCustom-19454432
Error Code 0x800700c1
Requested URL http://localhost:80/wconnect/wcscripts/nocode.wc
Physical Path C:\inetpub\wwwroot\wconnect\wcscripts\nocode.wc
Logon Method Anonymous
Logon User Anonymous
From a MS support article it says it's a handler error. But I've checked your docs and I can't see anything obviously different.
I'm really stuck :(
Arnold,
The configuration routines for Web Connection 5.50 and later should automatically set up all the 64 bit stuff properly when creating a new Application Pool for IIS 7. Older versions didn't do this, but it does now...
Good advice though - if automated installs don't work the manual installation steps are pretty complete and should always work. Important not to miss anything though :-)
+++ Rick ---
Hi Tristan
I was also used to run the Web Connection wizard to set it up...and when
trying to do it on Windows 7 64 bits machines, I found similar problems as you are seeing...
So...I switched to Manual Configuration...following closely what the docs say...
And all the sudden everything began to work...
Now...what I do is just have the \wconnect install directory...and I do all configuration manually..
I realize it's several steps...but it makes sense and works 100%...
My .02 cts...
Cheers...
Arnold
----------------------------------------------------------------------------
Fixed that by re-running the web connection set up.
Now stuck at:
HTTP Error 404.17 - Not Found
The requested content appears to be script and will not be served by the static file handler. Detailed Error InformationModule StaticFileModule
Notification ExecuteRequestHandler
Handler StaticFile
Error Code 0x80070032
Requested URL http://localhost:80/wconnect/wcscripts/nocode.wc
Physical Path C:\inetpub\wwwroot\wconnect\wcscripts\nocode.wc
Logon Method Anonymous
Logon User Anonymous
Thanks, that fixed the 500 error. But I seem to have taken one step forward and two back. Now whenever I type in:
http://localhost/wconnect/default.htm
I get an IE error saying "Service Unavailable" and then in IIS7 it stops the running the WEb Connection application pool.
Event Viewer is showing:
Log Name: System
Source: Microsoft-Windows-WAS
Date: 14/12/2011 5:24:24 p.m.
Event ID: 5002
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: SUCCESS.etl.local
Description:
Application pool 'West Wind Web Connection' is being automatically disabled due to a series of failures in the process(es) serving that application pool.
and
Log Name: System
Source: Microsoft-Windows-WAS
Date: 14/12/2011 5:24:24 p.m.
Event ID: 5139
Task Category: None
Level: Warning
Keywords: Classic
User: N/A
Computer: SUCCESS.etl.local
Description:
A listener channel for protocol 'http' in worker process '7304' serving application pool 'West Wind Web Connection' reported a listener channel failure. The data field contains the error number.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-WAS" Guid="{524B5D04-133C-4A62-8362-64E8EDB9CE40}" EventSourceName="WAS" />
<EventID Qualifiers="32768">5139</EventID>
<Version>0</Version>
<Level>3</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2011-12-14T04:24:24.000000000Z" />
<EventRecordID>6631</EventRecordID>
<Correlation />
<Execution ProcessID="0" ThreadID="0" />
<Channel>System</Channel>
<Computer>SUCCESS.etl.local</Computer>
<Security />
</System>
<EventData>
<Data Name="AppPoolID">West Wind Web Connection</Data>
<Data Name="ProcessID">7304</Data>
<Data Name="param3">0</Data>
<Data Name="ProtocolID">http</Data>
<Binary>C1000780</Binary>
</EventData>
</Event>
This seems a lot harder than IIS 6 to get working!
Where are you getting this error info from?
Is this a 64 bit box? Make sure the application pool is set to allow 32 bit operation.
+++ Rick ---
Hi all,
Our old Windows 2003 server box is dying and I'm trying to port over over web connection application to a new SBS2011 box which has IIS7.
I can't get the Web connection demo pages to work.
I've followed the steps in http://www.west-wind.com/wconnect/weblog/ShowEntry.blog?id=493
but when I try the nocode.wc script, I get the 500 error.
Url http://localhost:80/wconnect/wcscripts/nocode.wc
App Pool West Wind Web Connection
Authentication anonymous
User from token NT AUTHORITY\IUSR
Activity ID {00000000-0000-0000-BD11-0080000000E2}
It looks like a permission problem. I've got my temp files being written out to c:\temp\wc and have SYSTEM set to full and IUSR set to full access.
What am I missing?
Thanks,
Tristan