In Windows 2008 IIS7 Asp under the program if it is, then, if an error occurs, contact the administrator will display a message, if we want to display detailed error information, then how to do it? You can be modified by the following method, of course, if all debugging is complete, it is best to change it back, because it can reduce the risk of being attacked.
A run command method:
% Windir% \ system32 \ inetsrv \ appcmd set config -section: ASP / 'target =' _ blank 'class =' infotextkey '> asp -scriptErrorSentToBrowser: true
If you want to change back into without the details, it only needs to run the following command:
% Windir% \ system32 \ inetsrv \ appcmd set config -section: asp -scriptErrorSentToBrowser: false
2 Modify Documents Act
You can open the% windir% system32inetsrvconfigapplicationHost.config file, modify the asp items system.webServer section under increased scriptErrorSentToBrowser = "true" attribute, as shown below can, of course, want to change it back, then delete the newly added content on it, and then save and exit.
Note: You will need to IE's settings to cancel the "Show friendly HTTP error messages" position in the "Internet Options" - "Advanced" - "Show friendly HTTP error messages" Checked = False.
3 UI Configuration France
The most simple, direct double-click the ASP icon, and then set it. But note that the module must be installed in order to see Asp Asp icon, install the module in the service manager's role to add.
0 komentar