With IIS7.5 installed on WINDOWS7 or SERVER2008, the following error occurred while debugging the ASP program:
An error occurred on the "server" when processing the URL. Contact the system administrator
The workaround is as follows:
Set method One:
Run cmd as an administrator, locate the directory to%windir%system32inetsrv, and then execute Appcmd set config-section:asp-scripterrorsenttobrowser:true.
%windir%system32inetsrvappcmd Set Config-section:asp-scripterrorsenttobrowser:true
Set method Two:
Open the ASP settings for IIS7, expand the Debug Properties option, and send errors to the browser by default, change to True, and then point to the right side of the application! As shown in the picture:
After the above settings, and then from the browser to open the error of the ASP page will be able to see the details of the page error, before the debugging. If it is a public Web server, it is recommended that you do not turn this option on, in case the error message is exploited by others.