Why will IIS 6 not serve my custom 404 page when I set the URL in 'Custom Errors'?
- by Glenn Slaven
I've got an ASP.NET MVC site & I've got an Errors controller with a NotFound action which works great for 404 errors that pass though .NET, but for stuff that doesn't (like static files) I've set the Custom Errors value for 404 to URL with a value of /Errors/NotFound.
But when I do this & hit a non-existant page the site just gives me this:
The system cannot find the path specified.
Is this because it's a dynamic url, can IIS not redirect 404 requests to dynamic urls or have I screwed up the config somewhere?