IIS6.0 server construction site inaccessible solution Summary

Source: Internet
Author: User

Many of my friends have encountered many problems when using IIS6 websites. Some of these problems have been encountered in IIS5 in the past, and some are new. I have been busy for one afternoon, I have done many experiments and made this conclusion based on my previous troubleshooting experience, hoping to help you.

If your server is 2003, it only supports. net by default, and does not support asp, you must perform the following operations:

Open the Local Computer in iis6.0-> web Service Extension

Allow the active server pages.

Problem 1: parent path not enabled

Symptom example:

Server. MapPath () Error 'asp 0175: 66661'

The Path character is not allowed.

/0709/dqyllhsub/news/OpenDatabase. asp, row 4

The character '...' is not allowed in the Path parameter of MapPath '..'.

Cause analysis:

Many Web pages use statements such as/format (that is, return to the previous page, that is, the parent path). IIS6.0 is disabled by default for security reasons.

Solution:

In IIS, choose Properties> Home directory> Configuration> options. Check "enable parent path. Confirm refresh.

Question 2: Improper Web Extension Configuration of ASP (also applicable to ASP. NET and CGI)

Symptom example:

HTTP Error 404-file or directory not found.

Cause analysis:

In IIS6.0, the web program extension option is added, in which you can.. NET, CGI, IDC, and other programs are allowed or prohibited. By default, ASP and other programs are prohibited.

Solution:

Select Active Server Pages in the Web service extension in IIS and click "allow ".

Many of my friends have encountered many problems when using IIS6 websites. Some of these problems have been encountered in IIS5 in the past, and some are new. I have been busy for one afternoon, I have done many experiments and made this conclusion based on my previous troubleshooting experience, hoping to help you.

If your server is 2003, it only supports. net by default, and does not support asp, you must perform the following operations:

Open the Local Computer in iis6.0-> web Service Extension

Allow the active server pages.

Problem 1: parent path not enabled

Symptom example:

Server. MapPath () Error 'asp 0175: 66661'

The Path character is not allowed.

/0709/dqyllhsub/news/OpenDatabase. asp, row 4

The character '...' is not allowed in the Path parameter of MapPath '..'.

Cause analysis:

Many Web pages use statements such as/format (that is, return to the previous page, that is, the parent path). IIS6.0 is disabled by default for security reasons.

Solution:

In IIS, choose Properties> Home directory> Configuration> options. Check "enable parent path. Confirm refresh.

Question 2: Improper Web Extension Configuration of ASP (also applicable to ASP. NET and CGI)

Symptom example:

HTTP Error 404-file or directory not found.

Cause analysis:

In IIS6.0, the web program extension option is added, in which you can.. NET, CGI, IDC, and other programs are allowed or prohibited. By default, ASP and other programs are prohibited.

Solution:

Select Active Server Pages in the Web service extension in IIS and click "allow ".

Many of my friends have encountered many problems when using IIS6 websites. Some of these problems have been encountered in IIS5 in the past, and some are new. I have been busy for one afternoon, I have done many experiments and made this conclusion based on my previous troubleshooting experience, hoping to help you.

If your server is 2003, it only supports. net by default, and does not support asp, you must perform the following operations:

Open the Local Computer in iis6.0-> web Service Extension

Allow the active server pages.

Problem 1: parent path not enabled

Symptom example:

Server. MapPath () Error 'asp 0175: 66661'

The Path character is not allowed.

/0709/dqyllhsub/news/OpenDatabase. asp, row 4

The character '...' is not allowed in the Path parameter of MapPath '..'.

Cause analysis:

Many Web pages use statements such as/format (that is, return to the previous page, that is, the parent path). IIS6.0 is disabled by default for security reasons.

Solution:

In IIS, choose Properties> Home directory> Configuration> options. Check "enable parent path. Confirm refresh.

Question 2: Improper Web Extension Configuration of ASP (also applicable to ASP. NET and CGI)

Symptom example:

HTTP Error 404-file or directory not found.

Cause analysis:

In IIS6.0, the web program extension option is added, in which you can.. NET, CGI, IDC, and other programs are allowed or prohibited. By default, ASP and other programs are prohibited.

Solution:

Select Active Server Pages in the Web service extension in IIS and click "allow ".

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.