Thursday, July 30, 2009

404 2 error - ASP pages result in Page Not Found

Hit an odd one today. A colleague of mine was struggling to restore an old classic ASP app to a dev server and was IIS was returning "Page not found" for any .asp file. Static files, and even aspx files were fine but asp was not.

Checked the path to the asp.dll and the permissions (scripts enabled, IIS user has access) to no avail.

Finally dug into the IIS log and found out the 402 error had a substatus of 2.

Turns out that this error means the web service extension is locked down. (Thanks to Manish Pansiniya's post).

Here's what to look for in IIS:

No comments: