locked
Installing roll up 5 for CRM 4.0 failed, please help RRS feed

  • Question

  • Our enviroment is 64-bit intel processer , Winows server 2008 R2 Datacenter, we have our MS CRM 4.0 and SQL server on separate virtual machine. I am trying to install roll up 5 and I am getting nowhere searching on the web. The following is the log file for the error I am getting , I try to install the file "CRMv4.0-KB970141-amd64-Server-ENU.exe"

    Has anyone been into this situation, Please help

     

     

    15:12:35|   Info| === Managed setup logging started: 12/22/2010 3:12:35 PM ===
    15:12:35|Verbose| Method entry: Microsoft.Crm.UpdateWrapper.UpdateSetup.Initialize
    15:12:35|Verbose| Method entry: Microsoft.Crm.Setup.Common.SetupBase.Initialize
    15:12:35|Verbose| Method exit: Microsoft.Crm.Setup.Common.SetupBase.Initialize
    15:12:35|Verbose| Method exit: Microsoft.Crm.UpdateWrapper.UpdateSetup.Initialize
    15:12:35|Verbose| Method entry: Microsoft.Crm.UpdateWrapper.UpdateSetup.Run
    15:12:35|Warning| The specified /config file config.xml won't be used
    15:12:35|Verbose| Method entry: Microsoft.Crm.Setup.Common.SetupBase.Run
    15:12:35|Verbose| Method exit: Microsoft.Crm.Setup.Common.SetupBase.Run
    15:12:35|Verbose| Method entry: Microsoft.Crm.UpdateWrapper.UpdateSetup.VerifyRequiredKBsAreInstalled
    15:12:35|Verbose| Method exit: Microsoft.Crm.UpdateWrapper.UpdateSetup.VerifyRequiredKBsAreInstalled
    15:12:36|   Info| Window Left: 200
    15:12:36|   Info| Window Top: 200
    15:12:43|   Info| InstallInfo.AdminTargetFolder:
    15:12:43|   Info| InstallInfo.AllowRun: True
    15:12:43|   Info| InstallInfo.CleanupRequired: False
    15:12:43|   Info| InstallInfo.ConfigFile: config.xml
    15:12:43|   Info| InstallInfo.CreateDatabase: True
    15:12:43|   Info| InstallInfo.CurrentFolder: c:\2f4049f92445b3c2c1d293477992360f
    15:12:43|   Info| InstallInfo.InstallAlways: False
    15:12:43|   Info| InstallInfo.InstallingPackage: c:\2f4049f92445b3c2c1d293477992360f\Server_amd64.msp
    15:12:43|   Info| InstallInfo.InstallType: Install
    15:12:43|   Info| InstallInfo.LocalPackage:
    15:12:43|   Info| InstallInfo.LogFile: C:\Users\CRMUser\AppData\Roaming\Microsoft\MSCRM\Logs\KB970141.log
    15:12:43|   Info| InstallInfo.PackageName: Server_amd64.msp
    15:12:43|   Info| InstallInfo.RebootRequired: False
    15:12:43|   Info| InstallInfo.SharedInstall: False
    15:12:43|   Info| InstallInfo.SourceFolder: c:\2f4049f92445b3c2c1d293477992360f
    15:12:43|   Info| InstallInfo.SuppressReboot: False
    15:12:43|   Info| InstallInfo.TargetFolder: C:\Windows\$CrmUninstallKB970141_Server$
    15:12:43|   Info| InstallInfo.UIMode: Full
    15:12:43|   Info| InstallInfo.UserCancel: False
    15:12:43|   Info| IpcInfo.NoLock: True
    15:12:43|   Info| ProductInfo.ExistingLanguage: 1033
    15:12:43|   Info| ProductInfo.ExistingProductCode: 59e60d5c-1763-49e9-bdd7-4019be02e522
    15:12:43|   Info| ProductInfo.ExistingVersion: 4.0.7333.3
    15:12:43|   Info| ProductInfo.InstallState: Local
    15:12:43|   Info| UpdateInstallInfo.Auto: False
    15:12:43|   Info| UpdateInstallInfo.Component: Server
    15:12:43|   Info| UpdateInstallInfo.ComponentInfo: Microsoft.Crm.UpdateWrapper.ServerInfo
    15:12:43|   Info| UpdateInstallInfo.DbHotfix: True
    15:12:43|   Info| UpdateInstallInfo.KBNumber: KB970141
    15:12:43|   Info| UpdateInstallInfo.LanguageID: 1033
    15:12:43|   Info| UpdateInstallInfo.PatchID: {854C070F-2D94-4358-888A-E5D288595005}
    15:12:43|   Info| UpdateInstallInfo.PublishReports: ConfigSet
    15:12:43|   Info| UpdateInstallInfo.ReleaseType: Update Rollup 5
    15:12:43|   Info| UpdateInstallInfo.Revision: 1644
    15:12:43|Verbose| Method entry: Microsoft.Crm.UpdateWrapper.UpdateSetup.Install| System.Collections.Hashtable
    15:12:43|Verbose| Method entry: Microsoft.Crm.UpdateWrapper.HotfixMspInstaller.Install
    15:12:44|   Info| Creating DBUpdateInstallInfo table if it does not already exist
    15:12:44|   Info| Populating DBUpdateInstallInfo with pre-7666 revision info according to HotfixList.xml
    15:12:44|   Info| Could not find a part of the path 'C:\Windows\$CrmUninstall\HotfixList.xml'.
    15:12:44|   Info| InstallerException: Requested registry access is not allowed.
    15:12:44|  Error| System.Exception: Action Microsoft.Crm.UpdateWrapper.DBUpdateAction failed. ---> System.Security.SecurityException: Requested registry access is not allowed.
       at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
       at Microsoft.Crm.Setup.Database.RegistryHelper.getCrmKey()
       at Microsoft.Crm.Setup.Database.Helpers.ConnectionsPooling(Boolean enable)
       at Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseCollection releases, Int32 currentProgress)
       at Microsoft.Crm.Setup.Database.DatabaseInstaller.installInternal()
       at Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase)
       at Microsoft.Crm.UpdateWrapper.DBUpdateDatabaseInstaller.ServerInstall()
       at Microsoft.Crm.UpdateWrapper.DBUpdateDatabaseInstaller.Install()
       at Microsoft.Crm.UpdateWrapper.DBUpdateAction.Do(IDictionary parameters)
       at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action, IDictionary parameters, Boolean undo)
    The Zone of the assembly that failed was:
    MyComputer
       --- End of inner exception stack trace ---, Error, RetryCancel, Option1
    15:13:27|   Info| InputResult: Cancel
    15:13:27|   Info| Creating DBUpdateInstallInfo table if it does not already exist
    15:13:27|   Info| Populating DBUpdateInstallInfo with pre-7666 revision info according to HotfixList.xml
    15:13:27|   Info| Retrieving dbUpdateIds that are ready to be uninstalled
    15:13:27|   Info| InstallerException: Requested registry access is not allowed.
    15:13:27|  Error| System.Exception: Action Microsoft.Crm.UpdateWrapper.DBRemoveAction failed. ---> System.Security.SecurityException: Requested registry access is not allowed.
       at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
       at Microsoft.Crm.Setup.Database.RegistryHelper.getCrmKey()
       at Microsoft.Crm.Setup.Database.Helpers.ConnectionsPooling(Boolean enable)
       at Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseCollection releases, Int32 currentProgress)
       at Microsoft.Crm.Setup.Database.DatabaseInstaller.installInternal()
       at Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase)
       at Microsoft.Crm.UpdateWrapper.DBUpdateDatabaseInstaller.ServerUninstall()
       at Microsoft.Crm.UpdateWrapper.DBUpdateDatabaseInstaller.Uninstall()
       at Microsoft.Crm.UpdateWrapper.DBRemoveAction.Do(IDictionary parameters)
       at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action, IDictionary parameters, Boolean undo)
    The Zone of the assembly that failed was:
    MyComputer
       --- End of inner exception stack trace ---, Error, RetryCancel, Option1
    15:13:28|   Info| InputResult: Cancel
    15:13:28|  Error| Configuration exception.System.Exception: Action Microsoft.Crm.UpdateWrapper.DBRemoveAction failed. ---> System.Security.SecurityException: Requested registry access is not allowed.
       at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
       at Microsoft.Crm.Setup.Database.RegistryHelper.getCrmKey()
       at Microsoft.Crm.Setup.Database.Helpers.ConnectionsPooling(Boolean enable)
       at Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseCollection releases, Int32 currentProgress)
       at Microsoft.Crm.Setup.Database.DatabaseInstaller.installInternal()
       at Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase)
       at Microsoft.Crm.UpdateWrapper.DBUpdateDatabaseInstaller.ServerUninstall()
       at Microsoft.Crm.UpdateWrapper.DBUpdateDatabaseInstaller.Uninstall()
       at Microsoft.Crm.UpdateWrapper.DBRemoveAction.Do(IDictionary parameters)
       at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action, IDictionary parameters, Boolean undo)
    The Zone of the assembly that failed was:
    MyComputer
       --- End of inner exception stack trace ---
       at Microsoft.Crm.UpdateWrapper.UpdateSetup.Install(IDictionary data)
       at Microsoft.Crm.UpdateWrapper.UpdateSetup.Run()
    15:13:28|Verbose| Update Rollup 5 (KB970141) Was Not Completed Successfully.
    15:13:28|   Info| Microsoft Dynamics CRM Server update was not completed successfully because of the following problems:
       

    Action Microsoft.Crm.UpdateWrapper.DBRemoveAction failed.
    Requested registry access is not allowed.

     

    Wednesday, December 22, 2010 11:42 PM

Answers

  • Couple of other things you can check

    - UAC, right click run as administrator instead of double click
    - Make sure the setup file is copied to a local folder instead of running through a network shared drive
    Kids don't try this at home!
    Thursday, December 23, 2010 12:46 AM

All replies

  • From the error log I can see that it's failing on registry permissions, are you installing this as administrator?
    Kids don't try this at home!
    Thursday, December 23, 2010 12:28 AM
  • Thanks for the quick reply, Yes I am using a user that has admin permission. it is the same user used during the CRM installation
    Thursday, December 23, 2010 12:41 AM
  • Couple of other things you can check

    - UAC, right click run as administrator instead of double click
    - Make sure the setup file is copied to a local folder instead of running through a network shared drive
    Kids don't try this at home!
    Thursday, December 23, 2010 12:46 AM
  • Thank you very much Gayan
    Thursday, December 23, 2010 5:22 PM
  • Rollup 7 is the next major update, why would you install 5?

    That's really just not very logical, especially considering the latest rollup is 13 or 14?


    Withers *Check out my javascript working examples on my blog http://withersblog.withersdavid.com/ or this blog http://withersdavid.wordpress.com/
    Monday, December 27, 2010 4:32 PM