views:

1496

answers:

4

Aloha

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 isbeing 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.

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

-Edoode

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

+1  A: 

Which version of IIS are you using?

In IIS7 you have extensive tracing capabilities.

Take a look at: Troubleshooting Failed Requests Using Tracing in IIS 7.0

muerte
+2  A: 

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

JohnW
A: 

In what format is your logfile? IIS format often contains error messages from a specific request while the default format doesn't.

svinto
I'm logging the default format for IIS, I'll check.
edosoft
A: 

First, if this 500 error happens rarely, you may ignore that. If this can be reproduced and happens frequently, we may consider other ways.

Lex Li