Custom Error Messages
<?xml version="1.0" encoding="utf-8" ?> <configuration> <system.web> <customErrors mode="RemoteOnly" defaultRedirect="/Maintenance.aspx" > <error statusCode="404" redirect="/NotFound.aspx" /> </customErrors> </system.web> </configuration>