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 ".