Iis7.5 is installed on windows7 or server2008. the following error occurs when you debug the ASP program: An error occurred on the server when processing the URL. Please contact the system administrator The solution is as follows: Method 1: Run cmd as an administrator, locate the directory to % WINDIR % \ system32 \ inetsrv \, and then run appcmd set config-Section: Asp-scripterrorsenttobrowser: True. % Windir % \ system32 \ inetsrv \ appcmd set config-Section: Asp-scripterrorsenttobrowser: True Method 2: Open ASP settings of iis7, expand the "Debug attribute" option, and change "send error to Browser" to "false" by default. Then click the application on the right! : After the preceding settings, you can view detailed information about page errors when opening an ASP page during browsing. If it is a public web server, we recommend that you do not enable this option to prevent the error information from being exploited by others. |