Today, the company has a customer warranty website that cannot be accessed in the background. I checked the source code and found that the ASP code itself has no problem. And I can go to the local to access. It is not possible to connect properly on the Internet, and the error is displayed:
Server.MapPath() Error 'ASP 0175 : 80004005'
The Path character is not allowed
/0709/dqyllhsub/news/OpenDatabase. Asp, line 4
does not allow characters in the Path parameter of MapPath '..'
The path inside the page is re-pointed with a Response.Redirect, the path to the client page is a relative path. The website domain address is omitted.
The main reason is that the IIS server does not open the parent path. Modify the method:
in the IIS Properties -> Home Directory -> Configuration -> option. Put a check mark in front of "Enable Parent Path". Confirm the refresh.
If the server provider does not open the parent path for security reasons, it is recommended to write the absolute path when the path is pointed to, ie the full address such as "http://45it.com/Article/UploadFiles_9354/201007 /20100718133954347.gif"
The default setting after IIS6.0 installation is, do not open the parent path.
----------------------------------------------< BR> If your website program uses the parent path, such as ../conn/db.asp, .. means the upper directory, you must open the parent path, otherwise the system can not recognize the parent path. Normal display
1. View the data disk before using the partition and formatted data disk, use the “df –h” comm
ASP provides powerful file system access, which can read, write, copy, delete, rename, etc. any file
Summarize the security settings of the VPSgtedit, select file to export, take a f
Everyone knows that IBM WebSphere Application Server is the Internets infrast
What do the rookie webmaster need to pay attention to when using the server
Solve the problem that ASP can't be updated, database or object is read-only.
Achieve Win2000 patch quick installation
Remote Desktop Connection Transfer File Graphic Tutorial
Authorization mode enabled by default on the server system causes shared access failure
Linux server cluster system implementation solution detailed analysis
Protect your account! Microsoft prohibits users from setting passwords that are easily guessed.
Windows Server system account password setting principle
How to modify the Win8 tile background
What should I do if the icon in the lower right corner of Win8.1 is automatically hidden?
Check the Internet time in Windows XP
Where is the qq music sign in? Mobile qq music sign-in sweepstakes Raiders
Win7 deletes the desktop right-click menu amd vision engine option method