IIS appears An error occurred on the server when processing the URL. Please contact the system administrator solution

  
                  

Today, the ASP program was deployed to iis7, and an error occurred on the server when processing the URL. Please contact the system administrator. The following solution: The solution is as follows:

Setting method one: Run CMD as administrator, locate the directory to %windir%\\system32\\inetsrv\\, and then execute appcmd set config -section:asp -scriptErrorSentToBrowser :true. %windir%\\system32\\inetsrv\\appcmd set config -section:asp -scriptErrorSentToBrowser:true Set method two: Open IIS7 asp settings, expand “Debug Properties”options, “send errors to the browser> The default is False, change to True, then click on the app on the right! As shown:

By the above settings, then open the details page you can see errors Error ASP page, the commissioning party from browsing. If it is a public web server, it is recommended not to turn this option on to prevent the error message from being exploited by others. IIS7.5 is installed on WINDOWS7 or SERVER2008. The following error occurs when debugging ASP program:

An error occurred on the server when processing the URL. Please contact the system administrator

:

Setting Method One:

Run CMD as an administrator, locate the directory to %windir%\\system32\\inetsrv\\, and then execute appcmd set config -section:asp -scriptErrorSentToBrowser:true . %windir%\\system32\\inetsrv\\appcmd set config -section:asp -scriptErrorSentToBrowser:true

Set Method 2:

Open the IIS7 asp settings and expand the "Debug Properties" option. “ Send the error to the browser> This default is False, change to True, then click on the app on the right! As shown:

By the above settings, then open the details page you can see errors Error ASP page, the commissioning party from browsing. If it is a public web server, it is recommended not to turn this option on to prevent the error message from being exploited by others.

Copyright © Windows knowledge All Rights Reserved