Http500 error in iis7

Source: Internet
Author: User

I encountered an http500 error when debugging a blog system yesterday. So I found the corresponding settings in iis7 according to the solution at 2003. The specific operations are as follows:

1. In the iis7 function view, change "send detailed error to Browser" to "true" and click "application" on the right of "ASP setting options-debugging properties ";

2. In the "error page" setting options, double-click the row 500, and then click "set" next to the file path ". In the displayed dialog box, change the file name in the "relative file path" to "500-100.asp.

3. Remove the "show friendly HTTP Error message" section in Internet Options of IE7.

At this time, debugging ASP will result in specific errors, which is very helpful for modification! What I show is

"Active Server Pages error 'asp 0131'

The parent path is not allowed.

/Admin/index. asp, Row 1

The file '../Conn. asp' cannot use '..' to indicate the parent directory ."

Therefore, you can set iis7 by referring to the method used to enable the parent directory in 2003, as shown in the following code:

In the iis7 function view, change "enable parent directory" to "true" in "ASP setting options-behavior" and click "application" on the right ".

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.