HI forum,
I am fond of my hair so would like to keep what I have left. I am trying to get a custom 404 error message when someone puts in http://site.com/foo. In other words no file extension.
I have the following environment.
Fully updated Windows 2003 running ASP.NET 3.5 website.
I have customErrors set in web.config for 404.
I have 404 error set up to same url in website properties for 404 errors.
Things work fine when a file extension that is handled by ASPNET_ISAPI is hit but not for a file with no extension.
I thought wildcard mapping would do it so I set it to map to ASPNET_ISAPI. I did an IISRESET and went back into the properties and the mapping that I just inserted was gone! WTF?
Any help would be appreciated as I would like to capture as many fat fingered visitors as possible.
Thanks
Stuart