Why will IIS 6 not serve my custom 404 page when I set the URL in 'Custom Errors'?
        Posted  
        
            by Glenn Slaven
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Glenn Slaven
        
        
        
        Published on 2010-03-09T03:03:52Z
        Indexed on 
            2010/03/09
            3:06 UTC
        
        
        Read the original article
        Hit count: 434
        
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?
© Stack Overflow or respective owner