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?