web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

An error occurred while making the HTTP request to https://abc.api.crm6.dynamics.com/XRMServices/2011/Organization.svc This could be due to the fact that the server certificate is not configured properly with HTTP.SYS in the HTTPS case.

(0) ShareShare
ReportReport
Posted on by

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

I have the same question (0)
  • Suggested answer
    Temmy Wahyu Raharjo Profile Picture
    2,916 on at

    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.

  • Community Member Profile Picture
    on at

    @Temmy.. the link which you had shared is not working

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans