HTTP-500 Error Analysis

Source: Internet
Author: User
Tags iis parent directory access database

First you have to determine the cause of the error.

How to get IE to display a detailed error message:

Menu--Tool--internet option--advanced--Displays friendly HTTP error messages, removes this option, and then refreshes the error page to see detailed error messages that are very helpful to help you determine the error.

Common causes of 500 errors are: ASP syntax error, Access database connection statement error, file reference and include path error, using the server does not support components such as FSO.

HTTP 500 Internal Server error Description The IIS server could not resolve ASP code, access a static page to try whether this problem, if access to the static page is no problem, it will be divided into the following several situations to analyze: ① you have changed the computer name. The file directory where the ② site is located has custom security attributes. ③ The domain policy is adjusted after the domain controller is installed. If one of these is the case, set the changed parameters back to see if the problem is resolved. If the static space is also inaccessible, the parsing is not yet in effect.

When the system prompts the "HTTP500 internal error" problem, often the network management to get confused, first of all to be sure that the ASP page itself is not a problem, because they are in Windows 2000 normal display, so the cause of the error is attributed to the IIS problem. IIS has "activity log", you can guide us to find the direction of the problem: sequentially execute the start → settings → control Panel → Administrative Tools →internet Information Services (IIS) Manager, open the Internet Information Services (IIS) Manager, and then expand the Web site my "* *" Site, right-click it, and select Properties to enter the Site Properties page.

From this we can see that IIS6 is using the "Open Book Extended Log", and then click the "Properties" button on the right, from which we can get the path to the log, locate the log file (Exyymmdd.log) according to the given path, and, when opened with Notepad, At the end of the file found such a message, and then the "Disallowed _path_ characters" for the keyword search, it is easy to find the appropriate solution:

Switch to the Home Directory tab, click the Configure button in the pop-up dialog box, and switch to the Options tab. Original 2003 for security reasons, the Enable parent path feature is turned off by default, causing some ASP pages to not open. Of course, these pages that cannot be opened have such a common feature, which is used to invoke the parent directory. /"character, so there will be an error. The "Enable parent path" to the left of the checkbox to the check box, and then browse the ASP file again, Long-lost page again appeared, so that the problem successfully resolved.

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.