Hi everybody!
OS: Windows 7 Enterprise, 32-bit
I'm having a lot of trouble installing the Service Pack 3 update for SQL Server 2012. When done through Windows Update, it fails with the error code 84BB0001.
I then tried installing the update manually and get the error:
Attempted to perform an unauthorized operation.
Error code 0x84BB0001.
I've tried uninstalling everything related to SQL Server, and now I cannot even install it again without the same error above.
Here is a part of the log from the installation:
(01) 2016-01-27 12:49:11 Slp: Sco: Attempting to open registry subkey {C1E2ED51-6345-6C38-9F8E-0E3F8FB11FF6} (01) 2016-01-27 12:49:11 Slp: Sco: Attempting to get registry value SQLProductPatchFamilyCode (01) 2016-01-27 12:49:11 Slp: Sco: Attempting to get registry value ProductId (01) 2016-01-27 12:49:11 Slp: Sco: Attempting to open registry subkey {C25215FC-5900-48B0-B93C-8D3379027312} (01) 2016-01-27 12:49:11 Slp: Sco: Attempting to get registry value SQLProductPatchFamilyCode (01) 2016-01-27 12:49:11 Slp: Sco: Attempting to get registry value ProductId (01) 2016-01-27 12:49:11 Slp: Sco: Attempting to open registry subkey {C44506FC-B846-4782-AC2B-8C30236CE075} (01) 2016-01-27 12:49:11 Slp: Prompting user if they want to retry this action due to the following failure: (01) 2016-01-27 12:49:11 Slp: ---------------------------------------- (01) 2016-01-27 12:49:11 Slp: The following is an exception stack listing the exceptions in outermost to innermost order (01) 2016-01-27 12:49:11 Slp: Inner exceptions are being indented (01) 2016-01-27 12:49:11 Slp: (01) 2016-01-27 12:49:11 Slp: Exception type: Microsoft.SqlServer.Configuration.Sco.ScoException (01) 2016-01-27 12:49:11 Slp: Message: (01) 2016-01-27 12:49:11 Slp: Attempted to perform an unauthorized operation. (01) 2016-01-27 12:49:11 Slp: HResult : 0x84bb0001 (01) 2016-01-27 12:49:11 Slp: FacilityCode : 1211 (4bb) (01) 2016-01-27 12:49:11 Slp: ErrorCode : 1 (0001) (01) 2016-01-27 12:49:11 Slp: Data: (01) 2016-01-27 12:49:11 Slp: WatsonData = Uninstall@{C44506FC-B846-4782-AC2B-8C30236CE075} (01) 2016-01-27 12:49:11 Slp: DisableRetry = true (01) 2016-01-27 12:49:11 Slp: Inner exception type: System.UnauthorizedAccessException (01) 2016-01-27 12:49:11 Slp: Message: (01) 2016-01-27 12:49:11 Slp: Attempted to perform an unauthorized operation. (01) 2016-01-27 12:49:11 Slp: HResult : 0x80070005 (01) 2016-01-27 12:49:11 Slp: Stack: (01) 2016-01-27 12:49:11 Slp: at Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.OpenSubKey(String subkey, RegistryAccess requestedAccess) (01) 2016-01-27 12:49:11 Slp:
And one more log:
,
(01) 2016-01-27 13:14:34 Slp: Error: Action "Microsoft.SqlServer.Configuration.MsiExtension.SetPatchInstallStateAction" threw an exception during execution. (01) 2016-01-27 13:14:34 Slp: Microsoft.SqlServer.Setup.Chainer.Workflow.ActionExecutionException: Attempted to perform an unauthorized operation. ---> Microsoft.SqlServer.Configuration.Sco.ScoException: Attempted to perform an unauthorized operation. ---> System.UnauthorizedAccessException: Attempted to perform an unauthorized operation. (01) 2016-01-27 13:14:34 Slp: at Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.OpenSubKey(String subkey, RegistryAccess requestedAccess) (01) 2016-01-27 13:14:34 Slp: --- End of inner exception stack trace --- (01) 2016-01-27 13:14:34 Slp: at Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.OpenSubKey(String subkey, RegistryAccess requestedAccess) (01) 2016-01-27 13:14:34 Slp: at Microsoft.SqlServer.Configuration.Sco.SqlRegistryKey.OpenSubKey(String subkey, RegistryAccess requestedAccess) (01) 2016-01-27 13:14:34 Slp: at Microsoft.SqlServer.Configuration.MsiExtension.ArpRegKey.CleanupPatchedProductRegistryInfo() (01) 2016-01-27 13:14:34 Slp: at Microsoft.SqlServer.Configuration.MsiExtension.SetPatchInstallStateAction.ExecuteAction(String actionId) (01) 2016-01-27 13:14:34 Slp: at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream) (01) 2016-01-27 13:14:34 Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun, ServiceContainer context) (01) 2016-01-27 13:14:34 Slp: --- End of inner exception stack trace --- (01) 2016-01-27 13:14:34 Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun, ServiceContainer context) (01) 2016-01-27 13:14:34 Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionWithRetryHelper(WorkflowObject metaDb, ActionKey action, ActionMetadata actionMetadata, TextWriter statusStream) (01) 2016-01-27 13:14:34 Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream) (01) 2016-01-27 13:14:34 Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream) (01) 2016-01-27 13:14:34 Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionEngine.RunActionQueue() (01) 2016-01-27 13:14:34 Slp: Error: Action "Microsoft.SqlServer.Configuration.BootstrapExtension.ExecuteWorkflowAction" threw an exception during execution. (01) 2016-01-27 13:14:34 Slp: Microsoft.SqlServer.Setup.Chainer.Workflow.ActionExecutionException: Attempted to perform an unauthorized operation. ---> Microsoft.SqlServer.Configuration.Sco.ScoException: Attempted to perform an unauthorized operation. ---> System.UnauthorizedAccessException: Attempted to perform an unauthorized operation. (01) 2016-01-27 13:14:34 Slp: at Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.OpenSubKey(String subkey, RegistryAccess requestedAccess) (01) 2016-01-27 13:14:34 Slp: --- End of inner exception stack trace --- (01) 2016-01-27 13:14:34 Slp: at Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.OpenSubKey(String subkey, RegistryAccess requestedAccess) (01) 2016-01-27 13:14:34 Slp: at Microsoft.SqlServer.Configuration.Sco.SqlRegistryKey.OpenSubKey(String subkey, RegistryAccess requestedAccess) (01) 2016-01-27 13:14:34 Slp: at Microsoft.SqlServer.Configuration.MsiExtension.ArpRegKey.CleanupPatchedProductRegistryInfo() (01) 2016-01-27 13:14:34 Slp: at Microsoft.SqlServer.Configuration.MsiExtension.SetPatchInstallStateAction.ExecuteAction(String actionId) (01) 2016-01-27 13:14:34 Slp: at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream) (01) 2016-01-27 13:14:34 Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun, ServiceContainer context) (01) 2016-01-27 13:14:34 Slp: --- End of inner exception stack trace --- (01) 2016-01-27 13:14:34 Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun, ServiceContainer context) (01) 2016-01-27 13:14:34 Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionWithRetryHelper(WorkflowObject metaDb, ActionKey action, ActionMetadata actionMetadata, TextWriter statusStream) (01) 2016-01-27 13:14:34 Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream) (01) 2016-01-27 13:14:34 Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream) (01) 2016-01-27 13:14:34 Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionEngine.RunActionQueue() (01) 2016-01-27 13:14:34 Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.Workflow.RunWorkflow(WorkflowObject workflowObject, HandleInternalException exceptionHandler) (01) 2016-01-27 13:14:34 Slp: at Microsoft.SqlServer.Configuration.BootstrapExtension.ExecuteWorkflowAction.ExecuteAction(String actionId) (01) 2016-01-27 13:14:34 Slp: at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream) (01) 2016-01-27 13:14:34 Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun, ServiceContainer context) (01) 2016-01-27 13:14:34 Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionWithRetryHelper(WorkflowObject metaDb, ActionKey action, ActionMetadata actionMetadata, TextWriter statusStream) (01) 2016-01-27 13:14:34 Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream) (01) 2016-01-27 13:14:34 Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream) (01) 2016-01-27 13:14:35 Slp: Received request to add the following file to Watson reporting: C:\Users\dto\AppData\Local\Temp\tmp449E.tmp (01) 2016-01-27 13:14:35 Slp: The following is an exception stack listing the exceptions in outermost to innermost order (01) 2016-01-27 13:14:35 Slp: Inner exceptions are being indented (01) 2016-01-27 13:14:35 Slp: (01) 2016-01-27 13:14:35 Slp: Exception type: Microsoft.SqlServer.Configuration.Sco.ScoException (01) 2016-01-27 13:14:35 Slp: Message: (01) 2016-01-27 13:14:35 Slp: Attempted to perform an unauthorized operation. (01) 2016-01-27 13:14:35 Slp: HResult : 0x84bb0001 (01) 2016-01-27 13:14:35 Slp: FacilityCode : 1211 (4bb) (01) 2016-01-27 13:14:35 Slp: ErrorCode : 1 (0001) (01) 2016-01-27 13:14:35 Slp: Data: (01) 2016-01-27 13:14:35 Slp: WatsonData = Uninstall@{C44506FC-B846-4782-AC2B-8C30236CE075} (01) 2016-01-27 13:14:35 Slp: DisableRetry = true (01) 2016-01-27 13:14:35 Slp: HelpLink.EvtType = 0xEF814B06@0x92D13C14 (01) 2016-01-27 13:14:35 Slp: EMBResult = Cancel (01) 2016-01-27 13:14:35 Slp: Stack: (01) 2016-01-27 13:14:35 Slp: at Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.OpenSubKey(String subkey, RegistryAccess requestedAccess) (01) 2016-01-27 13:14:35 Slp: at Microsoft.SqlServer.Configuration.Sco.SqlRegistryKey.OpenSubKey(String subkey, RegistryAccess requestedAccess) (01) 2016-01-27 13:14:35 Slp: at Microsoft.SqlServer.Configuration.MsiExtension.ArpRegKey.CleanupPatchedProductRegistryInfo() (01) 2016-01-27 13:14:35 Slp: at Microsoft.SqlServer.Configuration.MsiExtension.SetPatchInstallStateAction.ExecuteAction(String actionId) (01) 2016-01-27 13:14:35 Slp: at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream) (01) 2016-01-27 13:14:35 Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun, ServiceContainer context) (01) 2016-01-27 13:14:35 Slp: Inner exception type: System.UnauthorizedAccessException (01) 2016-01-27 13:14:35 Slp: Message: (01) 2016-01-27 13:14:35 Slp: Attempted to perform an unauthorized operation. (01) 2016-01-27 13:14:35 Slp: HResult : 0x80070005 (01) 2016-01-27 13:14:35 Slp: Stack: (01) 2016-01-27 13:14:35 Slp: at Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.OpenSubKey(String subkey, RegistryAccess requestedAccess)
The error is happening to several users and I'm lost as to what is wrong.
I've made sure I'm admin on the computer, running the setup is admin. I've also created a local user account with admin priv. and the error still shows up.
Any ideas?