web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

CRM Server 2016 install error: Action Microsoft.Crm.Setup.Shared.RemoveOrphaned ProductUpdateRegistryKeysAction failed. Data ProductInfo.ExistingProductCode is not available.

(0) ShareShare
ReportReport
Posted on by 12

I am installing the CRM Server 2016 and I am geting this error:

Action

Microsoft.Crm.Setup.Shared.RemoveOrphanedProductUpdateRegistryKeysAction failed.  Data ProductInfo.ExistingProductCode is not available.

Environment:

Full Server install on a single VM

Windows Server 2012 R2 Standard

SQL Server 2014 

Connect in Internet CRM 2016 install update is possible

Please help me!

URGENCE5658.CRM.PNG

I have the same question (0)
  • Suggested answer
    Jamilur Profile Picture
    5 on at

    You MUST install SQL 2008 Native Client!

    www.microsoft.com/.../details.aspx

    Download sqlncli.msi (7.8MB) and Install

  • Halson Profile Picture
    7 on at
    Hi there,
     
    Did the error dissappear after installing sql 2008 native client? We have thr same problem. Any suggestions please?
  • Suggested answer
    Community member Profile Picture
    14 on at
    We experienced the same error and our fix was installing the 2008 R2 SP3 SQL Native Client.
     
  • Suggested answer
    Community member Profile Picture
    2 on at
    The Microsoft.Crm.Setup.Shared.RemoveOrphanedProductUpdateRegistryKeysAction occurs during the rollback of the install, so if you're at this point you've already failed to install and now an error is occurring during the uninstall.
     
    The error during install can be caused by various things - some posters on this thread have mentioned that for them they were missing or required a newer version of sqlncli10.dll
     
    For me, the error was found in the logs here, notice that it stops executing Install actions and starts executing Uninstall actions
     
    23:01:49|   Info| CrmAction execution time; MsiInstallServerAction; 00:00:40.1565203
    23:01:49|   Info| Executing Install action: Microsoft.Crm.Setup.Server.LoadPlatformLibrariesAction
    23:01:49|   Info| CrmAction execution time; LoadPlatformLibrariesAction; 00:00:00.0937502
    23:01:49|  Error| Installer Complete: ServerMsiInstaller - Error encountered
    23:01:49|Warning| Error reported while configuring _Files. Attempting rollback
    23:01:49|   Info| ServerMsiInstaller: Beginning uninstall operation
    23:01:49|   Info| Executing Uninstall action: Microsoft.Crm.Setup.Server.UnregisterRoleAction
     
    Decompiling Microsoft.Crm.Setup.Server shows that this calls RegControl.LoadLibrariesServer() which is in Microsoft.Crm.Core
    Decompiling Microsoft.Crm.Core shows that it tries to load 
          "Bin\CRMErrors.dll",
          "Bin\CRMCore.dll",
          "Bin\CrmOfflineSync.dll",
          "Bin\CRMWatson.dll",
          "Bin\sqmapi.dll",
          "Bin\osafehtm.dll"
    From the install directory as found in registry key "HKLM\SOFTWARE\Microsoft\MSCRM" .... by default "C:\Program Files\Microsoft Dynamics CRM"
     
    From there, it's over to PROCMON.exe to find out where it's failing.
     
    PROCMON shows that when loaded, both CRMCore.dll and CRMWatson.dll are failing to load MSVCP120.dll
     
    Installing Visual C++ Redistributable Packages for Visual Studio 2013 resolved this error for me: Download Visual C++ Redistributable Packages for Visual Studio 2013 from Official Microsoft Download Center
     
     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 83 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

#3
#ManoVerse Profile Picture

#ManoVerse 40

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans