always prompt when accessing ASP Web site: "500-Internal server error." There is a problem with the resource you are looking for and cannot be displayed. "
The above shows the friendly error of IIS, the following steps to display detailed errors!
1, in IIS Manager →asp, the error message sent to the browser this option to open (True), and notice in IE settings to remove "Show friendly error";
2, then in the "error page" settings option, double-click the 500 line, and then click the file by the path after the "settings." In the dialog box, change the file name in the relative file path to "500-100.asp" and make sure.
As shown in the following illustration:
after displaying the detailed error, the specific error came out, as follows:
HTTP Error 500.19-internal Server error
The absolute physical path "G:\websites" is not allowed in the System.webserver/httperrors section of the Web.config file. Use a relative path instead.
Detailed error message:
Module Customerrormodule Notification Sendresponse
Handler aspclassic error code 0x8007000d
The requested URL http://127.0.0.1:80/liuyanban/Default.asp physical path G:\websites\liuyanban\Default.asp
Login method Anonymous Logon user Anonymous
The most probable cause:
• The worker process could not read applicationhost.config or web.config files.
Malformed XML exists in the applicationhost.config or Web.config file.
• The server cannot access applicationhost.config or Web.config files because NTFS permissions are incorrect.
Solving Method
Replace the <webserver> node of the Web.config file in the error site from the Web.config file copy <webserver> node contents of the site that can run
According to the above solution found no use, and then dot a long time to finally normal website, finally found that there are several key places, cut the figure as a later encounter such problems need to pay attention to the place!
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.