Quantcast
Channel: ฟอรัม Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8428

attempted to perform an unauthorized operation error at installation

$
0
0

Hello,

I tried to install SQL SERVER 2012, but the installation crash at the beginning when it install the setup files. I solved this one by installing manually sqlsupport.msi. Strangely enough, after I look in the log, it seem that sql Server 2012 tried to access this file by specifing the wrong path (D:\375fad525cbcea2fd3f0895e26c21678\1033_enu_lp\x64\setup\x86\sqlsupport_msi instead of D:\375fad525cbcea2fd3f0895e26c21678\1033_enu_lp\x64\setup\sqlsupport_msi).

But now, it crash when it arrive at the "Installation Progress" step. More specifically, it crash when it run Install_sqlncli_Cpu64_Action.

Here a snippet of the log file:

Running Action: Install_sqlncli_Cpu64_Action
(01) 2013-07-19 15:22:50 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine 
(01) 2013-07-19 15:22:50 Slp: Sco: Attempting to open registry subkey 
(01) 2013-07-19 15:22:50 Slp: Sco: Attempting to open registry subkey SOFTWARE\Microsoft\VisualStudio\10.0
(01) 2013-07-19 15:22:50 Slp: Sco: Attempting to get registry value InstallDir
(01) 2013-07-19 15:22:50 Slp: Checkpoint: PREINSTALL_SQLNCLI_CPU64_ACTION
(01) 2013-07-19 15:22:50 Slp: Sco: Waiting for service 'msiserver' to accept the stop request.
(01) 2013-07-19 15:22:50 Slp: Sco: Attempting to open SC Manager
(01) 2013-07-19 15:22:50 Slp: Sco: Attempting to open service handle for service msiserver
(01) 2013-07-19 15:22:50 Slp: Sco: Attempting to close SC Manager
(01) 2013-07-19 15:22:50 Slp: Sco: Failed to get service status for service msiserver
(01) 2013-07-19 15:22:50 Slp: Prompting user if they want to retry this action due to the following failure:
(01) 2013-07-19 15:22:50 Slp: ----------------------------------------
(01) 2013-07-19 15:22:50 Slp: The following is an exception stack listing the exceptions in outermost to innermost order
(01) 2013-07-19 15:22:50 Slp: Inner exceptions are being indented
(01) 2013-07-19 15:22:50 Slp: 
(01) 2013-07-19 15:22:50 Slp: Exception type: Microsoft.SqlServer.Configuration.Sco.ScoException
(01) 2013-07-19 15:22:50 Slp:     Message: 
(01) 2013-07-19 15:22:50 Slp:         Attempted to perform an unauthorized operation.
(01) 2013-07-19 15:22:50 Slp:     HResult : 0x84bb0001
(01) 2013-07-19 15:22:50 Slp:         FacilityCode : 1211 (4bb)
(01) 2013-07-19 15:22:50 Slp:         ErrorCode : 1 (0001)
(01) 2013-07-19 15:22:50 Slp:     Data: 
(01) 2013-07-19 15:22:50 Slp:       WatsonData = msiserver
(01) 2013-07-19 15:22:50 Slp:       DisableRetry = true
(01) 2013-07-19 15:22:50 Slp:     Inner exception type: System.UnauthorizedAccessException
(01) 2013-07-19 15:22:50 Slp:         Message: 
(01) 2013-07-19 15:22:50 Slp:                 Attempted to perform an unauthorized operation.
(01) 2013-07-19 15:22:50 Slp:         Stack: 
(01) 2013-07-19 15:22:50 Slp:                 at Microsoft.SqlServer.Configuration.Sco.Service.OpenService()
(01) 2013-07-19 15:22:50 Slp:                 at Microsoft.SqlServer.Configuration.Sco.Service.QueryServiceStatus()
(01) 2013-07-19 15:22:50 Slp:                 at Microsoft.SqlServer.Configuration.Sco.Service.GetServiceStatus(ControlsAccepted& controlsAccepted)


Also, just to mention, I tried to install both x64 and x86 version. I also notice that the registry value InstallDir wasn't where sql server 2012 was looking (HKLM/System/Microsoft/VisualStudio/10.0), so I add it.

Anyone have the less idea of what going on ?

Thank you,

David


Viewing all articles
Browse latest Browse all 8428

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>