0

Connecting to outside Web Services from Dynamics CRM 2011 online works from a US instance, however the exact same code does not work from an instance in the Singapore (Data centre for Australia where my clients and our company are located):

BasicHttpBinding binding = new BasicHttpBinding();
EndpointAddress address = new EndpointAddress("http://my.domain.com/webservice");
DataService1 client = new DataService1(binding, address);
client.RunMethod();

On a non-US instance this code returns the following error:

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

Has anyone been able to do anything similar from a non US instance of CRM2011 Online?

4

2 に答える 2

0

この問題は、このフォーラムスレッドで参照されているように、数か月前に修正されました:http ://social.microsoft.com/Forums/en-US/crmdevelopment/thread/41c0e19b-ada9-42ce-8ca9-dd83538a356e/

私はこれを自分でテストすることに成功し、それが真実であることがわかりました。

于 2012-04-19T03:34:29.730 に答える
0

The code example here should solve your issue. 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

于 2011-05-27T04:28:25.863 に答える