IIS 6 FAQs

Source: Internet
Author: User
Tags anonymous iis
Author: Huang Zhenyu-MVP
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.
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:
In many Web pages, such .. /FORMAT statement (that is, return to the previous page, that is, the parent path), and IIS6.0 is disabled by default for security considerations.
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 ".
Improper identity authentication configuration
Problem 3: Incorrect identity authentication configuration
Symptom example:
HTTP error 401.2-Unauthorized: access is denied due to server configuration.
Cause Analysis: IIS supports the following Web authentication methods:
Anonymous authentication
IIS creates an IUSR _ computer name account (where the computer name is the name of the server running IIS) to authenticate anonymous users when they request Web content. This account grants the user local logon permission. You can reset anonymous user access to any valid Windows account.
Basic authentication
You can use basic authentication to restrict access to files on an NTFS-format Web server. To use basic authentication, you must enter creden。 and access is based on the user ID. Both the user ID and password are sent between networks in plain text.
Windows integrated authentication
Windows integrated identity authentication is safer than basic identity authentication, and plays a role well in the intranet environment where the user has a Windows domain account. In Integrated Windows Authentication, the browser attempts to use the creden used by the current user during domain login. If the attempt fails, the browser prompts the user to enter the user name and password. If you use Integrated Windows Authentication, your password will not be transferred to the server. If the user logs on to the local computer as a domain user, the user does not have to perform authentication again when accessing the network computer in this domain.

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.