Skip to main content

Notifications

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

  • Community Member Profile Picture
    on at
    RE: 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.

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

  • Suggested answer
    Temmy Wahyu Raharjo Profile Picture
    2,914 on at
    RE: 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.

    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.

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 54

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans