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 :
Microsoft Dynamics CRM (Archived)

How to resolve Action Microsoft.Crm.Setup.Common.Update.DBUpdateAction failed

(0) ShareShare
ReportReport
Posted on by

Hi,

I have taken over an installation of Dynamics CRM 4.0.  The UAT environment has roll-up 7 installed.  I am attempting to implement the remaining rollups in groups of two.  When I run 

CRMv4.0-KB977650-i386-Server-ENU.exe

I receive the following error:

Action Microsoft.Crm.Setup.Common.Update.DBUpdateAction failed
User does not have permission to perform this action.

I have CRMReaderRole and db_owner on the database.  I am also an administrator on the local machine.
 
According to the following site:
http://weblogs.asp.net/pabloperalta/archive/2010/08/05/microsoft-crm-setup-common-update-dbupdateaction-failed.aspx
I have to be a sys_admin on the database.  Can you confirm that is required on updates?
I also want to confirm what install files should be ran on which server:
CRM Server/E-Mail Router Server:
CRMv4.0-KB977650-i386-Server-ENU.exe
CRMv4.0-KB977650-i386-Router-ENU.exe
CRMv4.0-KB977650-i386-Client-ENU.exe
SRS Server and Data Migration Wizard Server
CRMv4.0-KB977650-i386-DMClient-ENU.exe
CRMv4.0-KB977650-i386-MUI-ENU.exe
CRMv4.0-KB977650-i386-SRS-ENU.exe
Does it matter what order they're installed in?
14:33:59|   Info| === Managed setup logging started: 10/24/2011 2:33:59 PM ===
14:33:59|Verbose| Method entry: Microsoft.Crm.UpdateWrapper.UpdateSetup.Initialize
14:33:59|Verbose| Method entry: Microsoft.Crm.Setup.Common.SetupBase.Initialize
14:33:59|Verbose| Method exit: Microsoft.Crm.Setup.Common.SetupBase.Initialize
14:33:59|Verbose| Method exit: Microsoft.Crm.UpdateWrapper.UpdateSetup.Initialize
14:33:59|Verbose| Method entry: Microsoft.Crm.UpdateWrapper.UpdateSetup.Run
14:33:59|Warning| The specified /config file config.xml won't be used
14:33:59|Verbose| Method entry: Microsoft.Crm.Setup.Common.SetupBase.Run
14:33:59|Verbose| Method exit: Microsoft.Crm.Setup.Common.SetupBase.Run
14:33:59|Verbose| Method entry: Microsoft.Crm.Setup.Common.Update.UpdateUtility.VerifyRequiredKBsAreInstalled
14:33:59|Verbose| Method exit: Microsoft.Crm.Setup.Common.Update.UpdateUtility.VerifyRequiredKBsAreInstalled
14:33:59|   Info| Window Left: 200
14:33:59|   Info| Window Top: 200
14:38:19|   Info| InstallInfo.AdminTargetFolder:
14:38:19|   Info| InstallInfo.AllowRun: True
14:38:19|   Info| InstallInfo.CleanupRequired: False
14:38:19|   Info| InstallInfo.ConfigFile: config.xml
14:38:19|   Info| InstallInfo.CreateDatabase: True
14:38:19|   Info| InstallInfo.CurrentFolder: d:\ee7f3485d2b0ba9e35a84763aa761b
14:38:19|   Info| InstallInfo.InstallAlways: False
14:38:19|   Info| InstallInfo.InstallingPackage: d:\ee7f3485d2b0ba9e35a84763aa761b\Server_i386_KB977650_1033.msp
14:38:19|   Info| InstallInfo.InstallType: Install
14:38:19|   Info| InstallInfo.LocalPackage:
14:38:19|   Info| InstallInfo.LogFile: C:\Documents and Settings\greg.empey.z\Application Data\Microsoft\MSCRM\Logs\KB977650.log
14:38:19|   Info| InstallInfo.PackageName: Server_i386_KB977650_1033.msp
14:38:19|   Info| InstallInfo.RebootRequired: False
14:38:19|   Info| InstallInfo.SharedInstall: False
14:38:19|   Info| InstallInfo.SourceFolder: d:\ee7f3485d2b0ba9e35a84763aa761b
14:38:19|   Info| InstallInfo.SuppressReboot: False
14:38:19|   Info| InstallInfo.TargetFolder: C:\WINDOWS\$CrmUninstallKB977650_Server$
14:38:19|   Info| InstallInfo.UIMode: Full
14:38:19|   Info| InstallInfo.UserCancel: False
14:38:19|   Info| IpcInfo.NoLock: True
14:38:19|   Info| ProductInfo.ExistingLanguage: 1033
14:38:19|   Info| ProductInfo.ExistingProductCode: bc8dd950-8100-42f4-9ea9-26fcd41690af
14:38:19|   Info| ProductInfo.ExistingVersion: 4.0.7333.3
14:38:19|   Info| ProductInfo.InstallState: Local
14:38:19|   Info| UpdateInstallInfo.Auto: False
14:38:19|   Info| UpdateInstallInfo.Component: Server
14:38:19|   Info| UpdateInstallInfo.ComponentInfo: Microsoft.Crm.Setup.Common.Update.ServerComponentInfo
14:38:19|   Info| UpdateInstallInfo.DbHotfix: True
14:38:19|   Info| UpdateInstallInfo.KBNumber: KB977650
14:38:19|   Info| UpdateInstallInfo.LanguageID: 1033
14:38:19|   Info| UpdateInstallInfo.PatchID: {F8A691CA-C377-4EEA-ADD0-B95A4197996B}
14:38:19|   Info| UpdateInstallInfo.ProductID: {BC8DD950-8100-42F4-9EA9-26FCD41690AF}
14:38:19|   Info| UpdateInstallInfo.PublishReports: None
14:38:19|   Info| UpdateInstallInfo.ReleaseType: Update Rollup 9
14:38:19|   Info| UpdateInstallInfo.Revision: 2644
14:38:19|Verbose| Method entry: Microsoft.Crm.UpdateWrapper.UpdateSetup.Install| System.Collections.Hashtable
14:38:20|Verbose| Method entry: Microsoft.Crm.UpdateWrapper.HotfixMspInstaller.Install
14:38:22|   Info| Creating DBUpdateInstallInfo table if it does not already exist
14:38:23|   Info| Populating DBUpdateInstallInfo with pre-7666 revision info according to HotfixList.xml
14:38:23|   Info| Could not find a part of the path 'C:\WINDOWS\$CrmUninstall\HotfixList.xml'.
14:38:55|   Info| InstallerException: User does not have permission to perform this action.
14:38:55|  Error| System.Exception: Action Microsoft.Crm.Setup.Common.Update.DBUpdateAction failed. ---> System.Data.SqlClient.SqlException: User does not have permission to perform this action.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Microsoft.Crm.CrmDbConnection.InternalExecuteNonQuery(IDbCommand command)
   at Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command, Boolean impersonate)
   at Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command)
   at Microsoft.Crm.Setup.Database.SharedDatabaseUtility.CreateLogin(CrmDbConnection connection, String user, Boolean enableTrace)
   at Microsoft.Crm.Setup.Database.SharedDatabaseUtility.CreateLogin(CrmDbConnection connection, String user)
   at Microsoft.Crm.Setup.Database.DatabaseUtility.CreateLogin(InstallDatabase database, String user)
   at Microsoft.Crm.Setup.Database.Helpers.GrantReportAccess(String user, String privReportingGroup, Guid organizationId)
   at Microsoft.Crm.Setup.Database.Helpers.GrantReportAccessForUpgrade(Guid organizationId)
   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.Setup.Common.Update.DBUpdateDatabaseInstaller.ServerInstall()
   at Microsoft.Crm.Setup.Common.Update.DBUpdateDatabaseInstaller.Install()
   at Microsoft.Crm.Setup.Common.Update.DBUpdateAction.Do(IDictionary parameters)
   at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action, IDictionary parameters, Boolean undo)
   --- End of inner exception stack trace ---, Error, RetryCancel, Option1
