Win7 IIS7.5上部署Asp程序的两个问题

来源:互联网 发布:java 什么语言开发的 编辑:程序博客网 时间:2024/05/16 07:57

 一、降错误发送到浏览器 默认为false,修改为true

   有错误时提示 : An error occurred on the server when processing the URL. Please contact the ……

设置为 true  后,系统将提示具体的错误信息。


二、启用父路径 默认为false,修改为true

 否者程序中获取路径时可能会报如下错:

Server.MapPath() 错误 'ASP 0175:80004005' 





原创粉丝点击