Use activity log to solve IIS server faults skillfully

Source: Internet
Author: User
Tags iis log parent directory
iis| Server | solve

IIS (Internet Information Server, Internet Information Service) is a Web service component provided by Windows, I have been Windows Server to build a W EB server to support ASP Web pages, Recently started using Windows 2003 Server.

After you have configured IIS, all of the HTM static pages and most of the ASP pages are unaffected, but individual ASP pages have an "HTTP500 internal error" problem that does not normally browse (Figure 1). Is Windows Server 2003 IIS less performance than Windows 2000? I made up my mind to find out for sure.


Figure 1

When the system prompts the "HTTP500 internal error" problem, often the network management to make confused, luckily I these ASP pages themselves are not a problem, because they can be displayed under Windows 2000, so the cause of the error is attributed to the problem of IIS. First try on Baidu site to "HTTP500 Internal error" For the keyword search, the information can be really many, but it is not suitable for me to meet the problem. But from this information, I noticed that IIS has the "activity log" this important information, in the log records of the information should be more detailed. With this idea, I started the following attempts: sequentially execute the start → settings → control Panel → Administrative Tools →internet Information Services (IIS) Manager, open Internet Information Services (IIS) Manager, expand the Web site in my "AXZX" site and right-click it, Select Properties to enter the Site Properties page (Figure 2).


Figure 2

You can see from the diagram that IIS6 is using the "the expansion log," and click on the right side of the "Properties" button, from which we can get the path to the log, according to the given path, find the log file (Exyymmdd.log), with Notepad open, At the end of the file found a message like this (Figure 3), and then the "disallowed _path_ characters" as the keyword search, and indeed found the appropriate solution:


Figure 3

In Figure 2, 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 on the check box (Figure 4), determined to browse the ASP file again, Long-lost page again appeared, so that the problem successfully resolved.


Figure 4

In a word, there are many reasons for the problem of "HTTP500 internal error", but it is very general in the browser, so we should analyze the concrete problem concretely. and "Activity log" is a pair of IIS to provide us with an analysis of the "eye", with this pair of "eye" can find the cause of the problem. Of course, IIS "activity log" There are other uses, the author here is just a diversion, hoping to arouse everyone's attention to it.



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.