I have an event receiver in SharePoint and this needs to communicate with Dynamics CRM 2013. It basically checks that user owns the record and if it doesn't creates a task for the record owner.

The problem is that it times out on instantiation of OrganizationServiceProxy, basically on this line:

 var service = new OrganizationServiceProxy(url, null, creds, null);

I have checked using various browsers that I can get to the Dynamics CRM server, so this is definitely not a problem with networks/firewall.

It seems as if the remote call is being blocked, but blocked by what? I'm guessing some sort of setting on Sharepoint but I don't really know

Anybody knows how to sort this out?

1 Answer 1


Is the url to dynamics ssl (https)? If so, make sure you have all of the certs in the certification path of the ssl certificate for the dynamics url loaded into the SharePoint trust center.

  • it is, but they both (SharePoint and Dynamics) use the same, wildcard, certificate. I'll try hitting the dynamics http instead thanks Mar 20, 2015 at 7:09
  • 1
    tried with http and it works with http so i'll add the certs to SP trust centre and try Mar 20, 2015 at 10:06
  • Yea, it doesn't matter. I've always had to add the cert path to my own SP cert for certain loopback requests to work correctly. Mar 20, 2015 at 12:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.