14:41:03|   Info| InputResult: Retry
14:41:03|   Info| Creating DBUpdateInstallInfo table if it does not already exist
14:41:03|   Info| Populating DBUpdateInstallInfo with pre-7666 revision info according to HotfixList.xml
14:41:03|   Info| InstallerException: User does not have permission to perform this action.
14:41:03|  Error| System.Exception: Action Microsoft.Crm.Setup.Common.Update.DBUpdateAction failed. ---> System.Data.SqlClient.SqlException: User does not have permission to perform this action.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Microsoft.Crm.CrmDbConnection.InternalExecuteNonQuery(IDbCommand command)
   at Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command, Boolean impersonate)
   at Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command)
   at Microsoft.Crm.Setup.Database.SharedDatabaseUtility.CreateLogin(CrmDbConnection connection, String user, Boolean enableTrace)
   at Microsoft.Crm.Setup.Database.SharedDatabaseUtility.CreateLogin(CrmDbConnection connection, String user)
   at Microsoft.Crm.Setup.Database.DatabaseUtility.CreateLogin(InstallDatabase database, String user)
   at Microsoft.Crm.Setup.Database.Helpers.GrantReportAccess(String user, String privReportingGroup, Guid organizationId)
   at Microsoft.Crm.Setup.Database.Helpers.GrantReportAccessForUpgrade(Guid organizationId)
   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.Setup.Common.Update.DBUpdateDatabaseInstaller.ServerInstall()
   at Microsoft.Crm.Setup.Common.Update.DBUpdateDatabaseInstaller.Install()
   at Microsoft.Crm.Setup.Common.Update.DBUpdateAction.Do(IDictionary parameters)
   at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action, IDictionary parameters, Boolean undo)
   --- End of inner exception stack trace ---, Error, RetryCancel, Option1
14:49:01|   Info| InputResult: Cancel
14:49:01|   Info| Creating DBUpdateInstallInfo table if it does not already exist
14:49:01|   Info| Populating DBUpdateInstallInfo with pre-7666 revision info according to HotfixList.xml
14:49:01|   Info| Retrieving dbUpdateIds that are ready to be uninstalled
14:49:03|   Info| Removing revision {0} from DBUpdateInstallInfo| 2644
14:49:03|   Info| Updating BuildVersion.Revision for all Organization Databases
14:49:03|   Info| InstallerException: Action Microsoft.Crm.Setup.Common.Update.DBUpdateAction failed.
14:49:03|  Error| Configuration exception.System.Exception: Action Microsoft.Crm.Setup.Common.Update.DBUpdateAction failed. ---> System.Data.SqlClient.SqlException: User does not have permission to perform this action.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Microsoft.Crm.CrmDbConnection.InternalExecuteNonQuery(IDbCommand command)
   at Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command, Boolean impersonate)
   at Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command)
   at Microsoft.Crm.Setup.Database.SharedDatabaseUtility.CreateLogin(CrmDbConnection connection, String user, Boolean enableTrace)
   at Microsoft.Crm.Setup.Database.SharedDatabaseUtility.CreateLogin(CrmDbConnection connection, String user)
   at Microsoft.Crm.Setup.Database.DatabaseUtility.CreateLogin(InstallDatabase database, String user)
   at Microsoft.Crm.Setup.Database.Helpers.GrantReportAccess(String user, String privReportingGroup, Guid organizationId)
   at Microsoft.Crm.Setup.Database.Helpers.GrantReportAccessForUpgrade(Guid organizationId)
   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.Setup.Common.Update.DBUpdateDatabaseInstaller.ServerInstall()
   at Microsoft.Crm.Setup.Common.Update.DBUpdateDatabaseInstaller.Install()
   at Microsoft.Crm.Setup.Common.Update.DBUpdateAction.Do(IDictionary parameters)
   at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action, IDictionary parameters, Boolean undo)
   --- End of inner exception stack trace ---
   at Microsoft.Crm.UpdateWrapper.UpdateSetup.Install(IDictionary data)
   at Microsoft.Crm.UpdateWrapper.UpdateSetup.Run()
14:49:03|Verbose| Update Not Completed
14:49:03|   Info| Update Rollup 9 for Microsoft Dynamics CRM Server (KB977650) was not completed successfully because of the following problems:
   
Action Microsoft.Crm.Setup.Common.Update.DBUpdateAction failed.
User does not have permission to perform this action.
14:49:05|  Error| System.Configuration.Install.InstallException ---> System.Exception: Action Microsoft.Crm.Setup.Common.Update.DBUpdateAction failed. ---> System.Data.SqlClient.SqlException: User does not have permission to perform this action.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Microsoft.Crm.CrmDbConnection.InternalExecuteNonQuery(IDbCommand command)
   at Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command, Boolean impersonate)
   at Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command)
   at Microsoft.Crm.Setup.Database.SharedDatabaseUtility.CreateLogin(CrmDbConnection connection, String user, Boolean enableTrace)
   at Microsoft.Crm.Setup.Database.SharedDatabaseUtility.CreateLogin(CrmDbConnection connection, String user)
   at Microsoft.Crm.Setup.Database.DatabaseUtility.CreateLogin(InstallDatabase database, String user)
   at Microsoft.Crm.Setup.Database.Helpers.GrantReportAccess(String user, String privReportingGroup, Guid organizationId)
   at Microsoft.Crm.Setup.Database.Helpers.GrantReportAccessForUpgrade(Guid organizationId)
   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.Setup.Common.Update.DBUpdateDatabaseInstaller.ServerInstall()
   at Microsoft.Crm.Setup.Common.Update.DBUpdateDatabaseInstaller.Install()
   at Microsoft.Crm.Setup.Common.Update.DBUpdateAction.Do(IDictionary parameters)
   at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action, IDictionary parameters, Boolean undo)
   --- End of inner exception stack trace ---
   at Microsoft.Crm.UpdateWrapper.UpdateSetup.Install(IDictionary data)
   at Microsoft.Crm.UpdateWrapper.UpdateSetup.Run()
   --- End of inner exception stack trace ---
   at Microsoft.Crm.UpdateWrapper.UpdateSetup.Run()
   at Microsoft.Crm.UpdateWrapper.UpdateSetup.InternalMain(String[] args)
15:58:42|   Info| === Managed setup logging started: 10/24/2011 3:58:42 PM ===
15:58:42|Verbose| Method entry: Microsoft.Crm.UpdateWrapper.UpdateSetup.Initialize
15:58:42|Verbose| Method entry: Microsoft.Crm.Setup.Common.SetupBase.Initialize
15:58:42|Verbose| Method exit: Microsoft.Crm.Setup.Common.SetupBase.Initialize
15:58:42|Verbose| Method exit: Microsoft.Crm.UpdateWrapper.UpdateSetup.Initialize
15:58:42|Verbose| Method entry: Microsoft.Crm.UpdateWrapper.UpdateSetup.Run
15:58:42|Warning| The specified /config file config.xml won't be used
15:58:42|Verbose| Method entry: Microsoft.Crm.Setup.Common.SetupBase.Run
15:58:42|Verbose| Method exit: Microsoft.Crm.Setup.Common.SetupBase.Run
15:58:42|Verbose| Method entry: Microsoft.Crm.Setup.Common.Update.UpdateUtility.VerifyRequiredKBsAreInstalled
15:58:42|Verbose| Method exit: Microsoft.Crm.Setup.Common.Update.UpdateUtility.VerifyRequiredKBsAreInstalled
15:58:42|   Info| Window Left: 200
15:58:42|   Info| Window Top: 200
15:58:51|   Info| InstallInfo.AdminTargetFolder:
15:58:51|   Info| InstallInfo.AllowRun: True
15:58:51|   Info| InstallInfo.CleanupRequired: False
15:58:51|   Info| InstallInfo.ConfigFile: config.xml
15:58:51|   Info| InstallInfo.CreateDatabase: True
15:58:51|   Info| InstallInfo.CurrentFolder: d:\5f3cf20db39c83f679bcab4c84e2ea3a
15:58:51|   Info| InstallInfo.InstallAlways: False
15:58:51|   Info| InstallInfo.InstallingPackage: d:\5f3cf20db39c83f679bcab4c84e2ea3a\Server_i386_KB977650_1033.msp
15:58:51|   Info| InstallInfo.InstallType: Install
15:58:51|   Info| InstallInfo.LocalPackage:
15:58:51|   Info| InstallInfo.LogFile: C:\Documents and Settings\greg.empey.z\Application Data\Microsoft\MSCRM\Logs\KB977650.log
15:58:51|   Info| InstallInfo.PackageName: Server_i386_KB977650_1033.msp
15:58:51|   Info| InstallInfo.RebootRequired: False
15:58:51|   Info| InstallInfo.SharedInstall: False
15:58:51|   Info| InstallInfo.SourceFolder: d:\5f3cf20db39c83f679bcab4c84e2ea3a
15:58:51|   Info| InstallInfo.SuppressReboot: False
15:58:51|   Info| InstallInfo.TargetFolder: C:\WINDOWS\$CrmUninstallKB977650_Server$
15:58:51|   Info| InstallInfo.UIMode: Full
15:58:51|   Info| InstallInfo.UserCancel: False
15:58:51|   Info| IpcInfo.NoLock: True
15:58:51|   Info| ProductInfo.ExistingLanguage: 1033
15:58:51|   Info| ProductInfo.ExistingProductCode: bc8dd950-8100-42f4-9ea9-26fcd41690af
15:58:51|   Info| ProductInfo.ExistingVersion: 4.0.7333.3
15:58:51|   Info| ProductInfo.InstallState: Local
15:58:51|   Info| UpdateInstallInfo.Auto: False
15:58:51|   Info| UpdateInstallInfo.Component: Server
15:58:51|   Info| UpdateInstallInfo.ComponentInfo: Microsoft.Crm.Setup.Common.Update.ServerComponentInfo
15:58:51|   Info| UpdateInstallInfo.DbHotfix: True
15:58:51|   Info| UpdateInstallInfo.KBNumber: KB977650
15:58:51|   Info| UpdateInstallInfo.LanguageID: 1033
15:58:51|   Info| UpdateInstallInfo.PatchID: {F8A691CA-C377-4EEA-ADD0-B95A4197996B}
15:58:51|   Info| UpdateInstallInfo.ProductID: {BC8DD950-8100-42F4-9EA9-26FCD41690AF}
15:58:51|   Info| UpdateInstallInfo.PublishReports: None
15:58:51|   Info| UpdateInstallInfo.ReleaseType: Update Rollup 9
15:58:51|   Info| UpdateInstallInfo.Revision: 2644
15:58:51|Verbose| Method entry: Microsoft.Crm.UpdateWrapper.UpdateSetup.Install| System.Collections.Hashtable
15:58:51|Verbose| Method entry: Microsoft.Crm.UpdateWrapper.HotfixMspInstaller.Install
15:58:51|   Info| Creating DBUpdateInstallInfo table if it does not already exist
15:58:51|   Info| Populating DBUpdateInstallInfo with pre-7666 revision info according to HotfixList.xml
15:58:52|   Info| Could not find a part of the path 'C:\WINDOWS\$CrmUninstall\HotfixList.xml'.
15:58:55|   Info| InstallerException: User does not have permission to perform this action.
15:58:55|  Error| System.Exception: Action Microsoft.Crm.Setup.Common.Update.DBUpdateAction failed. ---> System.Data.SqlClient.SqlException: User does not have permission to perform this action.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Microsoft.Crm.CrmDbConnection.InternalExecuteNonQuery(IDbCommand command)
   at Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command, Boolean impersonate)
   at Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command)
   at Microsoft.Crm.Setup.Database.SharedDatabaseUtility.CreateLogin(CrmDbConnection connection, String user, Boolean enableTrace)
   at Microsoft.Crm.Setup.Database.SharedDatabaseUtility.CreateLogin(CrmDbConnection connection, String user)
   at Microsoft.Crm.Setup.Database.DatabaseUtility.CreateLogin(InstallDatabase database, String user)
   at Microsoft.Crm.Setup.Database.Helpers.GrantReportAccess(String user, String privReportingGroup, Guid organizationId)
   at Microsoft.Crm.Setup.Database.Helpers.GrantReportAccessForUpgrade(Guid organizationId)
   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.Setup.Common.Update.DBUpdateDatabaseInstaller.ServerInstall()
   at Microsoft.Crm.Setup.Common.Update.DBUpdateDatabaseInstaller.Install()
   at Microsoft.Crm.Setup.Common.Update.DBUpdateAction.Do(IDictionary parameters)
   at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action, IDictionary parameters, Boolean undo)
   --- End of inner exception stack trace ---, Error, RetryCancel, Option1
