IIS 7试图显示我的XML文档时,给我的错误500内部服务器错误 [英] IIS 7 gives me error 500 internal server error when trying to display my XML document

查看:112
本文介绍了IIS 7试图显示我的XML文档时,给我的错误500内部服务器错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是很奇怪的。我有我的服务器上的一块code运行发出的XML浏览器。当我使用我开发框访问该网页,我收到了500内部服务器错误页面。多种诊断尝试后,我RDPed到我的服务器,并试图利用其内部的Web浏览器。我能看到XML文档的罚款。在知道这个有没有关系我开发的浏览器,因为我都试过FF和IE浏览器,他们能够从镜像服务器查看相同的XML。这使我相信它可能是某种IIS 7的问题。在这里任何一个可以帮助?

This is quite strange. I have a piece of code running on my server that emits XML to the browser. When I use my dev box to access the page I get a "500 Internal Server Error" page. After numerous diagnostic attempts, I RDPed into my server and tried to use its internal web browser. I was able to see the xml document fine. In know this has nothing to do with my dev browser because I tried both FF and IE and they were able to view the same XML from a mirror server. This leads me to believe it may be some kind of IIS 7 issue. Can any one here help?

推荐答案

我找到了答案,我的问题。事实证明,我运行Windows 2008 R2和IIS版本有错误页面部分。默认情况下,错误响应设置为本地请求和远程请求的自定义错误页详细的错误。这是我无法监看远程XML文档的原因。我切换设置,详细的错误,它解决了这个问题。

I found the answer to my question. It turns out that I am running Windows 2008 R2 and its version of IIS has a error pages section. By default, the error responses are set to "Detailed error for local requests and custom error pages for remote requests." This was the reason I couldn't see the xml document remotely. I switched the setting to "Detailed errors" and it solved the problem.

您可以了解更多有关这在这里:
IIS7 - 启用自定义错误页

You can learn more about this here: IIS7 - Enabling Custom Error Pages

这篇关于IIS 7试图显示我的XML文档时,给我的错误500内部服务器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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