Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Entities / Optionsets created with XrmToolBox corrupts connection with CrmServiceClient

Posted on by Microsoft Employee

So I lately posted 2 issues about being unable to connect to my Dynamics environment using CrmServiceClient. I created a new project and suddenly it seemed to work. However, after using the XrmToolBox to create my early-bound entities and optionsets (and adding the .cs classes to my project), the connection suddenly failed again. 

Anyone knows about this issue or are I simply importing the early-bound entites the wrong way? (installed the latest version of the XrmToolBox). 

*This post is locked for comments

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Entities / Optionsets created with XrmToolBox corrupts connection with CrmServiceClient

    Hi NicolasMous ,

    i usually work with sdk to create entities and optionset, and there is nothing bad with this approach.

    You can do two thing:

    1) report the error you receive

    2) try to remake the deploy over a new project, doing all operations progressively to know when the error come. So: do an operation then check connection, and so on.

    Hope it helps, and let me know if you solve.

    If you found the answer helpful, please mark as Verified 

    Join my network on LinkedIn      Follow me on Twitter 

    Thank You & Best Regards

    Francesco Picchi

    Microsoft Dynamics CRM Consultant, Bologna+Milano, ITALY

    Independent Contractor

    http://www.francescopicchi.com

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Entities / Optionsets created with XrmToolBox corrupts connection with CrmServiceClient

    Note: I switched to late binding my entities (which works).

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans