Hello... my site is using- IIS 8.0 I have created custom error pages and have the following code in the webconfig file below. However, after creating an error of file type 404, a file not found error is still handled by the ASP.net site's error page. <system.web> <customErrors mode="On" defaultRedirect="/errors/error.htm"> <error statusCode="404" redirect="/errors/error404.aspx"/> </customErrors> </system.web> Thanks for help!