Skip to primary content
Skip to secondary content

Passion Dynamics

Microsoft Power Platform & Azure blog by Rawish Kumar

Passion Dynamics

Main menu

  • Home
  • About Me
  • Contact

Tag Archives: Internal server error

Microsoft Dynamics CRM 365 SDK tools issues

Posted on April 9, 2018 by Rawish Kumar Prajapati
Reply

Lately Issues with connecting to dynamics CRM 365 online using Plugin Registration, Migration utitlity , package deployer tool etc have been faced by many. Below common issues are faced by people:

  1. metadata contains a reference that cannot be resolved at (……)
  2. once you login , it does connects to the org but nothing happens. no error.
  3. Internal server error.

Capture

the quick and easy resolution the above issues is to get the latest versions of all these tools from nuget manager by using powershell or visiting http://xrm.tools/ and not the one which is available under microsoft downloads.

Download tools using PowerShell

  1. In your Windows Start menu, type Windows Powershell and open it.
  2. Navigate to the folder you want to install the tools to. For example if you want to install them in a devtools folder on your D drive, type cd D:\devtools.
  3. Copy and paste the following PowerShell script into the PowerShell window and press Enter.
    $sourceNugetExe = "https://dist.nuget.org/win-x86-commandline/latest/nuget.exe"
    $targetNugetExe = ".\nuget.exe"
    Remove-Item .\Tools -Force -Recurse -ErrorAction Ignore
    Invoke-WebRequest $sourceNugetExe -OutFile $targetNugetExe
    Set-Alias nuget $targetNugetExe -Scope Global -Verbose
    
    ##
    ##Download Plugin Registration Tool
    ##
    ./nuget install Microsoft.CrmSdk.XrmTooling.PluginRegistrationTool -O .\Tools
    md .\Tools\PluginRegistration
    $prtFolder = Get-ChildItem ./Tools | Where-Object {$_.Name -match 'Microsoft.CrmSdk.XrmTooling.PluginRegistrationTool.'}
    move .\Tools\$prtFolder\tools\*.* .\Tools\PluginRegistration
    Remove-Item .\Tools\$prtFolder -Force -Recurse
    
    ##
    ##Download CoreTools
    ##
    ./nuget install Microsoft.CrmSdk.CoreTools -O .\Tools
    md .\Tools\CoreTools
    $coreToolsFolder = Get-ChildItem ./Tools | Where-Object {$_.Name -match 'Microsoft.CrmSdk.CoreTools.'}
    move .\Tools\$coreToolsFolder\content\bin\coretools\*.* .\Tools\CoreTools
    Remove-Item .\Tools\$coreToolsFolder -Force -Recurse
    
    ##
    ##Download Configuration Migration
    ##
    ./nuget install Microsoft.CrmSdk.XrmTooling.ConfigurationMigration.Wpf -O .\Tools
    md .\Tools\ConfigurationMigration
    $configMigFolder = Get-ChildItem ./Tools | Where-Object {$_.Name -match 'Microsoft.CrmSdk.XrmTooling.ConfigurationMigration.Wpf.'}
    move .\Tools\$configMigFolder\tools\*.* .\Tools\ConfigurationMigration
    Remove-Item .\Tools\$configMigFolder -Force -Recurse
    
    ##
    ##Download Package Deployer 
    ##
    ./nuget install Microsoft.CrmSdk.XrmTooling.PackageDeployment.WPF -O .\Tools
    md .\Tools\PackageDeployment
    $pdFolder = Get-ChildItem ./Tools | Where-Object {$_.Name -match 'Microsoft.CrmSdk.XrmTooling.PackageDeployment.Wpf.'}
    move .\Tools\$pdFolder\tools\*.* .\Tools\PackageDeployment
    Remove-Item .\Tools\$pdFolder -Force -Recurse
    
    ##
    ##Remove NuGet.exe
    ##
    Remove-Item nuget.exe
  1. You will find the tools in the following folders:
  • [Your folder]\Tools\ConfigurationMigration
  • [Your folder]\Tools\CoreTools
  • [Your folder]\Tools\PackageDeployment
  • [Your folder]\Tools\PluginRegistration

i hope this helps!

Share this:

  • Twitter
  • Facebook

Like this:

Like Loading...
Posted in Dynamics CRM 365 Online | Tagged Author:Rawish, Internal server error, metadata contains a reference that cannot be resolved at, Microsoft Dynamics CRM, Microsoft Dynamics CRM 365 SDK tools issues, not able to connect to dynamics crm online using plugin registration tool | Leave a reply
Follow Passion Dynamics on WordPress.com

I'm not an expert; I'm learning!

Top Posts & Pages

  • How to insert dynamic values from custom entities in an email template - Microsoft Dynamics CRM
  • Register Dynamics CRM App With Azure for OAuth 2.0 Authentication
  • White Paper - Migrate Microsoft Dynamics CRM 2016 On-Premises to CRM 365 Online v9
  • Color Subgrid in Microsoft Dynamics CRM 365
  • Lock all fields on a form using Javascript- Microsoft Dynamics CRM
  • Alternate Keys
  • Audit History
  • Business Rules
  • Calculated & Rollup Fields
  • Certifications
  • CRM Code Helpers
  • CRM WebApi/Javascript
  • Data Migration
  • Deployment
  • Dynamics 365 For Marketing
  • Dynamics CRM 365 Online
  • Dynamics Portal
  • Microsoft Dynamics CRM Emails
  • Microsoft Dynamics CRM Reporting
  • Microsoft Dynamics CRM SDK
  • Microsoft Dynamics CRM Services
  • Microsoft Dynamics CRM Solutions
  • Reblogged
  • Uncategorized
  • Unified Service Desk for Dynamics CRM
  • Voice Of Customer
  1. Maheshwar on Enable Custom Entities For Marketing Segment Dynamic QueryApril 4, 2022

    Hi Rawish Kumar , thank you for explaining how to add related entities in segments. I am unable to add…

  2. Amritha on How to insert dynamic values from custom entities in an email template – Microsoft Dynamics CRMMarch 18, 2022

    Can we add attributes from custom entities into a marketing email template?

  3. George Rizza on How to insert dynamic values from custom entities in an email template – Microsoft Dynamics CRMNovember 4, 2021

    This is the best I have seen but I am still not clear on the format for the lookup value.…

  4. Michelle on Enable Custom Entities For Marketing Segment Dynamic QuerySeptember 10, 2021

    Do you need to have a Customer Insights license in order to turn this feature on?

  5. How to use JavaScript to fill parent lookup on form in Dynamics 365 CRM on-premise? - Tutorial Guruji on Get lookup value from other entity and set it on the form using Web API in Microsoft Dynamics CRM 2016April 9, 2021

    […] What you need is, a Javascript function to trigger on change of first lookup to query necessary fields from…

Create a website or blog at WordPress.com
  • Follow Following
    • Passion Dynamics
    • Join 42 other followers
    • Already have a WordPress.com account? Log in now.
    • Passion Dynamics
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...
 

    %d bloggers like this: