简体   繁体   English

无法从Sharepoint 2013连接到Dynamics CRM 2013

[英]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. 我在SharePoint中有一个事件接收器,它需要与Dynamics CRM 2013进行通信。它基本上是检查用户是否拥有记录,以及是否没有为记录所有者创建任务。

The problem is that it times out on instantiation of OrganizationServiceProxy, basically on this line: 问题在于,它在OrganizationServiceProxy的实例化上超时,基本上在这一行上:

 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. 我已经检查过使用各种浏览器都可以访问Dynamics CRM服务器,因此,这对于网络/防火墙绝对不是问题。

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 我想在Sharepoint上进行某种设置,但我真的不知道

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 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. 确保在ssl证书的证书路径中具有用于加载到SharePoint信任中心的动态URL的所有证书。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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