gpt4 book ai didi

sql-server - SQL Server 2016 快速安装错误 : attempted to perform an unauthorized operation

转载 作者:行者123 更新时间:2023-12-03 00:44:12 26 4
gpt4 key购买 nike

从来没想过在 Windows 10 上安装 SQL Server 2016 Express Edition 会这么糟糕。我同时安装了 SQL Server 2014 和 SQL Server 2012,主要使用 SQL Server 2014。然后我想我应该升级并尝试安装 SQL Server 2016。然后我收到此错误:

Attempted to perform an unauthorised operation error.

尝试对此进行搜索,并有关于修改注册表项权限的建议,因此我尝试修改一些与 SQL Server 相关的注册表项的某些权限,但这没有任何区别。

然后我继续搜索,发现有人建议这可能是版本冲突问题,因此我卸载了所有 SQL Server 安装,包括 2016 版本(未成功安装)并重新开始。 p>

现在两天多后我仍然无法安装 SQL Server。

下面是详细日志的部分,其中时间线与Windows事件日志中的错误时间线相符;无法粘贴整个详细日志,因为它太长。

EDIT1:经过更多搜索后,这是抛出的实际异常:

Exception type: Microsoft.SqlServer.Configuration.Sco.ScoException
(01) 2016-10-23 10:36:52 Slp: Message:
(01) 2016-10-23 10:36:52 Slp: Attempted to perform an unauthorized operation.
(01) 2016-10-23 10:36:52 Slp: HResult : 0x84bb0001
(01) 2016-10-23 10:36:52 Slp: FacilityCode : 1211 (4bb)
(01) 2016-10-23 10:36:52 Slp: ErrorCode : 1 (0001)
(01) 2016-10-23 10:36:52 Slp: Data:
(01) 2016-10-23 10:36:52 Slp: WatsonData = HKEY_LOCAL_MACHINE@SYSTEM\CurrentControlSet\Services\FltMgr
(01) 2016-10-23 10:36:52 Slp: DisableRetry = true
(01) 2016-10-23 10:36:52 Slp: HelpLink.EvtType = 0x48BB60BC@0xBB814387
(01) 2016-10-23 10:36:52 Slp: EMBResult = Cancel
(01) 2016-10-23 10:36:52 Slp: SQL.Setup.FailureCategory = ConfigurationFailure
(01) 2016-10-23 10:36:52 Slp: WatsonConfigActionData = INSTALL@CONFIGNONRC@SQL_ENGINE_CORE_INST
(01) 2016-10-23 10:36:52 Slp: WatsonExceptionFeatureIdsActionData = System.String[]
(01) 2016-10-23 10:36:52 Slp: Stack:
(01) 2016-10-23 10:36:52 Slp: at Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.OpenSubKey(String subkey, RegistryAccess requestedAccess)
(01) 2016-10-23 10:36:52 Slp: at Microsoft.SqlServer.Configuration.SqlEngine.Globals.GetSqlRegistryKeyHKLM(ServiceContainer context, String key, String machineName, Boolean createIfNotFound)
(01) 2016-10-23 10:36:52 Slp: at Microsoft.SqlServer.Configuration.SqlEngine.FilestreamUtils.SetFltMgrAttachWhenLoadedKey(ServiceContainer context)
(01) 2016-10-23 10:36:52 Slp: at Microsoft.SqlServer.Configuration.SqlEngine.RsFxConfiguration.Install()
(01) 2016-10-23 10:36:52 Slp: at Microsoft.SqlServer.Configuration.SqlEngine.FilestreamConfiguration.Install()
(01) 2016-10-23 10:36:52 Slp: at Microsoft.SqlServer.Configuration.SqlEngine.SqlEngineSetupPrivate.SetupFilestream(EffectiveProperties properties)
(01) 2016-10-23 10:36:52 Slp: at Microsoft.SqlServer.Configuration.SqlEngine.SqlEngineSetupPrivate.Install_ConfigNonRC_Prepare(EffectiveProperties properties)
(01) 2016-10-23 10:36:52 Slp: at Microsoft.SqlServer.Configuration.SqlEngine.SqlEngineSetupPrivate.Install(ConfigActionTiming timing, Dictionary`2 actionData, PublicConfigurationBase spcb)
(01) 2016-10-23 10:36:52 Slp: at Microsoft.SqlServer.Configuration.SqlConfigBase.PrivateConfigurationBase.Execute(ConfigActionScenario scenario, ConfigActionTiming timing, ConfigBaseAction action, Dictionary`2 actionData, PublicConfigurationBase spcbCurrent)
(01) 2016-10-23 10:36:52 Slp: at Microsoft.SqlServer.Configuration.SqlConfigBase.SqlFeatureConfigBase.Execute(ConfigActionScenario scenario, ConfigActionTiming timing, ConfigBaseAction action, Dictionary`2 actionData, PublicConfigurationBase spcbCurrent)
(01) 2016-10-23 10:36:52 Slp: at Microsoft.SqlServer.Configuration.SqlConfigBase.SlpConfigAction.ExecuteAction(String actionId)
(01) 2016-10-23 10:36:52 Slp: at Microsoft.SqlServer.Configuration.SqlConfigBase.SlpConfigAction.Execute(String actionId, TextWriter errorStream)
(01) 2016-10-23 10:36:52 Slp: Inner exception type: System.UnauthorizedAccessException
(01) 2016-10-23 10:36:52 Slp: Message:
(01) 2016-10-23 10:36:52 Slp: Attempted to perform an unauthorized operation.
(01) 2016-10-23 10:36:52 Slp: HResult : 0x80070005
(01) 2016-10-23 10:36:52 Slp: Stack:
(01) 2016-10-23 10:36:52 Slp: at Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.OpenSubKey(String subkey, RegistryAccess requestedAccess)

SQL 2016 install error

最佳答案

我很想找到这个问题的答案,但到处都没有。不是真实的,也不是完整的解释。

我唯一能提供帮助的是...它必须与从先前版本升级失败有关,某些东西潜伏在注册表中。尽管正如我所说,这个问题没有答案,顺便说一句,我认为这对微软来说是一种耻辱,但有很多人都在这样做。

最后,为了在 Windows 10(专业版)上安装 SQL 2016 sp 1,我必须完全重建我的电脑并在干净的 Windows 8.1 上安装,效果非常好。

然后我进行了 Windows 升级和 SQL 2016,所有已知的同事都完美运行。

这可能是您唯一的答案。

关于sql-server - SQL Server 2016 快速安装错误 : attempted to perform an unauthorized operation,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40196921/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com