Forum Moderators: open

Message Too Old, No Replies

IIS6 will not serve a 404 error for .asp

         

USCountytrader

9:51 pm on Sep 3, 2007 (gmt 0)

10+ Year Member



Hello,
currently on a win2003 server using IIS6. My problem is with the
classic asp pages. All my asp pages are serving up fine. But due to a recent restructure of the website, all the url's changed. I recently discovered that all my non existing .asp url's are returning 500 errors instead of 404. It's really weird! I can make up any page name I want, but if it ends with .asp it returns a 500 error instead of 404. This is only happening with .asp urls, any other page extension returns the correct header status. Any one have any ideas?

Corey Bryant

10:00 pm on Sep 3, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Are you using relative, virtual, or absolute hyperlinks in the 404.asp page?

Can you turn off Friendly Error messages to see what the error might be?

-Corey

USCountytrader

10:10 pm on Sep 3, 2007 (gmt 0)

10+ Year Member



Parent paths are enabled on the server.

Friendly URL's is turned off, yet it shows nothing but:
HTTP/1.1 500 Server Error

Web Log shows:
/test.asp ¦-¦ASP_0147¦500_Server_Error 80

Can get a 404 page for .htm, .html etc, Just not .asp

I am guessing that the ASP.DLL is the one processing the .asp page headers, not the others. Where do you specify where ASP.DLL sends a 404?

USCountytrader

10:33 pm on Sep 3, 2007 (gmt 0)

10+ Year Member



BTW, I cannot find a 404.asp page

USCountytrader

10:42 pm on Sep 3, 2007 (gmt 0)

10+ Year Member



Also, even non existing .aspx and .jsp pages serve the correct 404 response. Kindda weird that .aspx will, but not .asp

Drew_Black

6:58 pm on Sep 5, 2007 (gmt 0)

10+ Year Member



Do you have a custom 404 error handler installed in IIS?