IIS7中显示HTTP500错误怎么办?有什么解决办法呢?有客户反映他们在调试一个博客系统时遇到了http500错误,这是怎么回事呢?下面中国信息港就与大家一起来分享下在IIS7中出现HTTP500错误怎么办?
我们可以按照2003时的解决方法在IIS7里找到了相应的设置,具体操作如下:
一、打开IIS7的功能视图“ASP设置选项-调试属性”里“将详细错误发送到浏览器…
二、然后在“错误页”设置选项里,双击500那一行,再点文件按路径后面的“设置”。在跳出的对话框中将“相对文件路径”里的文件名改为“500-100.asp”,一路确定。
三、把IE7的Internet选项中,高级的那个“显示友好HTTP错误信息”的小勾勾去掉。这时候再调试ASP就会出现具体的错误,对修改很有帮助!我这个显示的是
“ActiveServerPages错误’ASP0131′
不允许的父路径
/Admin/index.asp,行1
包含文件’../Conn.asp’不能用’..’表示父目录。”
于是又是参照2003里开启父目录的方法设置IIS7,具体如下:
打开IIS7的功能视图“ASP设置选项-行为”里“启用父目录”后面改为“TRUE”再点右边的“应用”。
I simply want to mention I’m newbie to weblog and seriously liked your page. Very likely I’m want to bookmark your website . You definitely come with perfect stories. Thank you for sharing your web-site.
Whveoer wrote this, you know how to make a good article.
Gosh, I wish I would have had that information earielr!
Perfect answer! That raelly gets to the heart of it!
Always rfereshing to hear a rational answer.
You’re the one with the brinas here. I’m watching for your posts.
It’s great to read somtehnig that’s both enjoyable and provides pragmatisdc solutions.