ASP.NET Custom Error Pages
From Hostek.com Wiki
Disabling ASP.NET Customer Error Pages
To disable custom error pages for ASP.NET you'll need to add the following to your web.config file:
<!-- Web.Config Configuration File --> <configuration> <system.web> <customErrors mode="Off"/> </system.web> </configuration>