In the windows 2003 server design asp code needs to pay attention to the local

  

in the windows 2003 server to write asp code, you may encounter the following error message "unallowed parent path", the code involved are:
Server.MapPath(../)
<!--#include file="../"-->
etc. Perhaps for security reasons, Microsoft blocked access to the parent path in the script, but this may cause trouble for our programming, especially when the original asp code is upgraded. Fortunately, this setting can be turned off, specifically in the following IIS Manager, right click on your virtual path, properties, virtual directory tab, click on the configuration button inside, "options" tab, there is a "Enable parent path", the front hook is OK

Happy programming



Copyright © Windows knowledge All Rights Reserved