PCI Compliance : Asp.NET Custom Errors = On PDF Print E-mail
When <customErrors> is disabled, ASP.NET returns a browser-friendly page that describes the error. When <customErrors> is enabled, ASP.NET does not show detailed error information.

To enable custom errors follow these steps:
1. Create a backup copy of the Web.config file in the root directory of the application.
2. Open the Web.config file in a text editor such as Notepad. The Web.config file is located in the root directory of the application.
3. In the Web.config file locate the <customErrors> configuration element. If the <customErrors> element does not exist, add the <customErrors> element under the <system.web> element.
4. Set the customErrors mode to on as follows:
<system.web>
    <customErrors mode="on">
    </customErrors>
</system.web>


5. Save the Web.config file.
The ASP.NET application automatically restarts.
 
< Prev   Next >
Design and Dev - Clear Sky Innovations, INC - RSS