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

Announcements

No record found.

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans