[Collection] Summary of frequently asked questions about server/vps/cloud server win2003 system sites

888u

Last update at :2023-12-12,Edit by888u

Although Microsoft will stop updating Windows 2003 soon, the blogger believes that there are still many partners who love version 03, just like they loved the xp series back then! After all, it has been around for a long time and I have become accustomed to it. If there are too many changes at once, it will still take some time to adapt! Besides, the latest version of the system may have some problems, and it is not convenient to solve them! A mature system makes it easy to collect answers even if problems arise! Now let’s summarize the common problems of server/vps/cloud server in win2003 system site!

Problem 1: Parent path not enabled

Examples of symptoms:
Server.MapPath() error ASP 0175: 80004005
Path characters not allowed
/0709/dqyllhsub/news/OpenDatabase.asp, line 4
The characters .. are not allowed in the Path parameter of MapPath.

Cause analysis:
Many Web pages use statements such as ../ format (that is, returning to the previous page, that is, the parent path). However, for security reasons in IIS6.0, this option is turned off by default.

Solution:
In IIS Properties->Home Directory->Configuration->Options. Check the box next to "Enable parent paths". Confirm refresh.

Problem 2: Improper configuration of ASP's Web extension (also applicable to ASP.NET and CGI)

Examples of symptoms:
HTTP Error 404 – File or directory not found.

Cause analysis:
In IIS6.0, there is a new option of web program extension, in which you can allow or disable programs such as ASP, ASP.NET, CGI, IDC, etc. By default, ASP and other programs are prohibited.

Solution:
Select Active Server Pages in the Web service extension in IIS and click "Allow".

Question 3: The IUSR account is disabled

Examples of symptoms:
HTTP Error 401.1 – Unauthorized: Access denied due to invalid credentials.

Cause analysis:
Since the account used by users for anonymous access is IUSR_machine name, if this account is disabled, the user will be unable to access.

Solution:
Control Panel->Administrative Tools->Computer Management->Local Users and Groups, enable the IUSR_machine name account.

Problem 4: Improper NTFS permission settings

Examples of symptoms:
HTTP Error 401.3 – Unauthorized: Access is denied due to the ACL set on the requested resource.

Cause analysis:
The user of the web client belongs to the user group. Therefore, if the NTFS permissions of the file are insufficient (for example, there is no read permission), the page will be inaccessible.

Solution:
Go to the security tab of the folder and configure the user's permissions, at least give read permission. I won’t go into details about NTFS permission settings here.
Question 5: MIME setting problems prevent certain types of files from being downloaded (taking ISO as an example)

Examples of symptoms:
HTTP Error 404 – File or directory not found.

Cause analysis:
IIS6.0 canceled support for some MIME types, such as ISO, causing client download errors.

Solution:
In IIS Properties->HTTP Header->MIME Type->New. In the subsequent dialog box, fill in the extension .ISO and the MIME type application.

The above are all collected from the Internet. If there are others, we will add them in the future!

Reprinted from: http://www.vpszn.com/1378.html

Recommended site search: asp.net host, free domain name, icp registration query network, independent ip, domain name registration center, European server, hosting space, domain name query, me domain name registration virtual host rental

[Collection] Summary of frequently asked questions about server/vps/cloud server win2003 system sites

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码