Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

CRM Online servers are not connection

$
0
0

Hi All,

I am trying to connect to Microsoft Dynamics CRM online servers using organization service(using SDK's) and trying to install sample data, but I am getting below error.

"An error occurred when processing the security tokens in the message."

This error is recently introduced, i could able to connect earlier without any issues.

Can any one please let me know any solution to resolve this error.

My code

using (_serviceProxy = newOrganizationServiceProxy(serverConfig.OrganizationUri, serverConfig.HomeRealmUri, serverConfig.Credentials, serverConfig.DeviceCredentials))

{

// This statement is required to enable early-bound type support.

_serviceProxy.EnableProxyTypes();

_serviceProxy.Timeout = newTimeSpan(0, 10, 0);

InstallSampleDataRequest request = newInstallSampleDataRequest();

InstallSampleDataResponse response = (InstallSampleDataResponse)_serviceProxy.Execute(request);

Console.WriteLine("Sample data installation started.");

LogFile("Sample data installation started.");

return VerifySampleDataInstalled(_serviceProxy, serverConfig, dr);

}

I am getting error in this line of code

InstallSampleDataResponse response = (InstallSampleDataResponse)_serviceProxy.Execute(request);


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>