Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SocketConnection aborted error in WCF!

Status
Not open for further replies.

Antzz

Programmer
Jan 17, 2001
298
US
Hi All,
I have a WCF service hosted in windows and a thick client communicating with it.

I have been experiencing timeouts on certain calls as well as the following Warning in the event viewer:

Error invoking subscriber. Method = <Method Name>
Error details = System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ServiceModel.CommunicationObjectAbortedException: The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it has been Aborted

On activating tracing in the service, I found couple of more warnings and error messages:

1)Warning :: SocketConnection aborted
2)Warning :: Faulted System.ServiceModel.Channels.ServerReliableDuplexSessionChannel
3) Warning :: Faulted System.ServiceModel.Channels.ServiceChannel
4) Error :: Throwing an exception

I have tried changing the timeouts as well as the buffer size but I still get the same issue.

I have also researched around and have not found anything that solves this problem.

It would be great if you have any suggestions that I can try.

I am willing to post some code if you think this would help.

Thanks

R
 
Did not hear back on this one. Has anyone experienced a similar issue?

Thanks a lot for reading.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top