从Dynamics CRM 2011 online连接到外部Web服务从美国实例工作,但是完全相同的代码不能从新加坡的实例工作(我的客户和我们公司所在的澳大利亚数据中心):
BasicHttpBinding binding = new BasicHttpBinding();
EndpointAddress address = new EndpointAddress("http://my.domain.com/webservice");
DataService1 client = new DataService1(binding, address);
client.RunMethod();在非US实例上,此代码返回以下错误:
System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault,
Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]:
System.Security.SecurityException: Microsoft Dynamics CRM has experienced an error.
Reference number for administrators or support: #2BEE9520有没有人能够在非美国的CRM2011 Online实例上做类似的事情?
发布于 2012-04-19 11:34:30
这个问题在几个月前被这个论坛的帖子所引用:http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/41c0e19b-ada9-42ce-8ca9-dd83538a356e/
我现在已经成功地测试了这一点,并发现这是真的。
发布于 2011-05-27 12:28:26
这里的代码示例应该可以解决您的问题。http://community.dynamics.com/product/crm/crmtechnical/b/crmgirishraja/archive/2011/03/22/crm-online-2011-web-services-soap-sample-now-ready-for-europe-amp-asia.aspx
https://stackoverflow.com/questions/6093252
复制相似问题