If it is an Asp program under Windows 2008 IIS7, if there is an error, a contact administrator information will be displayed if we want to display detailed information. Error message, what should I do? You can modify it by the following methods. Of course, if you have finished debugging, it is best to change it back, because it can reduce the risk of being attacked.
1 Run command method:
%windir%\\system32\\inetsrv\\appcmd set config -section:ASP/' target='_blank' class='infotextkey'>asp -scriptErrorSentToBrowser:true
If you want If you change it back and don't display the details, just run the following command:
%windir%\\system32\\inetsrv\\appcmd set config -section:asp -scriptErrorSentToBrowser:false
2 Modify the file method
You can open the %windir%system32inetsrvconfigapplicationHost.config file, modify the asp item under the system.webServer section, and increase the scriptErrorSentToBrowser=”true” attribute, as shown in the following figure. Of course, if you want to change it back, delete the newly added one. The content is fine, then save and exit.
Note: At the same time you need to cancel the IE settings to "Show friendly HTTP error messages" "Location in "Internet Options"-"Advanced"-“Show friendly HTTP error messages> Checked= False.
3 UI configuration method
This is the easiest way to directly double-click the ASP icon, and then set it. Note, however, that you must have the Asp module installed to see the Asp icon, and the installation module is added in the role of the Service Manager.
Screen saver is to save the screen and save the screen when the computer is in standby mode. So in W
To share with you today: How to use the virtual machine tool that comes with Windows7——W
Windows 7 starts up very quickly. Many users have also experien
Although the current Win7 system is very mature and mature, in the usual use, there will still be so
File Synchronization Using rsync on Windows Platform
Fixed favorites in Win7 Explorer could not be expanded
How to remove viruses hidden in Win7 system services?
Choice of 32-bit and 64-bit win7 systems
Windows7 system boot crash failure attempt solution
What should I do if the Win7 system boot screen is abnormal?
Win7 BIOS reset factory settings two methods
How to make the Windows 7 program window more obedient
The Windows 7 system next key to synchronize all folder views
Windows 7 RTM exposes major vulnerabilities
Virtual Memory Management for Linux System Performance Test
Vista upgrade win7 system has unlimited restart solution
Summary of Windows 8 Common Settings Functions
Win8.1/Win8.1 Update system input method setting tutorial
Understand the reasons and solutions for Service Unavailable
Common faults and solutions under Windows 7
shock! Piracy Win10 upgrade is still pirated
What should I do if the Win8 app store connection network is blocked by Avast?
"Administrators Only" appears when using the Windows Update website (limited to tube