Hello,
on windows 2008r2 server with iis7 we are hosting WCF service. Client is a .NETwinforms application.
Authentication is set in web.config to windows <authentication mode="Windows" />. Application pool is running under domain account.
Clients are autheticated using their domain accounts, server handles these accounts and send informations back to client based on this accounts and their application permissons.
Everything is working, but sometimes the client gets wcf exception with code 500. Count of this error is from 3 to 10 per day. The application pool is not in iddle, because the iis log says, the requests and response are before and after handled without
problems with status 200.
Tried the failed request tracing, where the error 500 is saved to xml file.
| | | | |
---|
80. | view trace | Warning | -MODULE_SET_RESPONSE_ERROR_STATUS <div class="hidden" id="section_errors_80_details" style="display: block;">ModuleName | ServiceModel |
---|
Notification | 2 |
---|
HttpStatus | 500 |
---|
HttpReason | Internal Server Error |
---|
HttpSubStatus | 0 |
---|
ErrorCode | 0 |
---|
ConfigExceptionInfo | |
---|
Notification | AUTHENTICATE_REQUEST |
---|
ErrorCode | The operation completed successfully. (0x0) |
---|
</div> | ServiceModel |
In compact view there is a detail of the warning causing the error with event name "MODULE_SET_RESPONSE_ERROR_STATUSWarning" and detail:
"ModuleName="ServiceModel", Notification="AUTHENTICATE_REQUEST", HttpStatus="500", HttpReason="Internal Server Error", HttpSubStatus="0", ErrorCode="The operation completed successfully.
(0x0)", ConfigExceptionInfo=""
"
How can I detect what exactly is wrong, or where to look, what to do next to detect the problem?
The strange thing is, it is not happening every time...sometimes. The application is working, but sometimes the server returns 500.
Thank you very much form any help.
Marian