尝试未经授权的操作 - SQL 2008 R2 安装

尝试未经授权的操作 - SQL 2008 R2 安装

我已经为此烦恼了好几天。在 Windows 7 机器上尝试安装 SQL 2008 R2 时,总是出现这个未经授权的错误。我更改了密钥的权限,但还是没解决... 创建了管理员用户,授予该密钥的特定权限,但还是没解决... 禁用了所有防火墙,从本地管理员安装,但还是没解决... 我没耐心了,也没主意了!:) 帮忙?

2012-07-06 13:09:11 Slp: Sco: Attempting to set value AppName 
2012-07-06 13:09:11 Slp: SetValue: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VSTAHostConfig\SSIS_ScriptComponent\2.0, Name = AppName 
2012-07-06 13:09:11 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine  
2012-07-06 13:09:11 SSIS: Processing Registry ACLs for SID 'S-1-5-21-2383144575-3599344511-819193542-1074' 
2012-07-06 13:09:11 Slp: Sco: Attempting to open registry subkey SOFTWARE\Microsoft\Microsoft SQL Server\100 
2012-07-06 13:09:11 SSIS: Setting permision on registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\100. 
2012-07-06 13:09:11 Slp: Sco: Attempting to replace account with sid in security descriptor D:(A;OICI;KR;;;S-1-5-21-2383144575-3599344511-819193542-1074) 
2012-07-06 13:09:11 Slp: ReplaceAccountWithSidInSddl -- SDDL to be processed:  D:(A;OICI;KR;;;S-1-5-21-2383144575-3599344511-819193542-1074) 
2012-07-06 13:09:11 Slp: ReplaceAccountWithSidInSddl -- SDDL to be returned:  D:(A;OICI;KR;;;S-1-5-21-2383144575-3599344511-819193542-1074) 
2012-07-06 13:09:11 Slp: Sco: Attempting to set security descriptor D:(A;OICI;KR;;;S-1-5-21-2383144575-3599344511-819193542-1074) 
2012-07-06 13:09:11 Slp: Sco: Attempting to normalize security descriptor D:(A;OICI;KR;;;S-1-5-21-2383144575-3599344511-819193542-1074) 
2012-07-06 13:09:11 Slp: Sco: Attempting to replace account with sid in security descriptor D:(A;OICI;KR;;;S-1-5-21-2383144575-3599344511-819193542-1074) 
2012-07-06 13:09:11 Slp: ReplaceAccountWithSidInSddl -- SDDL to be processed:  D:(A;OICI;KR;;;S-1-5-21-2383144575-3599344511-819193542-1074) 
2012-07-06 13:09:11 Slp: ReplaceAccountWithSidInSddl -- SDDL to be returned:  D:(A;OICI;KR;;;S-1-5-21-2383144575-3599344511-819193542-1074) 
2012-07-06 13:09:11 Slp: Sco: Attempting to normalize security descriptor D:(A;OICI;KR;;;S-1-5-21-2383144575-3599344511-819193542-1074) 
2012-07-06 13:09:11 Slp: Sco: Attempting to replace account with sid in security descriptor D:(A;OICI;KR;;;S-1-5-21-2383144575-3599344511-819193542-1074) 
2012-07-06 13:09:11 Slp: ReplaceAccountWithSidInSddl -- SDDL to be processed:  D:(A;OICI;KR;;;S-1-5-21-2383144575-3599344511-819193542-1074) 
2012-07-06 13:09:11 Slp: ReplaceAccountWithSidInSddl -- SDDL to be returned:  D:(A;OICI;KR;;;S-1-5-21-2383144575-3599344511-819193542-1074) 
2012-07-06 13:09:11 Slp: Prompting user if they want to retry this action due to the following failure: 
2012-07-06 13:09:11 Slp:
---------------------------------------- 
2012-07-06 13:09:11 Slp: The following is an exception stack listing the exceptions in outermost to innermost order 
2012-07-06 13:09:11 Slp: Inner exceptions are being indented 
2012-07-06 13:09:11 Slp:  2012-07-06 13:09:11 Slp: Exception type: Microsoft.SqlServer.Configuration.Sco.ScoException 
2012-07-06 13:09:11 Slp:     Message:  
2012-07-06 13:09:11 Slp:         Attempted to perform an unauthorized operation. 
2012-07-06 13:09:11 Slp:     Data:  
2012-07-06 13:09:11 Slp:       WatsonData = 100 
2012-07-06 13:09:11 Slp:       DisableRetry = true 
2012-07-06 13:09:11 Slp:     Inner exception type: System.UnauthorizedAccessException 
2012-07-06 13:09:11 Slp:         Message:  
2012-07-06 13:09:11 Slp:               Attempted to perform an unauthorized operation. 
2012-07-06 13:09:11 Slp:         Stack:  
2012-07-06 13:09:11 Slp:                 at System.Security.AccessControl.Win32.GetSecurityInfo(ResourceType resourceType, String name, SafeHandle handle, AccessControlSections accessControlSections, RawSecurityDescriptor& resultSd) 
2012-07-06 13:09:11 Slp:                 at System.Security.AccessControl.NativeObjectSecurity.CreateInternal(ResourceType resourceType, Boolean isContainer, String name, SafeHandle handle, AccessControlSections includeSections, Boolean createByName, ExceptionFromErrorCode exceptionFromErrorCode, Object exceptionContext) 
2012-07-06 13:09:11 Slp:                 at Microsoft.SqlServer.Configuration.Sco.SqlRegistrySecurity..ctor(ResourceType resourceType, SafeRegistryHandle handle, AccessControlSections includeSections) 
2012-07-06 13:09:11 Slp:                 at Microsoft.SqlServer.Configuration.Sco.SqlRegistrySecurity.Create(InternalRegistryKey key) 
2012-07-06 13:09:11 Slp:                 at Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.GetAccessControl() 
2012-07-06 13:09:11 Slp:                 at Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.SetSecurityDescriptor(String sddl, Boolean overwrite) 
2012-07-06 13:09:11 Slp:
---------------------------------------- 
2012-07-06 13:09:24 Slp: User has chosen to retry this action 
2012-07-06 13:09:24 Slp: Sco: Attempting to normalize security descriptor D:(A;OICI;KR;;;S-1-5-21-2383144575-3599344511-819193542-1074) 
2012-07-06 13:09:24 Slp: Sco: Attempting to replace account with sid in security descriptor D:(A;OICI;KR;;;S-1-5-21-2383144575-3599344511-819193542-1074) 
2012-07-06 13:09:24 Slp: ReplaceAccountWithSidInSddl -- SDDL to be processed:  D:(A;OICI;KR;;;S-1-5-21-2383144575-3599344511-819193542-1074) 
2012-07-06 13:09:24 Slp: ReplaceAccountWithSidInSddl -- SDDL to be returned:  D:(A;OICI;KR;;;S-1-5-21-2383144575-3599344511-819193542-1074) 
2012-07-06 13:09:24 Slp: Sco: Attempting to normalize security descriptor D:(A;OICI;KR;;;S-1-5-21-2383144575-3599344511-819193542-1074) 
2012-07-06 13:09:24 Slp: Sco: Attempting to replace account with sid in security descriptor D:(A;OICI;KR;;;S-1-5-21-2383144575-3599344511-819193542-1074) 
2012-07-06 13:09:24 Slp: ReplaceAccountWithSidInSddl -- SDDL to be processed:  D:(A;OICI;KR;;;S-1-5-21-2383144575-3599344511-819193542-1074) 
2012-07-06 13:09:24 Slp: ReplaceAccountWithSidInSddl -- SDDL to be returned:  D:(A;OICI;KR;;;S-1-5-21-2383144575-3599344511-819193542-1074) 
2012-07-06 13:09:24 Slp: Prompting user if they want to retry this action due to the following failure: 
2012-07-06 13:09:24 Slp:
----------------------------------------

答案1

您是否尝试过右键单击 setup.exe 并选择“以管理员身份运行”?我看到您尝试以本地管理员身份安装,但我仍然看到 SQL 2008 R2 安装有些问题。

您是从 DVD、文件的本地副本还是网络共享安装?如果安装程序是从网络共享流式传输,则其行为会有所不同。服务包也是如此。

答案2

当文件被标记为来自另一台计算机时,SQL Server 安装程序就会发生这种情况。

右键单击安装程序并调出属性。在常规选项卡中,查看底部附近的安全说明,然后单击 [解除阻止] 按钮。

在此处输入图片描述

相关内容