一、降错误发送到浏览器 默认为false,修改为true
有错误时提示 : An error occurred on the server when processing the URL. Please contact the ……
设置为 true 后,系统将提示具体的错误信息。
二、启用父路径 默认为false,修改为true
否者程序中获取路径时可能会报如下错:
Server.MapPath() 错误 'ASP 0175:80004005'

本文介绍了如何通过调整服务器配置来解决常见的服务器错误问题,包括设置错误显示为真以获取详细错误信息,以及启用父路径避免Server.MapPath()错误。
一、降错误发送到浏览器 默认为false,修改为true
有错误时提示 : An error occurred on the server when processing the URL. Please contact the ……
设置为 true 后,系统将提示具体的错误信息。
二、启用父路径 默认为false,修改为true
否者程序中获取路径时可能会报如下错:

246

被折叠的 条评论
为什么被折叠?
