tag:blogger.com,1999:blog-5472436831307966815.post6478455811018554458..comments2024-03-20T00:30:07.883-06:00Comments on Daniel Cai's Blog: Step-by-step Walkthrough: Use CRM 2011 Organization (SOAP) Service from a Console ApplicationDaniel Caihttp://www.blogger.com/profile/05461949321689249420noreply@blogger.comBlogger18125tag:blogger.com,1999:blog-5472436831307966815.post-23531387683925572402014-04-30T18:46:28.062-06:002014-04-30T18:46:28.062-06:00What's the error message you got? To get the m...What's the error message you got? To get the most recent version of the toolkit, you should download and install CRM SDK. Daniel Caihttps://www.blogger.com/profile/05461949321689249420noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-24802086486509527572014-04-30T18:44:06.518-06:002014-04-30T18:44:06.518-06:00Yes, I am referring above error. If you have new c...Yes, I am referring above error. If you have new code for 2013, please let me know.<br /><br />Thank you for your replay.<br /><br />Thank you.<br />Anonymoushttps://www.blogger.com/profile/16474117385545263198noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-61616830313481828992014-04-30T18:25:41.719-06:002014-04-30T18:25:41.719-06:00Hi Hiren, are you referring to the above error (th...Hi Hiren, are you referring to the above error (that's been a long time, I don't recall that I got an email notification at the time) or you are talking about the newer version of the developer toolkit? Daniel Caihttps://www.blogger.com/profile/05461949321689249420noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-51892765604050267902014-04-30T17:57:14.924-06:002014-04-30T17:57:14.924-06:00Hi Daniel -
Any update on this?
Thank you.Hi Daniel -<br /><br />Any update on this?<br /><br />Thank you.Anonymoushttps://www.blogger.com/profile/16474117385545263198noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-4952068743653559112013-12-13T12:18:34.094-07:002013-12-13T12:18:34.094-07:00Hi Daniel -
Thank you for your replay
This accou...Hi Daniel -<br /><br />Thank you for your replay<br /><br />This account["name"] = "ABC Inc."; line throwing error. I have CRM 2011 and rollup 13.<br /><br /><br />private static Guid CreateCrmAccount(OrganizationServiceClient xrmServiceClient)<br /> {<br /> var account = new Entity<br /> {<br /> LogicalName = "account"<br /> };<br /><br /> <br /> account["name"] = "ABC Inc.";<br /> account["telephone1"] = "111-222-3333";<br /><br /> return xrmServiceClient.Create(account);<br /> }<br /><br />Anonymoushttps://www.blogger.com/profile/16474117385545263198noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-76665595660573167182013-12-13T11:25:59.472-07:002013-12-13T11:25:59.472-07:00Hi Hiren, do you know which line of code is throwi...Hi Hiren, do you know which line of code is throwing this error? Daniel Caihttps://www.blogger.com/profile/05461949321689249420noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-24614976384339557502013-12-13T11:06:27.589-07:002013-12-13T11:06:27.589-07:00Hi Daniel -
I am trying to use your code, but I a...Hi Daniel -<br /><br />I am trying to use your code, but I am getting error message <br /><br />System.NotImplementedException: the method or operation is not implemented.<br /><br />Please help me.<br /><br />Thank you.<br /><br />HirenAnonymoushttps://www.blogger.com/profile/16474117385545263198noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-4363030685354661012012-05-29T11:42:54.876-06:002012-05-29T11:42:54.876-06:00If that's the case, you may want to have a loo...If that's the case, you may want to have a look of sdk's sample project called wsdlbasedproxies under sdk\samplecode\cs\wsdlbasedproxies folder, which includes working code for IFD authentication.Daniel Caihttps://www.blogger.com/profile/05461949321689249420noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-84100958449826793712012-05-29T11:38:30.402-06:002012-05-29T11:38:30.402-06:00@Daniel Cai I am not using the SDK, i was saying i...@Daniel Cai I am not using the SDK, i was saying i can connect and retrieve the data from the CRM but my goal is to use only the web service to retrieve data from CRM <br />Sorry for the misunderstandingAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-18452108835932261592012-05-29T11:23:01.925-06:002012-05-29T11:23:01.925-06:00@nobee123, please let me know if I misunderstood y...@nobee123, please let me know if I misunderstood you in my previous response.Daniel Caihttps://www.blogger.com/profile/05461949321689249420noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-70310971589608465932012-05-29T11:21:34.073-06:002012-05-29T11:21:34.073-06:00@nobee123, if you are using SDK, your problem is n...@nobee123, if you are using SDK, your problem is not really relevant to this blog post. If that's the case, you may consider using CrmConnection class from Microsoft.Xrm.Client.dll assembly which simplifies instantiating CRM organization service proxy.Daniel Caihttps://www.blogger.com/profile/05461949321689249420noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-426508595752419992012-05-29T11:00:36.816-06:002012-05-29T11:00:36.816-06:00I have been having problem connecting to the HOSTE...I have been having problem connecting to the HOSTED CRM online 2011 with ADFS as authentication.<br />I have download and run your app but I got this error with FaultException was unhandled.<br />The error message happen when it try to execute "return xrmServiceClient.Create(account);"<br />and the message said "An error occurred when verifying security for the mesage."<br />I did some research, it is suggested that this is because of the time differences between the HOSTED CRM time and the client time. <br />Could this also be the fact that I am using ADFS as an authentication method?<br />However I was able to connect and retrieve data from HOSTED CRM when i used the SDK provided by Microsoft.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-1298844546191126392012-01-02T04:01:59.752-07:002012-01-02T04:01:59.752-07:00Hi
Nice blog and very informative.Good content....Hi<br /> Nice blog and very informative.Good content.Valuable information.thanks for sharing.<br /><a href="http://www.ecommerce-web-developers.com" rel="nofollow"> Ecommerce developer</a>sathyahttps://www.blogger.com/profile/09980458029073347461noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-71075333333822294782011-08-03T02:01:16.417-06:002011-08-03T02:01:16.417-06:00Thanks. I will try that.Thanks. I will try that.jonThttps://www.blogger.com/profile/09153223970045672896noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-2772228587536057862011-08-02T20:03:04.547-06:002011-08-02T20:03:04.547-06:00@Anonymous, not sure why that would happen to you....@Anonymous, not sure why that would happen to you. In fact, you don't necessarily need to update the service reference, since CRM 2011 service endpoint doesn't contain any customization-specific information like CRM 4 does. You can simply edit app.config file to point to your CRM server in order to run the code. <br /><br />Hope this helps. <br />DanielDaniel Caihttps://www.blogger.com/profile/05461949321689249420noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-68397942034585619182011-08-02T13:54:51.758-06:002011-08-02T13:54:51.758-06:00Nice tutorial. I tried your sample project and cha...Nice tutorial. I tried your sample project and change/update the 'CrmSdk' pointing to our CRM however getting the error below when trying to build the project. Would appreciate if you can guide us. Thank you.<br /><br />Warning 1<br />Custom tool warning: The following Policy Assertions were not Imported:<br /> XPath://wsdl:definitions[@targetNamespace='http://schemas.microsoft.com/xrm/2011/Contracts/Services']/wsdl:binding[@name='CustomBinding_IOrganizationService']<br /><br />.......Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-14658284408320931202011-07-27T09:25:43.006-06:002011-07-27T09:25:43.006-06:00The approach I am showing here is through CRM SOAP...The approach I am showing here is through CRM SOAP endpoint, which is fully supported. Whether CRM will create orphaned records depends on how the relationship was defined. In your case, I think you shouldn't need to worry. <br /><br />Cheers,<br />DanielDaniel Caihttps://www.blogger.com/profile/05461949321689249420noreply@blogger.comtag:blogger.com,1999:blog-5472436831307966815.post-58448343162302299942011-07-27T00:55:36.458-06:002011-07-27T00:55:36.458-06:00I'm new to MSCRM and just starting to learn. U...I'm new to MSCRM and just starting to learn. Using the sample codes above, if I apply this to lead and will execute DeleteCrmLead, will there be any issues if there are other entity associated to the deleted lead or let say activities or opportunity. What I'm asking, will it create some orphaned records?Anonymousnoreply@blogger.com