16:02:06|   Info| InputResult: Cancel
16:02:06|   Info| Creating DBUpdateInstallInfo table if it does not already exist
16:02:06|   Info| Populating DBUpdateInstallInfo with pre-7666 revision info according to HotfixList.xml
16:02:06|   Info| Retrieving dbUpdateIds that are ready to be uninstalled
16:02:07|   Info| Removing revision {0} from DBUpdateInstallInfo| 2644
16:02:07|   Info| Updating BuildVersion.Revision for all Organization Databases
16:02:07|   Info| InstallerException: Action Microsoft.Crm.Setup.Common.Update.DBUpdateAction failed.
16:02:07|  Error| Configuration exception.System.Exception: Action Microsoft.Crm.Setup.Common.Update.DBUpdateAction failed. ---> System.Data.SqlClient.SqlException: User does not have permission to perform this action.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Microsoft.Crm.CrmDbConnection.InternalExecuteNonQuery(IDbCommand command)
   at Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command, Boolean impersonate)
   at Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command)
   at Microsoft.Crm.Setup.Database.SharedDatabaseUtility.CreateLogin(CrmDbConnection connection, String user, Boolean enableTrace)
   at Microsoft.Crm.Setup.Database.SharedDatabaseUtility.CreateLogin(CrmDbConnection connection, String user)
   at Microsoft.Crm.Setup.Database.DatabaseUtility.CreateLogin(InstallDatabase database, String user)
   at Microsoft.Crm.Setup.Database.Helpers.GrantReportAccess(String user, String privReportingGroup, Guid organizationId)
   at Microsoft.Crm.Setup.Database.Helpers.GrantReportAccessForUpgrade(Guid organizationId)
   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.Setup.Common.Update.DBUpdateDatabaseInstaller.ServerInstall()
   at Microsoft.Crm.Setup.Common.Update.DBUpdateDatabaseInstaller.Install()
   at Microsoft.Crm.Setup.Common.Update.DBUpdateAction.Do(IDictionary parameters)
   at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action, IDictionary parameters, Boolean undo)
   --- End of inner exception stack trace ---
   at Microsoft.Crm.UpdateWrapper.UpdateSetup.Install(IDictionary data)
   at Microsoft.Crm.UpdateWrapper.UpdateSetup.Run()
16:02:07|Verbose| Update Not Completed
16:02:07|   Info| Update Rollup 9 for Microsoft Dynamics CRM Server (KB977650) was not completed successfully because of the following problems:
   
Action Microsoft.Crm.Setup.Common.Update.DBUpdateAction failed.
User does not have permission to perform this action.
16:02:08|  Error| System.Configuration.Install.InstallException ---> System.Exception: Action Microsoft.Crm.Setup.Common.Update.DBUpdateAction failed. ---> System.Data.SqlClient.SqlException: User does not have permission to perform this action.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Microsoft.Crm.CrmDbConnection.InternalExecuteNonQuery(IDbCommand command)
   at Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command, Boolean impersonate)
   at Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command)
   at Microsoft.Crm.Setup.Database.SharedDatabaseUtility.CreateLogin(CrmDbConnection connection, String user, Boolean enableTrace)
   at Microsoft.Crm.Setup.Database.SharedDatabaseUtility.CreateLogin(CrmDbConnection connection, String user)
   at Microsoft.Crm.Setup.Database.DatabaseUtility.CreateLogin(InstallDatabase database, String user)
   at Microsoft.Crm.Setup.Database.Helpers.GrantReportAccess(String user, String privReportingGroup, Guid organizationId)
   at Microsoft.Crm.Setup.Database.Helpers.GrantReportAccessForUpgrade(Guid organizationId)
   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.Setup.Common.Update.DBUpdateDatabaseInstaller.ServerInstall()
   at Microsoft.Crm.Setup.Common.Update.DBUpdateDatabaseInstaller.Install()
   at Microsoft.Crm.Setup.Common.Update.DBUpdateAction.Do(IDictionary parameters)
   at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action, IDictionary parameters, Boolean undo)
   --- End of inner exception stack trace ---
   at Microsoft.Crm.UpdateWrapper.UpdateSetup.Install(IDictionary data)
   at Microsoft.Crm.UpdateWrapper.UpdateSetup.Run()
   --- End of inner exception stack trace ---
   at Microsoft.Crm.UpdateWrapper.UpdateSetup.Run()
   at Microsoft.Crm.UpdateWrapper.UpdateSetup.InternalMain(String[] args)
19:22:42|   Info| === Managed setup logging started: 10/24/2011 7:22:42 PM ===
19:22:42|Verbose| Method entry: Microsoft.Crm.UpdateWrapper.UpdateSetup.Initialize
19:22:42|Verbose| Method entry: Microsoft.Crm.Setup.Common.SetupBase.Initialize
19:22:42|Verbose| Method exit: Microsoft.Crm.Setup.Common.SetupBase.Initialize
19:22:42|Verbose| Method exit: Microsoft.Crm.UpdateWrapper.UpdateSetup.Initialize
19:22:42|Verbose| Method entry: Microsoft.Crm.UpdateWrapper.UpdateSetup.Run
19:22:42|Warning| The specified /config file config.xml won't be used
19:22:42|Verbose| Method entry: Microsoft.Crm.Setup.Common.SetupBase.Run
19:22:42|Verbose| Method exit: Microsoft.Crm.Setup.Common.SetupBase.Run
19:22:42|Verbose| Method entry: Microsoft.Crm.Setup.Common.Update.UpdateUtility.VerifyRequiredKBsAreInstalled
19:22:42|Verbose| Method exit: Microsoft.Crm.Setup.Common.Update.UpdateUtility.VerifyRequiredKBsAreInstalled
19:22:42|   Info| Window Left: 200
19:22:42|   Info| Window Top: 200
19:22:49|   Info| InstallInfo.AdminTargetFolder:
19:22:49|   Info| InstallInfo.AllowRun: True
19:22:49|   Info| InstallInfo.CleanupRequired: False
19:22:49|   Info| InstallInfo.ConfigFile: config.xml
19:22:49|   Info| InstallInfo.CreateDatabase: True
19:22:49|   Info| InstallInfo.CurrentFolder: d:\7ebf27b6090e1746c2c79c113cc0f4
19:22:49|   Info| InstallInfo.InstallAlways: False
19:22:49|   Info| InstallInfo.InstallingPackage: d:\7ebf27b6090e1746c2c79c113cc0f4\Server_i386_KB977650_1033.msp
19:22:49|   Info| InstallInfo.InstallType: Install
19:22:49|   Info| InstallInfo.LocalPackage:
19:22:49|   Info| InstallInfo.LogFile: C:\Documents and Settings\greg.empey.z\Application Data\Microsoft\MSCRM\Logs\KB977650.log
19:22:49|   Info| InstallInfo.PackageName: Server_i386_KB977650_1033.msp
19:22:49|   Info| InstallInfo.RebootRequired: False
19:22:49|   Info| InstallInfo.SharedInstall: False
19:22:49|   Info| InstallInfo.SourceFolder: d:\7ebf27b6090e1746c2c79c113cc0f4
19:22:49|   Info| InstallInfo.SuppressReboot: False
19:22:49|   Info| InstallInfo.TargetFolder: C:\WINDOWS\$CrmUninstallKB977650_Server$
19:22:49|   Info| InstallInfo.UIMode: Full
19:22:49|   Info| InstallInfo.UserCancel: False
19:22:49|   Info| IpcInfo.NoLock: True
19:22:49|   Info| ProductInfo.ExistingLanguage: 1033
19:22:49|   Info| ProductInfo.ExistingProductCode: bc8dd950-8100-42f4-9ea9-26fcd41690af
19:22:49|   Info| ProductInfo.ExistingVersion: 4.0.7333.3
19:22:49|   Info| ProductInfo.InstallState: Local
19:22:49|   Info| UpdateInstallInfo.Auto: False
19:22:49|   Info| UpdateInstallInfo.Component: Server
19:22:49|   Info| UpdateInstallInfo.ComponentInfo: Microsoft.Crm.Setup.Common.Update.ServerComponentInfo
19:22:49|   Info| UpdateInstallInfo.DbHotfix: True
19:22:49|   Info| UpdateInstallInfo.KBNumber: KB977650
19:22:49|   Info| UpdateInstallInfo.LanguageID: 1033
19:22:49|   Info| UpdateInstallInfo.PatchID: {F8A691CA-C377-4EEA-ADD0-B95A4197996B}
19:22:49|   Info| UpdateInstallInfo.ProductID: {BC8DD950-8100-42F4-9EA9-26FCD41690AF}
19:22:49|   Info| UpdateInstallInfo.PublishReports: None
19:22:49|   Info| UpdateInstallInfo.ReleaseType: Update Rollup 9
19:22:49|   Info| UpdateInstallInfo.Revision: 2644
19:22:49|Verbose| Method entry: Microsoft.Crm.UpdateWrapper.UpdateSetup.Install| System.Collections.Hashtable
19:22:49|Verbose| Method entry: Microsoft.Crm.UpdateWrapper.HotfixMspInstaller.Install
19:22:50|   Info| Creating DBUpdateInstallInfo table if it does not already exist
19:22:50|   Info| Populating DBUpdateInstallInfo with pre-7666 revision info according to HotfixList.xml
19:22:50|   Info| Could not find a part of the path 'C:\WINDOWS\$CrmUninstall\HotfixList.xml'.
19:23:05|   Info| InstallerException: User does not have permission to perform this action.
19:23:05|  Error| System.Exception: Action Microsoft.Crm.Setup.Common.Update.DBUpdateAction failed. ---> System.Data.SqlClient.SqlException: User does not have permission to perform this action.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Microsoft.Crm.CrmDbConnection.InternalExecuteNonQuery(IDbCommand command)
   at Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command, Boolean impersonate)
   at Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command)
   at Microsoft.Crm.Setup.Database.SharedDatabaseUtility.CreateLogin(CrmDbConnection connection, String user, Boolean enableTrace)
   at Microsoft.Crm.Setup.Database.SharedDatabaseUtility.CreateLogin(CrmDbConnection connection, String user)
   at Microsoft.Crm.Setup.Database.DatabaseUtility.CreateLogin(InstallDatabase database, String user)
   at Microsoft.Crm.Setup.Database.Helpers.GrantReportAccess(String user, String privReportingGroup, Guid organizationId)
   at Microsoft.Crm.Setup.Database.Helpers.GrantReportAccessForUpgrade(Guid organizationId)
   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.Setup.Common.Update.DBUpdateDatabaseInstaller.ServerInstall()
   at Microsoft.Crm.Setup.Common.Update.DBUpdateDatabaseInstaller.Install()
   at Microsoft.Crm.Setup.Common.Update.DBUpdateAction.Do(IDictionary parameters)
   at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action, IDictionary parameters, Boolean undo)
   --- End of inner exception stack trace ---, Error, RetryCancel, Option1
19:23:16|   Info| InputResult: Cancel
19:23:16|   Info| Creating DBUpdateInstallInfo table if it does not already exist
19:23:16|   Info| Populating DBUpdateInstallInfo with pre-7666 revision info according to HotfixList.xml
19:23:16|   Info| Retrieving dbUpdateIds that are ready to be uninstalled
19:23:17|   Info| Removing revision {0} from DBUpdateInstallInfo| 2644
19:23:17|   Info| Updating BuildVersion.Revision for all Organization Databases
19:23:17|   Info| InstallerException: Action Microsoft.Crm.Setup.Common.Update.DBUpdateAction failed.
19:23:18|  Error| Configuration exception.System.Exception: Action Microsoft.Crm.Setup.Common.Update.DBUpdateAction failed. ---> System.Data.SqlClient.SqlException: User does not have permission to perform this action.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Microsoft.Crm.CrmDbConnection.InternalExecuteNonQuery(IDbCommand command)
   at Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command, Boolean impersonate)
   at Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command)
   at Microsoft.Crm.Setup.Database.SharedDatabaseUtility.CreateLogin(CrmDbConnection connection, String user, Boolean enableTrace)
   at Microsoft.Crm.Setup.Database.SharedDatabaseUtility.CreateLogin(CrmDbConnection connection, String user)
   at Microsoft.Crm.Setup.Database.DatabaseUtility.CreateLogin(InstallDatabase database, String user)
   at Microsoft.Crm.Setup.Database.Helpers.GrantReportAccess(String user, String privReportingGroup, Guid organizationId)
   at Microsoft.Crm.Setup.Database.Helpers.GrantReportAccessForUpgrade(Guid organizationId)
   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.Setup.Common.Update.DBUpdateDatabaseInstaller.ServerInstall()
   at Microsoft.Crm.Setup.Common.Update.DBUpdateDatabaseInstaller.Install()
   at Microsoft.Crm.Setup.Common.Update.DBUpdateAction.Do(IDictionary parameters)
   at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action, IDictionary parameters, Boolean undo)
   --- End of inner exception stack trace ---
   at Microsoft.Crm.UpdateWrapper.UpdateSetup.Install(IDictionary data)
   at Microsoft.Crm.UpdateWrapper.UpdateSetup.Run()
19:23:18|Verbose| Update Not Completed
19:23:18|   Info| Update Rollup 9 for Microsoft Dynamics CRM Server (KB977650) was not completed successfully because of the following problems:
   
Action Microsoft.Crm.Setup.Common.Update.DBUpdateAction failed.
User does not have permission to perform this action.
19:23:20|  Error| System.Configuration.Install.InstallException ---> System.Exception: Action Microsoft.Crm.Setup.Common.Update.DBUpdateAction failed. ---> System.Data.SqlClient.SqlException: User does not have permission to perform this action.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Microsoft.Crm.CrmDbConnection.InternalExecuteNonQuery(IDbCommand command)
   at Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command, Boolean impersonate)
   at Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command)
   at Microsoft.Crm.Setup.Database.SharedDatabaseUtility.CreateLogin(CrmDbConnection connection, String user, Boolean enableTrace)
   at Microsoft.Crm.Setup.Database.SharedDatabaseUtility.CreateLogin(CrmDbConnection connection, String user)
   at Microsoft.Crm.Setup.Database.DatabaseUtility.CreateLogin(InstallDatabase database, String user)
   at Microsoft.Crm.Setup.Database.Helpers.GrantReportAccess(String user, String privReportingGroup, Guid organizationId)
   at Microsoft.Crm.Setup.Database.Helpers.GrantReportAccessForUpgrade(Guid organizationId)
   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.Setup.Common.Update.DBUpdateDatabaseInstaller.ServerInstall()
   at Microsoft.Crm.Setup.Common.Update.DBUpdateDatabaseInstaller.Install()
   at Microsoft.Crm.Setup.Common.Update.DBUpdateAction.Do(IDictionary parameters)
   at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action, IDictionary parameters, Boolean undo)
   --- End of inner exception stack trace ---
   at Microsoft.Crm.UpdateWrapper.UpdateSetup.Install(IDictionary data)
   at Microsoft.Crm.UpdateWrapper.UpdateSetup.Run()
   --- End of inner exception stack trace ---
   at Microsoft.Crm.UpdateWrapper.UpdateSetup.Run()
   at Microsoft.Crm.UpdateWrapper.UpdateSetup.InternalMain(String[] args)
10:26:40|   Info| === Managed setup logging started: 10/25/2011 10:26:40 AM ===
10:26:40|Verbose| Method entry: Microsoft.Crm.UpdateWrapper.UpdateSetup.Initialize
10:26:40|Verbose| Method entry: Microsoft.Crm.Setup.Common.SetupBase.Initialize
10:26:40|Verbose| Method exit: Microsoft.Crm.Setup.Common.SetupBase.Initialize
10:26:40|Verbose| Method exit: Microsoft.Crm.UpdateWrapper.UpdateSetup.Initialize
10:26:40|Verbose| Method entry: Microsoft.Crm.UpdateWrapper.UpdateSetup.Run
10:26:40|Warning| The specified /config file config.xml won't be used
10:26:40|Verbose| Method entry: Microsoft.Crm.Setup.Common.SetupBase.Run
10:26:40|Verbose| Method exit: Microsoft.Crm.Setup.Common.SetupBase.Run
10:26:40|Verbose| Method entry: Microsoft.Crm.Setup.Common.Update.UpdateUtility.VerifyRequiredKBsAreInstalled
10:26:40|Verbose| Method exit: Microsoft.Crm.Setup.Common.Update.UpdateUtility.VerifyRequiredKBsAreInstalled
10:26:40|   Info| Window Left: 200
10:26:40|   Info| Window Top: 200
10:27:18|   Info| InstallInfo.AdminTargetFolder:
10:27:18|   Info| InstallInfo.AllowRun: True
10:27:18|   Info| InstallInfo.CleanupRequired: False
10:27:18|   Info| InstallInfo.ConfigFile: config.xml
10:27:18|   Info| InstallInfo.CreateDatabase: True
10:27:18|   Info| InstallInfo.CurrentFolder: d:\e5f136deb134867c12440a36f72f
10:27:18|   Info| InstallInfo.InstallAlways: False
10:27:18|   Info| InstallInfo.InstallingPackage: d:\e5f136deb134867c12440a36f72f\Server_i386_KB977650_1033.msp
10:27:18|   Info| InstallInfo.InstallType: Install
10:27:18|   Info| InstallInfo.LocalPackage:
10:27:18|   Info| InstallInfo.LogFile: C:\Documents and Settings\greg.empey.z\Application Data\Microsoft\MSCRM\Logs\KB977650.log
10:27:18|   Info| InstallInfo.PackageName: Server_i386_KB977650_1033.msp
10:27:18|   Info| InstallInfo.RebootRequired: False
10:27:18|   Info| InstallInfo.SharedInstall: False
10:27:18|   Info| InstallInfo.SourceFolder: d:\e5f136deb134867c12440a36f72f
10:27:18|   Info| InstallInfo.SuppressReboot: False
10:27:18|   Info| InstallInfo.TargetFolder: C:\WINDOWS\$CrmUninstallKB977650_Server$
10:27:18|   Info| InstallInfo.UIMode: Full
10:27:18|   Info| InstallInfo.UserCancel: False
10:27:18|   Info| IpcInfo.NoLock: True
10:27:18|   Info| ProductInfo.ExistingLanguage: 1033
10:27:18|   Info| ProductInfo.ExistingProductCode: bc8dd950-8100-42f4-9ea9-26fcd41690af
10:27:18|   Info| ProductInfo.ExistingVersion: 4.0.7333.3
10:27:18|   Info| ProductInfo.InstallState: Local
10:27:18|   Info| UpdateInstallInfo.Auto: False
10:27:18|   Info| UpdateInstallInfo.Component: Server
10:27:18|   Info| UpdateInstallInfo.ComponentInfo: Microsoft.Crm.Setup.Common.Update.ServerComponentInfo
10:27:18|   Info| UpdateInstallInfo.DbHotfix: True
10:27:18|   Info| UpdateInstallInfo.KBNumber: KB977650
10:27:18|   Info| UpdateInstallInfo.LanguageID: 1033
10:27:18|   Info| UpdateInstallInfo.PatchID: {F8A691CA-C377-4EEA-ADD0-B95A4197996B}
10:27:18|   Info| UpdateInstallInfo.ProductID: {BC8DD950-8100-42F4-9EA9-26FCD41690AF}
10:27:18|   Info| UpdateInstallInfo.PublishReports: None
10:27:18|   Info| UpdateInstallInfo.ReleaseType: Update Rollup 9
10:27:18|   Info| UpdateInstallInfo.Revision: 2644
10:27:18|Verbose| Method entry: Microsoft.Crm.UpdateWrapper.UpdateSetup.Install| System.Collections.Hashtable
10:27:19|Verbose| Method entry: Microsoft.Crm.UpdateWrapper.HotfixMspInstaller.Install
10:27:20|   Info| Creating DBUpdateInstallInfo table if it does not already exist
10:27:20|   Info| Populating DBUpdateInstallInfo with pre-7666 revision info according to HotfixList.xml
10:27:20|   Info| Could not find a part of the path 'C:\WINDOWS\$CrmUninstall\HotfixList.xml'.
10:27:39|   Info| InstallerException: User does not have permission to perform this action.
10:27:39|  Error| System.Exception: Action Microsoft.Crm.Setup.Common.Update.DBUpdateAction failed. ---> System.Data.SqlClient.SqlException: User does not have permission to perform this action.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Microsoft.Crm.CrmDbConnection.InternalExecuteNonQuery(IDbCommand command)
   at Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command, Boolean impersonate)
   at Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command)
   at Microsoft.Crm.Setup.Database.SharedDatabaseUtility.CreateLogin(CrmDbConnection connection, String user, Boolean enableTrace)
   at Microsoft.Crm.Setup.Database.SharedDatabaseUtility.CreateLogin(CrmDbConnection connection, String user)
   at Microsoft.Crm.Setup.Database.DatabaseUtility.CreateLogin(InstallDatabase database, String user)
   at Microsoft.Crm.Setup.Database.Helpers.GrantReportAccess(String user, String privReportingGroup, Guid organizationId)
   at Microsoft.Crm.Setup.Database.Helpers.GrantReportAccessForUpgrade(Guid organizationId)
   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.Setup.Common.Update.DBUpdateDatabaseInstaller.ServerInstall()
   at Microsoft.Crm.Setup.Common.Update.DBUpdateDatabaseInstaller.Install()
   at Microsoft.Crm.Setup.Common.Update.DBUpdateAction.Do(IDictionary parameters)
   at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action, IDictionary parameters, Boolean undo)
   --- End of inner exception stack trace ---, Error, RetryCancel, Option1
10:27:46|   Info| InputResult: Cancel
10:27:46|   Info| Creating DBUpdateInstallInfo table if it does not already exist
10:27:46|   Info| Populating DBUpdateInstallInfo with pre-7666 revision info according to HotfixList.xml
10:27:46|   Info| Retrieving dbUpdateIds that are ready to be uninstalled
10:27:47|   Info| Removing revision {0} from DBUpdateInstallInfo| 2644
10:27:47|   Info| Updating BuildVersion.Revision for all Organization Databases
10:27:47|   Info| InstallerException: Action Microsoft.Crm.Setup.Common.Update.DBUpdateAction failed.
10:27:47|  Error| Configuration exception.System.Exception: Action Microsoft.Crm.Setup.Common.Update.DBUpdateAction failed. ---> System.Data.SqlClient.SqlException: User does not have permission to perform this action.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Microsoft.Crm.CrmDbConnection.InternalExecuteNonQuery(IDbCommand command)
   at Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command, Boolean impersonate)
   at Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command)
   at Microsoft.Crm.Setup.Database.SharedDatabaseUtility.CreateLogin(CrmDbConnection connection, String user, Boolean enableTrace)
   at Microsoft.Crm.Setup.Database.SharedDatabaseUtility.CreateLogin(CrmDbConnection connection, String user)
   at Microsoft.Crm.Setup.Database.DatabaseUtility.CreateLogin(InstallDatabase database, String user)
   at Microsoft.Crm.Setup.Database.Helpers.GrantReportAccess(String user, String privReportingGroup, Guid organizationId)
   at Microsoft.Crm.Setup.Database.Helpers.GrantReportAccessForUpgrade(Guid organizationId)
   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.Setup.Common.Update.DBUpdateDatabaseInstaller.ServerInstall()
   at Microsoft.Crm.Setup.Common.Update.DBUpdateDatabaseInstaller.Install()
   at Microsoft.Crm.Setup.Common.Update.DBUpdateAction.Do(IDictionary parameters)
   at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action, IDictionary parameters, Boolean undo)
   --- End of inner exception stack trace ---
   at Microsoft.Crm.UpdateWrapper.UpdateSetup.Install(IDictionary data)
   at Microsoft.Crm.UpdateWrapper.UpdateSetup.Run()
10:27:47|Verbose| Update Not Completed
10:27:47|   Info| Update Rollup 9 for Microsoft Dynamics CRM Server (KB977650) was not completed successfully because of the following problems:
   
Action Microsoft.Crm.Setup.Common.Update.DBUpdateAction failed.
User does not have permission to perform this action.
10:27:49|  Error| System.Configuration.Install.InstallException ---> System.Exception: Action Microsoft.Crm.Setup.Common.Update.DBUpdateAction failed. ---> System.Data.SqlClient.SqlException: User does not have permission to perform this action.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Microsoft.Crm.CrmDbConnection.InternalExecuteNonQuery(IDbCommand command)
   at Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command, Boolean impersonate)
   at Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command)
   at Microsoft.Crm.Setup.Database.SharedDatabaseUtility.CreateLogin(CrmDbConnection connection, String user, Boolean enableTrace)
   at Microsoft.Crm.Setup.Database.SharedDatabaseUtility.CreateLogin(CrmDbConnection connection, String user)
   at Microsoft.Crm.Setup.Database.DatabaseUtility.CreateLogin(InstallDatabase database, String user)
   at Microsoft.Crm.Setup.Database.Helpers.GrantReportAccess(String user, String privReportingGroup, Guid organizationId)
   at Microsoft.Crm.Setup.Database.Helpers.GrantReportAccessForUpgrade(Guid organizationId)
   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.Setup.Common.Update.DBUpdateDatabaseInstaller.ServerInstall()
   at Microsoft.Crm.Setup.Common.Update.DBUpdateDatabaseInstaller.Install()
   at Microsoft.Crm.Setup.Common.Update.DBUpdateAction.Do(IDictionary parameters)
   at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action, IDictionary parameters, Boolean undo)
   --- End of inner exception stack trace ---
   at Microsoft.Crm.UpdateWrapper.UpdateSetup.Install(IDictionary data)
   at Microsoft.Crm.UpdateWrapper.UpdateSetup.Run()
   --- End of inner exception stack trace ---
   at Microsoft.Crm.UpdateWrapper.UpdateSetup.Run()
   at Microsoft.Crm.UpdateWrapper.UpdateSetup.InternalMain(String[] args)
10:28:04|   Info| === Managed setup logging started: 10/25/2011 10:28:04 AM ===
10:28:04|Verbose| Method entry: Microsoft.Crm.UpdateWrapper.UpdateSetup.Initialize
10:28:04|Verbose| Method entry: Microsoft.Crm.Setup.Common.SetupBase.Initialize
10:28:04|Verbose| Method exit: Microsoft.Crm.Setup.Common.SetupBase.Initialize
10:28:04|Verbose| Method exit: Microsoft.Crm.UpdateWrapper.UpdateSetup.Initialize
10:28:04|Verbose| Method entry: Microsoft.Crm.UpdateWrapper.UpdateSetup.Run
10:28:04|Warning| The specified /config file config.xml won't be used
10:28:04|Verbose| Method entry: Microsoft.Crm.Setup.Common.SetupBase.Run
10:28:04|Verbose| Method exit: Microsoft.Crm.Setup.Common.SetupBase.Run
10:28:04|Verbose| Method entry: Microsoft.Crm.Setup.Common.Update.UpdateUtility.VerifyRequiredKBsAreInstalled
10:28:04|Verbose| Method exit: Microsoft.Crm.Setup.Common.Update.UpdateUtility.VerifyRequiredKBsAreInstalled
10:28:04|   Info| Window Left: 200
10:28:04|   Info| Window Top: 200
10:28:13|   Info| InstallInfo.AdminTargetFolder:
10:28:13|   Info| InstallInfo.AllowRun: True
10:28:13|   Info| InstallInfo.CleanupRequired: False
10:28:13|   Info| InstallInfo.ConfigFile: config.xml
10:28:13|   Info| InstallInfo.CreateDatabase: True
10:28:13|   Info| InstallInfo.CurrentFolder: d:\fba4b12529fced04ec5f501f
10:28:13|   Info| InstallInfo.InstallAlways: False
10:28:13|   Info| InstallInfo.InstallingPackage: d:\fba4b12529fced04ec5f501f\Server_i386_KB977650_1033.msp
10:28:13|   Info| InstallInfo.InstallType: Install
10:28:13|   Info| InstallInfo.LocalPackage:
10:28:13|   Info| InstallInfo.LogFile: C:\Documents and Settings\greg.empey.z\Application Data\Microsoft\MSCRM\Logs\KB977650.log
10:28:13|   Info| InstallInfo.PackageName: Server_i386_KB977650_1033.msp
10:28:13|   Info| InstallInfo.RebootRequired: False
10:28:13|   Info| InstallInfo.SharedInstall: False
10:28:13|   Info| InstallInfo.SourceFolder: d:\fba4b12529fced04ec5f501f
10:28:13|   Info| InstallInfo.SuppressReboot: False
10:28:13|   Info| InstallInfo.TargetFolder: C:\WINDOWS\$CrmUninstallKB977650_Server$
10:28:13|   Info| InstallInfo.UIMode: Full
10:28:13|   Info| InstallInfo.UserCancel: False
10:28:13|   Info| IpcInfo.NoLock: True
10:28:13|   Info| ProductInfo.ExistingLanguage: 1033
10:28:13|   Info| ProductInfo.ExistingProductCode: bc8dd950-8100-42f4-9ea9-26fcd41690af
10:28:13|   Info| ProductInfo.ExistingVersion: 4.0.7333.3
10:28:13|   Info| ProductInfo.InstallState: Local
10:28:13|   Info| UpdateInstallInfo.Auto: False
10:28:13|   Info| UpdateInstallInfo.Component: Server
10:28:13|   Info| UpdateInstallInfo.ComponentInfo: Microsoft.Crm.Setup.Common.Update.ServerComponentInfo
10:28:13|   Info| UpdateInstallInfo.DbHotfix: True
10:28:13|   Info| UpdateInstallInfo.KBNumber: KB977650
10:28:13|   Info| UpdateInstallInfo.LanguageID: 1033
10:28:13|   Info| UpdateInstallInfo.PatchID: {F8A691CA-C377-4EEA-ADD0-B95A4197996B}
10:28:13|   Info| UpdateInstallInfo.ProductID: {BC8DD950-8100-42F4-9EA9-26FCD41690AF}
10:28:13|   Info| UpdateInstallInfo.PublishReports: None
10:28:13|   Info| UpdateInstallInfo.ReleaseType: Update Rollup 9
10:28:13|   Info| UpdateInstallInfo.Revision: 2644
10:28:13|Verbose| Method entry: Microsoft.Crm.UpdateWrapper.UpdateSetup.Install| System.Collections.Hashtable
10:28:13|Verbose| Method entry: Microsoft.Crm.UpdateWrapper.HotfixMspInstaller.Install
10:28:13|   Info| Creating DBUpdateInstallInfo table if it does not already exist
10:28:13|   Info| Populating DBUpdateInstallInfo with pre-7666 revision info according to HotfixList.xml
10:28:13|   Info| Could not find a part of the path 'C:\WINDOWS\$CrmUninstall\HotfixList.xml'.
10:28:14|   Info| InstallerException: User does not have permission to perform this action.
10:28:14|  Error| System.Exception: Action Microsoft.Crm.Setup.Common.Update.DBUpdateAction failed. ---> System.Data.SqlClient.SqlException: User does not have permission to perform this action.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Microsoft.Crm.CrmDbConnection.InternalExecuteNonQuery(IDbCommand command)
   at Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command, Boolean impersonate)
   at Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command)
   at Microsoft.Crm.Setup.Database.SharedDatabaseUtility.CreateLogin(CrmDbConnection connection, String user, Boolean enableTrace)
   at Microsoft.Crm.Setup.Database.SharedDatabaseUtility.CreateLogin(CrmDbConnection connection, String user)
   at Microsoft.Crm.Setup.Database.DatabaseUtility.CreateLogin(InstallDatabase database, String user)
   at Microsoft.Crm.Setup.Database.Helpers.GrantReportAccess(String user, String privReportingGroup, Guid organizationId)
   at Microsoft.Crm.Setup.Database.Helpers.GrantReportAccessForUpgrade(Guid organizationId)
   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.Setup.Common.Update.DBUpdateDatabaseInstaller.ServerInstall()
   at Microsoft.Crm.Setup.Common.Update.DBUpdateDatabaseInstaller.Install()
   at Microsoft.Crm.Setup.Common.Update.DBUpdateAction.Do(IDictionary parameters)
   at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action, IDictionary parameters, Boolean undo)
   --- End of inner exception stack trace ---, Error, RetryCancel, Option1
10:45:39|   Info| InputResult: Cancel
10:45:39|   Info| Creating DBUpdateInstallInfo table if it does not already exist
10:45:39|   Info| Populating DBUpdateInstallInfo with pre-7666 revision info according to HotfixList.xml
10:45:39|   Info| Retrieving dbUpdateIds that are ready to be uninstalled
10:45:40|   Info| Removing revision {0} from DBUpdateInstallInfo| 2644
10:45:40|   Info| Updating BuildVersion.Revision for all Organization Databases
10:45:40|   Info| InstallerException: Action Microsoft.Crm.Setup.Common.Update.DBUpdateAction failed.
10:45:40|  Error| Configuration exception.System.Exception: Action Microsoft.Crm.Setup.Common.Update.DBUpdateAction failed. ---> System.Data.SqlClient.SqlException: User does not have permission to perform this action.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Microsoft.Crm.CrmDbConnection.InternalExecuteNonQuery(IDbCommand command)
   at Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command, Boolean impersonate)
   at Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command)
   at Microsoft.Crm.Setup.Database.SharedDatabaseUtility.CreateLogin(CrmDbConnection connection, String user, Boolean enableTrace)
   at Microsoft.Crm.Setup.Database.SharedDatabaseUtility.CreateLogin(CrmDbConnection connection, String user)
   at Microsoft.Crm.Setup.Database.DatabaseUtility.CreateLogin(InstallDatabase database, String user)
   at Microsoft.Crm.Setup.Database.Helpers.GrantReportAccess(String user, String privReportingGroup, Guid organizationId)
   at Microsoft.Crm.Setup.Database.Helpers.GrantReportAccessForUpgrade(Guid organizationId)
   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.Setup.Common.Update.DBUpdateDatabaseInstaller.ServerInstall()
   at Microsoft.Crm.Setup.Common.Update.DBUpdateDatabaseInstaller.Install()
   at Microsoft.Crm.Setup.Common.Update.DBUpdateAction.Do(IDictionary parameters)
   at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action, IDictionary parameters, Boolean undo)
   --- End of inner exception stack trace ---
   at Microsoft.Crm.UpdateWrapper.UpdateSetup.Install(IDictionary data)
   at Microsoft.Crm.UpdateWrapper.UpdateSetup.Run()
10:45:40|Verbose| Update Not Completed
10:45:40|   Info| Update Rollup 9 for Microsoft Dynamics CRM Server (KB977650) was not completed successfully because of the following problems:
   
Action Microsoft.Crm.Setup.Common.Update.DBUpdateAction failed.
User does not have permission to perform this action.
Thank You,
Greg

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Make sure you are a Deployment Administrator within CRM (Note : being a deployment administrator is separate and apart from having "system administrator" priveleges in CRM = it's an assignment in the deployment administration tool - not a security role inside the regular CRM UI) -

    See this KB for all the required permissions: support.microsoft.com/.../946686  - Then make sure you are configured as Deployment Administrator in the tool.

  • Community Member Profile Picture
    on at

    Hi Scott,

    Thank you for the response.  Yes, I am a Deployment Administrator within the Deployment Manager Tool.

  • Community Member Profile Picture
    on at

    Greg - It does look like you are missing some permission on the db side - but if you are a deployment admin, you might check to make sure you still have the full permission set. - I have an environment where I'm a deployment admin, but for upgrades, they re-grant me local admin permissions on the database server etc. -

  • Gus Gonzalez Profile Picture
    27,113 on at

    Scott is right Greg, please ask them to make you a SQL sysadmin while you perform this process and you can tell them that they can remove the sysadmin permissions afterwards.

  • Community Member Profile Picture
    on at

    when you are the preferred vendor at a government location and they house the database, receiving sysadmin priveliges, is like asking Bill Gates for a cool million.  Not likely. :(

  • Community Member Profile Picture
    on at

    Totally understood. Any chance you can have the dbas set up a new deployment admin account (one that they control)  they can temporarily change the password to allow you to log in, update and then log out - and they change the password back - or they can log in for you and allow you to run the upgrade with your assistance. -

    The privileges needed cause challenges like this since CRM often is hosted on a shared SQL Server.

  • Gus Gonzalez Profile Picture
    27,113 on at

    Also, what has worked for me in the past in these type of situations is offering to perform the installation/upgrade/procedure via GoToMeeting if that makes them feel more comfortable.

    They normally agree.

  • Community Member Profile Picture
    on at

    Thank you for all of your help.  They agreed to perform the updates under my watchful eye.  So, we set up a Windows Live Meeting and executed Roll-Up 9.  We are good to go.

  • Verified answer
    Gus Gonzalez Profile Picture
    27,113 on at

    I'm glad that worked for you Greg. Can you mark the certified answer so the question will be move out of the "Unanswered Questions" pool? :)

    Thanks.

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 > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans