简体   繁体   中英

Unable to connect to Dynamics CRM 2013 from Sharepoint 2013

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?

Solution can be found here:

https://sharepoint.stackexchange.com/questions/135723/cant-make-remote-requests-from-sharepoint-2013-event-receiver

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM