Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Error using CrmSvcUtil 9.0.0.9154 for On Premise

Posted on by Microsoft Employee

I've spent the last two years with CRM Online clients and was surprised that for On Premise, the CrmSvcUtil didn't just work the way it did the last time I used it (for CRM 2013 on premise).  It seems to think I want a dynamics.com product, even though I have tried both an intranet site (http://site:8888/org/....) as well as an internet facing site URL.  I've looked around to see if anyone has solved this; and although I find several people reporting the error, the cause is usually C# related and involves coding around the issue.  (In case it comes up, I would prefer to get this tool working rather than turn to XrmToolBox.)

Thank you,

Mike

Error log for the application shows:

Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error: 2 : Exception while trying to connect Discovery Server, (North America) URI is = disco.crm.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error: 2 : Exception while trying to connect Discovery Server, (Europe, Middle East and Africa) URI is = disco.crm4.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error: 2 : Exception while trying to connect Discovery Server, (Asia Pacific Area) URI is = disco.crm5.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error: 2 : Exception while trying to connect Discovery Server, (South America) URI is = disco.crm2.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error: 2 : Exception while trying to connect Discovery Server, (Oceania) URI is = disco.crm6.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error: 2 : Exception while trying to connect Discovery Server, (Japan) URI is = disco.crm7.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error: 2 : Exception while trying to connect Discovery Server, (North America 2) URI is = disco.crm9.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error: 2 : Exception while trying to connect Discovery Server, (Canada) URI is = disco.crm3.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error: 2 : Exception while trying to connect Discovery Server, (India) URI is = disco.crm8.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error: 2 : Exception while trying to connect Discovery Server, (North America) URI is = disco.crm.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error: 2 : Exception while trying to connect Discovery Server, (Europe, Middle East and Africa) URI is = disco.crm4.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error: 2 : Exception while trying to connect Discovery Server, (Asia Pacific Area) URI is = disco.crm5.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error: 2 : Exception while trying to connect Discovery Server, (South America) URI is = disco.crm2.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error: 2 : Exception while trying to connect Discovery Server, (Oceania) URI is = disco.crm6.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error: 2 : Exception while trying to connect Discovery Server, (Japan) URI is = disco.crm7.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error: 2 : Exception while trying to connect Discovery Server, (North America 2) URI is = disco.crm9.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error: 2 : Exception while trying to connect Discovery Server, (Canada) URI is = disco.crm3.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error: 2 : Exception while trying to connect Discovery Server, (India) URI is = disco.crm8.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error: 2 : Exception while trying to connect Discovery Server, (Germany) URI is = disco.crm.microsoftdynamics.de/.../Discovery.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error: 2 : Exception while trying to connect Discovery Server, (United Kingdom) URI is = disco.crm11.dynamics.com/.../Discovery.svc
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error: 2 : No Organizations Found, Searched online. Region Setting =
Microsoft.Xrm.Tooling.Connector.CrmServiceClient Error: 2 : Unable to Login to Dynamics CRM
CrmSvcUtil Error: 2 : Exiting program with exit code 2 due to exception : System.Exception: Connection to CRM is not established. Aborting process.
at Microsoft.Crm.Services.Utility.SdkMetadataProviderService.LoadMetadata(IServiceProvider service)
at Microsoft.Crm.Services.Utility.CrmSvcUtil.Run()
at Microsoft.Crm.Services.Utility.CrmSvcUtil.Main(String[] args)
CrmSvcUtil Error: 2 : ===== DETAIL ======
CrmSvcUtil Error: 2 : Source : CrmSvcUtil
Method : LoadMetadata
Date : 11:56:09 AM
Time : 12/13/2017
Error : Connection to CRM is not established. Aborting process.
Stack Trace : at Microsoft.Crm.Services.Utility.SdkMetadataProviderService.LoadMetadata(IServiceProvider service)
at Microsoft.Crm.Services.Utility.CrmSvcUtil.Run()
at Microsoft.Crm.Services.Utility.CrmSvcUtil.Main(String[] args)
======================================================================================================================

*This post is locked for comments

  • RE: Error using CrmSvcUtil 9.0.0.9154 for On Premise

    Try once with same version of sdk (download it from internet).This might help to resolve the issue of compatibility.

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error using CrmSvcUtil 9.0.0.9154 for On Premise

    Although I would love a real answer, I used NuGet to get the 7.0 version of the tool.  Same input string (copy&paste from notepad++), and in 7.0 of CrmSvcUtil, I get a working output.

  • RE: Error using CrmSvcUtil 9.0.0.9154 for On Premise

    I would recommend to download the same SDK version as per your On Premise CRM version .Please let me know if this solves the issue

  • Guido Preite Profile Picture
    Guido Preite 54,081 Super User 2024 Season 1 on at
    RE: Error using CrmSvcUtil 9.0.0.9154 for On Premise

    use the Early Bound Generator that is available as plugin inside XrmToolBox

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans