详细的 500 错误信息,ASP + IIS 7.5 [英] Detailed 500 error message, ASP + IIS 7.5

查看:39
本文介绍了详细的 500 错误信息,ASP + IIS 7.5的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

IIS 7.5、2008rc2、经典asp、500错误消息:

IIS 7.5 , 2008rc2, classic asp, 500 error msg:

页面无法显示,因为发生了内部服务器错误.

The page cannot be displayed because an internal server error has occurred.

我需要知道如何配置 IIS 以获得更详细的错误.
我已尝试将 ASP 配置中的所有调试选项设置为 true.
但这没有用.有人可以帮我吗?

I need to know how to configure IIS to get a more detailed error.
I've tried setting to true all of debugging options in the ASP configuration.
But that didn't work. Can anyone help me?

推荐答案

我遇到了同样的问题并以与 Alex K 相同的方式修复了.

I have come to the same problem and fixed the same way as Alex K.

因此,如果向浏览器发送错误"不起作用,请设置以下内容:

So if "Send Errors To Browser" is not working set also this:

错误页面 -> 500 -> 编辑功能设置 -> 详细错误"

Error Pages -> 500 -> Edit Feature Settings -> "Detailed Errors"

另请注意,如果发回的错误页面的内容很短并且您使用的是 IE,IE 会很乐意忽略服务器发回的有用内容,而是显示自己的通用错误页面.您可以在 IE 的选项中关闭此功能,或使用其他浏览器.

Also note that if the content of the error page sent back is quite short and you're using IE, IE will happily ignore the useful content sent back by the server and show you its own generic error page instead. You can turn this off in IE's options, or use a different browser.

这篇关于详细的 500 错误信息,ASP + IIS 7.5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