Sunday, March 11, 2012

ATLAS not running standalone in IIS. Works fine in Visual Studio.

In my IIS logs I get the following errors:
#Software: Microsoft Internet Information Services 5.1
#Version: 1.0
#Date: 2006-05-09 08:58:55
#Fields: time c-ip cs-method cs-uri-stem sc-status
08:58:55 129.84.110.146 GET /DTSRun/AtlasScript.aspx 200
08:58:55 129.84.110.146 GET /DTSRun/WebResource.axd 404
08:58:55 129.84.110.146 GET /DTSRun/atlasglob.axd 404

Maybe IIS is not configured properly? I have reinstalled IIS with
aspnet_regiis.exe -iru

I have registered the .adx extension with IIS and associated it with
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll
and unticked the check file exists option... Still not working.

Any more suggestions please??

Well silly me! It's .axd, not .adx..... Now that little detail is sorted I am one step closer to my goal!
Logs now show:
09:38:57 129.84.110.146 GET /DTSRun/AtlasScript.aspx 200
09:38:57 129.84.110.146 GET /DTSRun/WebResource.axd 200
09:38:57 129.84.110.146 GET /DTSRun/atlasglob.axd 200
09:38:57 129.84.110.146 GET /DTSRun/HelloWorldService.asmx 404
So the last hurdle seems to be the following lines in the page source code (AtlasScript.aspx):
<references>
<add src="http://pics.10026.com/?src=HelloWorldService.asmx/js" />
</references
I have verified that the service exists, but with the /js after .asmx, I get a 404 page not found.
Solved!! Thank god for that.... it was driving me a little insane!
As it turns out the solution was very simple:

1. Register the.axd extension in IIS to use the DLLaspnet_isapi.dll. Ensure that'check that file exists'isunchecked.
2. Alter the extension.asmx, again ensure that'check that file exists' isunchecked.

Now for the business of learning Atlas!Smile [:)]

hello.

you'll only have to do this if your asp.net 2.0 installation wasn't done properly on the server...

No comments:

Post a Comment