用 报错误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.

这个还是安全上一个选项

转载于:https://www.cnblogs.com/lyrix/archive/2004/06/25/18619.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值