WCF Connection faults at DataSet return values
i am working on an intranet application which should able to control sub-applications. As part of the application i want to read the logs of the sub-applications. the sub applications are keeping the connection alive by sending an alive signal every 15 minutes. so the channel is not closed - this works fine, for many days.
but when i want to get some logs of a sub-applikation, the channel faults. i do not know why the channel faults. i am using a nettcpbinding to connect the applications. the logs are transfered within a serializeable dataset.
can somebody give me开发者_如何学Go a hint why the channel faults? i have no idea anymore. i tried to reconfigure the whole stuff more than once now without getting a solution.
Thanks
Perhaps your dataset size is bigger than allowed? Btw you may use global error handler which is described in http://www.steverb.com/post/2008/11/24/Useful-WCF-Behaviors-IErrorHandler.aspx
Does your service have includeExceptionDetailInFaults set to true? This will give you more detail about the faults in the service.
On the server side, find your service behavior and make sure includeExceptionDetailsInFaults is set to true:
<serviceDebug includeExceptionDetailInFaults="True" />
This should at least let you see more information about the exception.
If you've already done this, then what are you getting in the InnerException coming back from the service?
精彩评论