Difference between revisions of "Enable Detailed Errors"

From Hostek.com Wiki
Jump to: navigation, search
(Created page with "How to enable detailed errors on IIS 7+ (Windows 2008 and 2012). *Edit or create the file '''web.config''' within the folder in which detailed errors should be enabled. *Add ...")
 
m
Line 1: Line 1:
How to enable detailed errors on IIS 7+ (Windows 2008 and 2012).
+
==How to enable detailed errors (ColdFusion, Railo, .Net) on IIS 7+ (Windows 2008 and 2012)==
  
 
*Edit or create the file '''web.config''' within the folder in which detailed errors should be enabled.
 
*Edit or create the file '''web.config''' within the folder in which detailed errors should be enabled.
Line 15: Line 15:
  
 
[[Category:Windows]]
 
[[Category:Windows]]
 +
[[Category:ColdFusion]]
 +
[[Category:Railo]]

Revision as of 14:22, 23 December 2013

How to enable detailed errors (ColdFusion, Railo, .Net) on IIS 7+ (Windows 2008 and 2012)

  • Edit or create the file web.config within the folder in which detailed errors should be enabled.
  • Add the following:
<configuration>
   <system.webServer>
      <httpErrors errorMode="Detailed" />
   </system.webServer>
</configuration>

NOTE: If any of the above sections already exist in the web.config" file, edit the existing sections. Do not duplicate.

  • To re-enable custom errors (or non-detailed errors), update the web.config file changing the errorMode attribute from Detailed to Custom.