如何跟踪我的Web服务抛出的IIS 500错误 [英] How can I trace IIS 500 errors thrown by my webservice

查看:126
本文介绍了如何跟踪我的Web服务抛出的IIS 500错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经部署了新版本的ASP.NET Web服务。当客户端调用此服务时,IIS日志文件会报告错误代码500。我自己(测试)可以使用该服务而没有任何错误。我在我的ASP.NET webservice中启用了错误记录,但是没有记录错误,这使我相信错误不是由我的代码引发的,而是在堆栈中的早期某处。我还检查了httperr1.log文件,但那里没有任何相关内容。

I have deployed a new version of an ASP.NET webservice. The IIS logfile reports an errorcode 500 when this service is being called by a client. My own (test) can use the service without any error. I have enabled errorlogging in my ASP.NET webservice, but no error is being logged, which leads me to believe the error is not thrown by my code, but somewhere 'earlier' in the stack. I have also examined the httperr1.log file but there's nothing relevant there.

问题,如何向IIS添加更多错误记录以调查错误?我无法访问客户端。

Question, how can I add more errorlogging to IIS to investigate the error? I have no access to the client.

[更新]我正在使用IIS6。我检查了事件日志,但没有发现任何内容。

[Updates] I'm using IIS6. I've checked the eventlog and found nothing there.

推荐答案

DebugDiag 2.0 是您在IIS6上使用的明确工具。

DebugDiag 2.0 from Microsoft is the definite tool you want to use if you are on IIS6.

这篇关于如何跟踪我的Web服务抛出的IIS 500错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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