Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

CrmSvcUtil wsdl error

Posted on by Microsoft Employee
wsdl version is 10 but getting below error when running CrmSvcUtil to generate classes and service context. Metadata contains reference that cannot be resolved 2011/Organization.svc?wsdl&sdkversion=9
  • Charles Abi Khirs Profile Picture
    Charles Abi Khirs 3,569 on at
    RE: CrmSvcUtil wsdl error

    Hello,

    Can you please use the XrmToolBox (https://www.xrmtoolbox.com/) with the Early Bound Generator and put a screen shot of the configuration and result?

    In addition what is the CRM version?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: CrmSvcUtil wsdl error

    5518.CRMSvcUtil-Error.png

    this worked one time without the context stuff, but not since.  Now won't even work without context.

  • Charles Abi Khirs Profile Picture
    Charles Abi Khirs 3,569 on at
    RE: CrmSvcUtil wsdl error

    Can you please put a screen shot of the error and the configuration of the tool/plugin?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: CrmSvcUtil wsdl error

    Both excellent suggestions.  The CRM dll is the same as the environment.  Tried the plugin route from XRM Toolbox, which I admit I had not considered, but so far no luck, still playing with that a bit.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: CrmSvcUtil wsdl error

    Thanks for your response. Have been through the link above pretty thoroughly and yes I can get to the WSDL.  

  • Mayank Pujara Profile Picture
    Mayank Pujara 830 on at
    RE: CrmSvcUtil wsdl error

    this error means your PC/laptop can not reach to relevant organization.. refer below article for example commands for this..

    docs.microsoft.com/.../create-early-bound-entity-classes-code-generation-tool

    I suggest first check if you can reach to WSDL in the browser by putting following link  (replace your org name, port number , http/https based on your current environment)

    myorg.crm.com:555/.../Organization.svc

  • Suggested answer
    Charles Abi Khirs Profile Picture
    Charles Abi Khirs 3,569 on at
    RE: CrmSvcUtil wsdl error

    Hello,

    Make sure the CRM DLL used by the tool is the same as the CRM environment you are connecting to generate the entities and service context.

    Why don't you try the XrmToolbox and use the EarlyBoundGenerator plugin in it.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: CrmSvcUtil wsdl error

    How to fix

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: CrmSvcUtil wsdl error

    url does return a wsdl when I plug it in the browser

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans