Enabling Exceptions
- Login to the Windows Control Panel
- Navigate to Website Settings > IIS Settings > Advanced
- Change the Error Mode to "Detailed"
- Click the "Save" button
- Login to the ColdFusion Administrator
- Navigate to Debug & Logging > Debug Output Settings
- Enable the "Enable Robust Exceptions" checkbox
- Click the "Submit Changes" button
Disabling Exceptions
- Login to the ColdFusion Administrator
- Navigate to Debug & Logging > Debug Output Settings
- Disable the "Enable Robust Exceptions" checkbox
- Click the "Submit Changes" button
- Login to the Windows Control Panel
- Navigate to Website Settings > IIS Settings > Advanced
- Change the Error Mode to "Detailed Local Only"
- Click the "Save" button
Enabling Exceptions
- Login to the Windows Control Panel
- Navigate to Website Settings > IIS Settings > Advanced
- Change the Error Mode to "Detailed"
- Click the "Save" button
- Open the
application.cfc
file in the application root for editing - Add the following line of code to the file between the
<cfcomponent>
tags:<cfset this.enablerobustexception = true />
- Save and close the file
Note: If the application.cfc file does not exist, you will need to create one using the code provided below.
Disabling Exceptions
- Open the
Application.cfc
file in the application root for editing - Edit the following line of code within the file between the
<cfcomponent>
tags:<cfset this.enablerobustexceptions = false />
- Save and close the file
- Login to the Windows Control Panel
- Navigate to Website Settings > IIS Settings > Advanced
- Change the Error Mode to "Detailed Local Only"
- Click the "Save" button