Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Loading asp pages in IIS5

Status
Not open for further replies.

Naith

Programmer
May 14, 2002
2,530
GB
Hi,

I have IIS5 on 2000, and I'm having some trouble getting asp pages to load, as they're returning 404 errors: "The page cannot be displayed".

I have turned friendly error messages off on the browser, and all that is revealed is "Cannot find server or DNS Error", which is no different from friendly errors.

When I checked the Default Web Site Home Dir configuration settings, .asp was initially pointing to the 404.dll, so I repointed it, as well as the .cer, .cdx, .asa, and .htr extensions to c:\winnt\system32\inetsrv\asp.dll.

I've also checked the hosts file on the server, which looks fine, and toggled the application protection between low and medium at the home dir.

I'm running out of ideas now. I heard on IIS6, there is an asp setting you can manually set. Is there such a thing on IIS5 - because I'm obviously missing something. The problem affects two boxes, and I'm fairly new to IIS, so I'm pretty sure it's something I haven't set yet, rather than needing to reinstall it.

Any help you could give me here would be well appreciated.

Thanks,

Naith
 
ASP is not installed by default on IIS6. You have to manually set that up. after installing asp extensions in add/remove programs, you can verify the server extensions are enabled.

In your situation you need to add default.asp(or your actual page) in the default documents settings.
When you enter the entire address, and include the asp page, does it give you a 404 as well? Verify if asp.net is installed and if any plug-ins are missing(asp.net_1.xxxx).

Verify folder security is setup correctly as well.

IIS6 is a little more upfront with asp.

I have no problems, only challenges.
 
The problem was with an installation of URLscan on the server, which was set to disallow any .asp execution. This overrides any IIS settings to the contrary, so the fix was to disable this in URLscan.

Naith
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top