今天把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/18620.html

用 #inculde file = ../fiel 报1031错误相关推荐

  1. Oracle报错1031,dataguard 归档日志报1031错误的一次处理

    oracle rac dataguard 归档日志报1031错误  操作系统 red  hat5.4  oracle 10.2.0.5 rac日志报错如下 Tue Jun 21 15:33:16 CS ...

  2. php上传文件 报的错误 $_FILES[‘file’]['error']

    大家都知道,php上传文件后台报的错误$_FILES['file']['error'] 前台php程序为 <form id ="formFileUpload" name=&q ...

  3. 达梦dmfldr快速加载报col nums in data file is not enough错误

    这里写自定义目录标题 达梦dmfldr快速加载报col nums in data file is not enough错误 达梦dmfldr快速加载报col nums in data file is ...

  4. Tomcat启动正常,所有页面报404错误

    原 Tomcat正常启动,访问所有页面均报404异常,404异常总结 2013年03月21日 21:59:18 过顶擒龙 阅读数:49295更多 <div class="tags-bo ...

  5. mysql 1455_关于Oracle 11g导出数据时 报 ORA-1455错误的处理

    关于Oracle 11g导出数据时 报 ORA-1455错误的处理,由于导出的该用户的表可能存在空数据表,那么可能就会出现此其异常. 关于Oracle 11g导出数据时 报 ORA-1455错误的处理 ...

  6. Struts2中导入外部xml文件出现Included file cannot be found错误!

    Struts.xml 文件中导入外部xml文件,需要在Struts.xml文件中加入include元素. ch3.xml文件位于ch3目录中.ch3.xml是一个标准的Struts2配置文件 路径千万 ...

  7. “undefined reference to JNI_GetCreatedJavaVM”和“File format not recognized”错误原因分析...

    "undefined reference to JNI_GetCreatedJavaVM"和"File format not recognized"错误原因分析 ...

  8. oracle报12541错误,记录一次oracle无缘无故就无监听,报TNS-12541等错误的问题

    没人动服务器,无缘无故数据库连接挂了,直接报:TNS-12541: TNS: 无监听程序 TNS-12560: TNS: 协议适配器错误 TNS-00511: 无监听程序 以前遇到过两次,当时无力解决 ...

  9. linux语法错误 未预期的文件结尾,centos shell运行报语法错误: 未预期的文件结尾...

    shell脚本启动语法错误syntax error near unexpected token &#39;{ 执行shell脚本时失败,报语法错误,但脚本内容检查正常 原因为该脚本是在非Lin ...

最新文章

  1. python @的用法
  2. MIL for PRE
  3. cmake find_package路径详解
  4. npm run build失败
  5. Eureka学习笔记001--Eureka概念和源码分析
  6. php执行函数吗_php函数system
  7. python 菜鸟-Python3 面向对象
  8. navicat12简体中文专业版免费使用教程
  9. 睿思荐片--最好的电影,最全的排行
  10. php gd2扩展_PHP如何打开gd2扩展库
  11. 基于javaweb+jsp的在线书城书店系统(java+jdbc+Servlet+mysql)
  12. 牛客网C++开发面试经验汇总
  13. C++阶段03笔记03【文件操作(文本文件读写、二进制文件读写)】
  14. java商城答辩_毕业答辩-基于Java的网上购物商城的设计与实现.ppt
  15. python把PDF转换成图片
  16. 一次服务器硬盘损坏修复记录贴(顺便把服务器硬件信息都搞清楚了)
  17. 计算机视觉cv(1)
  18. OSChina 周六乱弹 ——你和顶级程序员只差一件……
  19. 无极-怎一个“烂”字了得?
  20. appdesigner灯控按钮以及开关按钮的使用

热门文章

  1. 如何在重装SAV10.1/SCS3.1服务器后继续管理原来的客户端
  2. android广告页白屏_Android 启动页面与广告页面的实现-Go语言中文社区
  3. php聊天室禁止提交,phpcms v9禁止提交信息到官网方法详解
  4. 上一次系统的关闭是意外的_教你如何一键极速重装系统
  5. python多进程通信manager_python中进程间数据通讯模块multiprocessing.Manager的介绍
  6. python pymysql用法_Python使用pymysql小技巧
  7. Centos/Linux在线环境下载安装包,到离线环境安装,并解决依赖问题
  8. python multiprocessing 保存与打印返回值
  9. sklearn 使用joblib保存模型,并解决cannot import name joblib from sklearn.externals报错
  10. php页面采集正则,PHP simple_html_dom.php+正则 采集文章代码