resources Windows Server 2012 resources Programs MSDN subscriptions Overview Benefits Administrators Students Microsoft Imagine Microsoft Student Partners ISV Startups TechRewards Events Community Magazine this tag should then have its "mode" attribute set to "off" . Forums Blogs Channel 9 Documentation APIs and reference Dev centers Retired
content Samples We’re sorry. The content you requested has been removed. You’ll be auto redirected in
Httperrors
1 second. Configuration File Syntax ASP.NET Configuration Settings https://msdn.microsoft.com/en-us/library/y123fsf7(v=vs.100).aspx TOC Collapse the table of content Expand the table of content This documentation is archived and is not being maintained. This documentation is archived and is not being maintained. Recommended Version This https://msdn.microsoft.com/en-us/library/h0hfz6fc(v=vs.85).aspx documentation is archived and is not being maintained. customErrors Element (ASP.NET Settings Schema) .NET Framework 3.0 Other Versions Visual Studio 2010 .NET Framework 4 Visual Studio 2008 .NET Framework 3.5 .NET Framework 2.0 .NET Framework 1.1 Provides information about custom error messages for an ASP.NET application. The customErrors element can be defined at any level in the application file hierarchy. Copy Attributes and Elements The following sections describe attributes, child elements, and parent elements. Attributes Attribute Description defaultRedirect Optional attribute. Specifies the default URL to direct a browser to, if an error occurs. When this attribute is not specified, a generic error is displayed instead. The URL can be absolute (for example, www.contoso.com/ErrorPage.htm) or relative. A relative URL, such as /ErrorPage.htm, is relative to the Web.config file that specified the URL for this attribute, not to the Web page in which the error occurred. A URL starting with a tilde (~), such as ~/Er
Web Platform Installer Get Help: Ask a Question in our Forums More Help Resources Blogs Forums Home IIS.NET Forums IIS 7 and Above ASP.NET http://forums.iis.net/t/1154385.aspx?customErrors+mode+Off+not+working Administration customErrors mode="Off" not working customErrors mode="Off" not working RSS 10 replies Last post Mar 07, 2012 03:32 PM by paulcasimir ‹ Previous Thread|Next Thread › Print Share Twitter Facebook Email Shortcuts Active Threads Unanswered Threads Unresolved Threads Advanced Search Reply cstobbe 69 Posts customErrors mode="Off" not working Jan 16, 2009 04:43 PM|cstobbe|LINK We have a customerrors mode= web site where we want detailed errors to appear. The web.config contains this line: In ASP.NET 2.0, this is working nicely. In ASP.NET 1.1, we see the detailed error only when running the browser on the same machine as the web server. On any other computer, all we get (from a test app that asp.net runtime error intentionally generates a 500.19) is "The page cannot be displayed because an internal server error has occurred." What other settings need to be set? customErrors .NET 1.1 Reply HostingASPNe... 889 Posts Re: customErrors mode="Off" not working Jan 17, 2009 04:23 AM|HostingASPNet|LINK Hello, It sounds like you have some parent web.config with Regards WindowsHostingASP.NET - My favourite site for Windows and IIS hosting information. HowtoASP.NET - Free ASP.NET tutorials and source code. Reply cstobbe 69 Posts Re: customErrors mode="Off" not working Jan 19, 2009 02:46 PM|cstobbe|LINK HostingASPNet It sounds like you have some parent web.config with I wish it was that easy. The parent folder to this web app has no web.config. The next higher parent web.config, which is the root of the site, also has . The machine.config also has . What other ways can I diagnose why ASP.NET 1.1 is doing this? Reply eristoff 1 Post Re: customErrors mode="Off" not working Oct 15, 2009 01:09 PM|eristoff|LINK hello, At a parent