Steps to access CRM 2011 online data using services.
C:\Users\aravinda.sheshadri\Desktop\ToolkitGestureDemo\sdk\bin\crmsvcutil.exe /codeCustomization:"Microsoft.Xrm.Client.CodeGeneration.CodeCustomization, Microsoft.Xrm.Client.CodeGeneration" /url:https://<>.crm5.dynamics.com/XRMServices/2011/Organization.svc /o:crm.cs /n:XXXCRM2011 /domain:<>.crm5.dynamics.com /u:<> /p:<>/serviceContextName:XXXcontext /di:116bohmbs2iupfaxp07bp5mhrp /dp:GYfG8LSo%_+3H2H+mpT~w=IG
On run this command, class will be generated containing all entities(context). Here, I have given context name as Accenture. So I can access all entities using Accenture name. While running this command, make sure that time in both server and local machine will be same(Time and Timezone).
Microsoft.XRM.sdkSystem.ServiceModel Microsoft.Crm.Sdk.Data.Services;System.Data.Services.Client;System.ServiceModel.Description;Microsoft.Xrm.Sdk;Microsoft.Xrm.Sdk.Client;Microsoft.Crm.Services.Utility;
Establishing connection with CRM 2011 on premise There is only one difference is that, here no need to pass device id credentials while creating proxy. Also instead of passing windows live credentials, we have to pass domain login id and password. Differences between online and on premise versions of CRM 2011.
Access CRM 2011 Online using Services
How to Get Data from EnterpriseLibrary 5.0
Apperciate for this article
Very helpful article.
Nice article. Thanks for sharing it.
Thanks Arvind. Nice to see authors like yourself writing on topics like CRM. Question: Should this move to Enterprise Development category?
I also wanted to access it... thanks for helping by sharing this information