Server environment: Windows2008 + IIS7
Client browser settings: Cancel "Show friendly HTTP error messages"
IIS7 settings (GUI):
1 .
How to display detailed error information of ASP in Windows 2008 IIS7
If it is an Asp program under Windows 2008 IIS7, if an error occurs, a contact administrator message will be displayed. If we want to display Detailed error message, what should I do? You can modify it through the following method. Of course, it is best to change it back after debugging is completed, because this can reduce the risk of being attacked.
1 Run the command method:
%windir%\system32\inetsrv\appcmd set config -section:asp -scriptErrorSentToBrowser:true
If you want to change it back, no detailed information will be displayed If so, just run the following command:
%windir%\system32\inetsrv\appcmd set config -section:asp -scriptErrorSentToBrowser:false
2 Modify file method
You can open In the %windir%\system32\inetsrv\config\applicationHost.config file, modify the asp item under the system.webServer section and add the scriptErrorSentToBrowser="true" attribute, as shown in the figure below. Of course, if you want to change it back, delete it Just add the newly added content, then save and exit.
Note: At the same time, you need to cancel "Show Friendly HTTP Error Messages" in the IE settings in "Internet Options"-"Advanced"-"Show Friendly HTTP Error Messages" Checked=False.
3 UI configuration method
This is the simplest, just double-click the ASP icon and then set it. However, please note that the Asp module must be installed to see the Asp icon. The installation module is added in the role of the service manager.

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Zend Studio 13.0.1
Powerful PHP integrated development environment

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.
