Custom 404 Page Not Loading

I'm sure I'm just missing something stupid, but I'm tired. :)

The environment is ASP.NET 1.1 and IIS 6. I've right clicked on the site in IIS, gone to properties -> Custom Errors and edited 404. If I go to http://www.example.com/badfilename.html it works fine. If I go to http://www.example.com/badfilename.aspx I get an ASP.NET resource not found which lists the file path of the website on the server. How can I make IIS serve the 404 page for ASPX pages as well?
LVL 14
quizwedgeAsked:
Who is Participating?
 
quizwedgeAuthor Commented:
That link is for IIS 7+. I'm running IIS 6. Thanks.
0
 
quizwedgeAuthor Commented:
Thanks. The web.config option will work.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.