我正在尝试安装 SQL Server 2008,但无法完成。我尝试过卸载甚至手动卸载。
我尝试过按照这个指南http://www.intellitechture.com/sql-server-2008-install-nightmare/但我就是搞不清楚这个错误。如果有人知道如何修复这个问题,我将非常欢迎。谢谢。
我正在使用 Windows 7 并且以普通管理员用户身份登录。
2010-11-07 11:17:58 SQLBrowser: sRegLocation = 'SOFTWARE\Microsoft\Microsoft SQL Server', regView = 'ProcessDefault', sSddl = '(A;CI;KR;;;[SQLServer2005SQLBrowserUser$DANIEL-PC])', bOptional = 'False'.
2010-11-07 11:17:58 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine
2010-11-07 11:17:58 Slp: Sco: Attempting to open registry subkey SOFTWARE\Microsoft\Microsoft SQL Server
2010-11-07 11:17:58 Slp: Sco: Attempting to replace account with sid in security descriptor (A;CI;KR;;;[SQLServer2005SQLBrowserUser$DANIEL-PC])
2010-11-07 11:17:58 Slp: ReplaceAccountWithSidInSddl -- SDDL to be processed: (A;CI;KR;;;[SQLServer2005SQLBrowserUser$DANIEL-PC])
2010-11-07 11:17:58 Slp: Sco: Account name to be translated into SID: SQLServer2005SQLBrowserUser$DANIEL-PC
2010-11-07 11:17:58 Slp: Sco: Attempting to get account sid for user account SQLServer2005SQLBrowserUser$DANIEL-PC
2010-11-07 11:17:58 Slp: Sco: Attempting to get sid for user account SQLServer2005SQLBrowserUser$DANIEL-PC
2010-11-07 11:17:58 Slp: Sco: GetSidForAccount normalized accountName SQLServer2005SQLBrowserUser$DANIEL-PC parameter to SQLServer2005SQLBrowserUser$DANIEL-PC
2010-11-07 11:17:58 Slp: Sco: Account name is translated into: S-1-5-21-3917135324-3775861390-1902975589-1031
2010-11-07 11:17:58 Slp: Sco: Final security descriptor: (A;CI;KR;;;S-1-5-21-3917135324-3775861390-1902975589-1031)
2010-11-07 11:17:58 Slp: Sco: Attempting to set security descriptor (A;CI;KR;;;S-1-5-21-3917135324-3775861390-1902975589-1031)
2010-11-07 11:17:58 Slp: Sco: Attempting to normalize security descriptor (A;CI;KR;;;S-1-5-21-3917135324-3775861390-1902975589-1031)
2010-11-07 11:17:58 Slp: Sco: Adding 'D:' DACL identifier to the input security descriptor (A;CI;KR;;;S-1-5-21-3917135324-3775861390-1902975589-1031)
2010-11-07 11:17:58 Slp: Sco: Attempting to replace account with sid in security descriptor D:(A;CI;KR;;;S-1-5-21-3917135324-3775861390-1902975589-1031)
2010-11-07 11:17:58 Slp: ReplaceAccountWithSidInSddl -- SDDL to be processed: D:(A;CI;KR;;;S-1-5-21-3917135324-3775861390-1902975589-1031)
2010-11-07 11:17:58 Slp: ReplaceAccountWithSidInSddl -- SDDL to be returned: D:(A;CI;KR;;;S-1-5-21-3917135324-3775861390-1902975589-1031)
2010-11-07 11:17:58 Slp: Sco: Attempting to normalize security descriptor D:(A;CI;KR;;;S-1-5-21-3917135324-3775861390-1902975589-1031)
2010-11-07 11:17:58 Slp: Sco: Attempting to replace account with sid in security descriptor D:(A;CI;KR;;;S-1-5-21-3917135324-3775861390-1902975589-1031)
2010-11-07 11:17:58 Slp: ReplaceAccountWithSidInSddl -- SDDL to be processed: D:(A;CI;KR;;;S-1-5-21-3917135324-3775861390-1902975589-1031)
2010-11-07 11:17:58 Slp: ReplaceAccountWithSidInSddl -- SDDL to be returned: D:(A;CI;KR;;;S-1-5-21-3917135324-3775861390-1902975589-1031)
2010-11-07 11:17:58 Slp: Prompting user if they want to retry this action due to the following failure:
2010-11-07 11:17:58 Slp: ----------------------------------------
2010-11-07 11:17:58 Slp: The following is an exception stack listing the exceptions in outermost to innermost order
2010-11-07 11:17:58 Slp: Inner exceptions are being indented
2010-11-07 11:17:58 Slp:
2010-11-07 11:17:58 Slp: Exception type: Microsoft.SqlServer.Configuration.Sco.ScoException
2010-11-07 11:17:58 Slp: Message:
2010-11-07 11:17:58 Slp: Attempted to perform an unauthorized operation.
2010-11-07 11:17:58 Slp: Data:
2010-11-07 11:17:58 Slp: WatsonData = Microsoft SQL Server
2010-11-07 11:17:58 Slp: DisableRetry = true
2010-11-07 11:17:58 Slp: Inner exception type: System.UnauthorizedAccessException
2010-11-07 11:17:58 Slp: Message:
2010-11-07 11:17:58 Slp: Attempted to perform an unauthorized operation.
2010-11-07 11:17:58 Slp: Stack:
2010-11-07 11:17:58 Slp: at System.Security.AccessControl.Win32.GetSecurityInfo(ResourceType resourceType, String name, SafeHandle handle, AccessControlSections accessControlSections, RawSecurityDescriptor& resultSd)
2010-11-07 11:17:58 Slp: at System.Security.AccessControl.NativeObjectSecurity.CreateInternal(ResourceType resourceType, Boolean isContainer, String name, SafeHandle handle, AccessControlSections includeSections, Boolean createByName, ExceptionFromErrorCode exceptionFromErrorCode, Object exceptionContext)
2010-11-07 11:17:58 Slp: at Microsoft.SqlServer.Configuration.Sco.SqlRegistrySecurity..ctor(ResourceType resourceType, SafeRegistryHandle handle, AccessControlSections includeSections)
2010-11-07 11:17:58 Slp: at Microsoft.SqlServer.Configuration.Sco.SqlRegistrySecurity.Create(InternalRegistryKey key)
2010-11-07 11:17:58 Slp: at Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.GetAccessControl()
2010-11-07 11:17:58 Slp: at Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.SetSecurityDescriptor(String sddl, Boolean overwrite)
2010-11-07 11:17:58 Slp: ----------------------------------------
答案1
在我看来,这似乎是一些权限问题System.Security.AccessControl.Win32.GetSecurityInfo
。您说您是以普通管理员身份登录的(您说的相同是什么意思?)。当您点击 setup.exe 时,它会提示您提升权限,然后安装将继续进行。