Solved iis7 running ASP error: An error occurred on the server when processing the URL. Please contact the system

Source: Internet
Author: User

Install iis7 on windows7 or server2008 to debug ASPProgramThe following error occurs:

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.

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.