zoukankan      html  css  js  c++  java
  • 报错误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.

    这个还是安全上一个选项

  • 相关阅读:
    a 超链接标签
    select(下拉标签和textarea(文本框)
    input标签
    input 标签
    div 标签
    body 标签
    STL__网上资料
    STL_iterator返回值
    STL_算法_中使用的函数对象
    STL_std::iterator
  • 原文地址:https://www.cnblogs.com/lyrix/p/18619.html
Copyright © 2011-2022 走看看