我正在尝试在Windows XP计算机上安装SQL Server 2008 R2。
我只是尝试安装数据库引擎服务,我得到一个拒绝访问错误。以下是来自detail.txt文件的关键行。我不知道这意味着什么或如何解决它,
2011-01-21 14:44:47 Slp: Configuration action failed for feature SQL_Engine_Core_Inst during timing ConfigRC and scenario ConfigRC.
2011-01-21 14:44:47 Slp: Access is denied
2011-01-21 14:44:47 Slp: The configuration failure category of current exception is ConfigurationFailure
2011-01-21 14:44:47 Slp: Configuration action failed for feature SQL_Engine_Core_Inst during timing ConfigRC and scenario ConfigRC.
2011-01-21 14:44:47 Slp: System.ComponentModel.Win32Exception: Access is denied
2011-01-21 14:44:47 Slp: at System.Diagnostics.ProcessManager.OpenProcess(Int32 processId, Int32 access, Boolean throwIfExited)
2011-01-21 14:44:47 Slp: at System.Diagnostics.Process.GetProcessHandle(Int32 access, Boolean throwIfExited)
2011-01-21 14:44:47 Slp: at System.Diagnostics.Process.OpenProcessHandle()
2011-01-21 14:44:47 Slp: at System.Diagnostics.Process.get_Handle()
2011-01-21 14:44:47 Slp: at Microsoft.SqlServer.Configuration.SqlEngine.SqlServerServiceBase.WaitSqlServerStart(Process processSql)
2011-01-21 14:44:47 Slp: at Microsoft.SqlServer.Configuration.SqlEngine.SqlServerServiceSCM.StartSqlServer(String[] parameters)
2011-01-21 14:44:47 Slp: at Microsoft.SqlServer.Configuration.SqlEngine.SqlServerStartup.StartSQLServerForInstall(String sqlCollation, String masterFullPath, Boolean isConfiguringTemplateDBs, Boolean isSlipstreamRunning)
2011-01-21 14:44:47 Slp: at Microsoft.SqlServer.Configuration.SqlEngine.SqlEngineDBStartConfig.ConfigSQLServerSystemDatabases(EffectiveProperties properties, Boolean isConfiguringTemplateDBs, Boolean useInstallInputs)
2011-01-21 14:44:47 Slp: at Microsoft.SqlServer.Configuration.SqlEngine.SqlEngineDBStartConfig.DoCommonDBStartConfig(ConfigActionTiming timing)
2011-01-21 14:44:47 Slp: at Microsoft.SqlServer.Configuration.SqlEngine.SqlEngineDBStartConfig.Install(ConfigActionTiming timing, Dictionary`2 actionData, PublicConfigurationBase spcb)
2011-01-21 14:44:47 Slp: at Microsoft.SqlServer.Configuration.SqlConfigBase.PrivateConfigurationBase.Execute(ConfigActionScenario scenario, ConfigActionTiming timing, ConfigBaseAction action, Dictionary`2 actionData, PublicConfigurationBase spcbCurrent)
2011-01-21 14:44:47 Slp: at Microsoft.SqlServer.Configuration.SqlConfigBase.SqlFeatureConfigBase.Execute(ConfigActionScenario scenario, ConfigActionTiming timing, ConfigBaseAction action, Dictionary`2 actionData, PublicConfigurationBase spcbCurrent)
2011-01-21 14:44:47 Slp: at Microsoft.SqlServer.Configuration.SqlConfigBase.SlpConfigAction.ExecuteAction(String actionId)
2011-01-21 14:44:47 Slp: at Microsoft.SqlServer.Configuration.SqlConfigBase.SlpConfigAction.Execute(String actionId, TextWriter errorStream)
2011-01-21 14:44:47 Slp: Exception: System.ComponentModel.Win32Exception.
2011-01-21 14:44:47 Slp: Source: System.
2011-01-21 14:44:47 Slp: Message: Access is denied.
2011-01-21 14:44:47 Slp: Watson Bucket 1
Original Parameter Values
提前致谢。
鲍勃
答案 0 :(得分:4)
我找到了一个适用于其他论坛的解决方案。请参阅:
此故障通常是由系统或域策略从运行安装程序的管理员帐户中删除SeDebugPrivelege安全权限引起的。验证运行的帐户是否具有此权限。
打开组策略... 开始|运行|输入:gpedit.msc |好的 导航 计算机配置\ Windows设置\安全设置\本地策略\用户权限分配\调试程序
我们尝试运行设置的帐户应该在这里(除了该计算机上的本地管理员)。我包括在这里,重新启动服务器(这是强制性的,gpupdate / force将无法工作)并运行安装程序,这次成功。
SQL Server 2008安装程序需要此权限才能启动SQL Server进程并侦听一个事件,该事件会向SQL Server成功启动的设置发出信号。
答案 1 :(得分:1)
如果您使用DoD或许多其他政府图像,他们通常会将调试程序的用户权限分配作为安全措施。确保您正确地为您的帐户提供此访问权限。这包括您使用SQL安装的帐户。
答案 2 :(得分:0)
这是一个安全问题。最底层的错误“访问被拒绝”告诉你。除非通过Google搜索获得幸运,否则您需要在其上放置Process Monitor并捕获实际的拒绝访问权限以查看拒绝到的访问权限。
你会有大量的数据,但我的猜测是它可能正在尝试访问它没有权限的注册表项。