zoukankan      html  css  js  c++  java
  • 用 #inculde file = "../fiel" 报1031错误

    今天把Project Server 2002升级到Project 2003, 运行我们自己改写的通过SharePoint Portal Server的验证程序,页面报告如下错误:
    Active Server Pages, ASP 0131 (0x80004005)
    The Include file '../Library/sig2.asp' cannot contain '..' to indicate the parent directory.


    百思不得其解,后来仔细查了一下资料后发现:
    In a secure environment, the AspEnableParentPaths property should be set to False
    Disabling ASP Parent Paths will only affect the execution of dynamic content on .asp pages. This does not affect the server's ability to reference static content using HTML code (whether it is called from .htm, .html or .asp files).

    解决办法:
    Open the Internet Services Manager in the Microsoft Management Console (MMC).
    Right-click on your Default Web Site and select Properties.
    Click the Home Directory tab.
    Click the Configuration button.
    Click the App Options tab.
    Click to select the Enable Parent Paths checkbox.
    Click the OK button until you return to the MMC.

    这个看来还是安全上的设置

  • 相关阅读:
    Swagger3.X和2.X—从入门到实战
    Java工具—Lombok
    使用Java伪造测试数据
    URL
    Java 16个超级实用的工具类
    Redis一篇从入门到实战
    MongoDB一篇从入门到实战
    admin后台管理
    auth模块
    day12_01闭包函数
  • 原文地址:https://www.cnblogs.com/lyrix/p/18620.html
Copyright © 2011-2022 走看看