Click here to Skip to main content
15,506,209 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi ,

I am getting the below exception when I am trying to ping another PC from my WCF application.
Could you please let me know any ideas/suggestions on how to resolve this issue.

An exception of type 'System.ServiceModel.FaultException`1' occurred in GlobalWcfService.dll but was not handled in user code

Additional information: remotePingServer OXF (INHYZDPC23 ): The client's security session did not receive a 'close response' 
message from the service within the configured timeout (00:01:00).

Updated 20-Jul-15 0:35am
Kornfeld Eliyahu Peter 20-Jul-15 5:51am    
You probably got an exception inside the WCF app...but it was swallowed by this one (which only means that your connection is failty)...
Turn IncludeExceptionDetailInFaults on to see the inner exception...
E.F. Nijboer 20-Jul-15 5:55am    
Check out the eventlog on the target machine (the system running the wcf service).
Member 3975629 20-Jul-15 7:48am    
I checked the Event logs in the target PC. it is as follows. can we infer anything from this.

Message : The request channel timed out while waiting for a reply after 00:00:59.9989999. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout.
Source : AVEVA.GlobalWcf.ServiceClient
E.F. Nijboer 20-Jul-15 8:04am    
Seems like the operation takes more than a minute to complete. You need to optimize it or increase the timeout (as needed) on both the server and client.
Member 3975629 21-Jul-15 9:17am    
I have increased the sendTimeout="00:59:00" to almost 1 hour. still it is hanging and give the above time out error. Could you please let me know how to resolve this or any tips for debugging.? Thanks,Sudhakar

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900