Hi,
I am having a CRM 365 online account for my organisation and i am having one WCF windows service to communicate with CRM through sdk. I am facing one strange issue. The connection and data transfer to CRM using WCF service is happening fine but suddenly it stops working. Once I restart the service it again start working. This is happening almost everyday. When I checked my log files the only error which i can see is:
An error occurred while making the HTTP request to abc.api.crm6.dynamics.com/.../Organization.svc. This could be due to the fact that the server certificate is not configured properly with HTTP.SYS in the HTTPS case. This could also be caused by a mismatch of the security binding between the client and the server. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host.
Can anyone suggest me what can i do to fix this or what can be the possible reason behind this issue?
*This post is locked for comments
@Temmy.. the link which you had shared is not working
Hi, do you try using CrmServiceClient? msdn.microsoft.com/.../microsoft.xrm.tooling.connector.crmserviceclient.aspx;MSPPError=-2147217396
Try using this one and make sure useUniqueInstance = true.
Mohamed Amine Mahmoudi
83
Super User 2025 Season 1
Community Member
54
Victor Onyebuchi
6