无法访问sql server配置管理器 [英] Unable to access sql server configuration manager

查看:50
本文介绍了无法访问sql server配置管理器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在删除 SQL Server 2008 R2 Express 后安装了 SQL Server 2008 R2 评估版.卸载后仍可访问 SQL Server 配置管理器,但现在无法再访问此错误:

I installed the evaluation version of SQL Server 2008 R2 after removing SQL Server 2008 R2 Express. SQL Server Configuration manager was still accessible after the un-installation but now it is no longer accessible with this error:

无法连接到 WMI 提供程序.您没有权限或无法访问服务器.请注意,您只能使用 SQL Server 配置管理器管理 SQL Server 2005 服务器.无效的类 [0x80041010]

Cannot connect to WMI provider. You do not have permission or the server is unreachable. Note that you can only manage SQL Server 2005 servers with SQL Server Configuration Manager. Invalid class [0x80041010]

文件 sqlmgmproviderxpsp2up.mof 位于我 PC 上的文件夹 C:\Program Files (x86)\Microsoft SQL Server\100\Shared 中.我试图在命令提示符中输入:

The file sqlmgmproviderxpsp2up.mof is found in the folder C:\Program Files (x86)\Microsoft SQL Server\100\Shared on my PC. I tried to type in the command prompt:

C:\Program Files (x86)\Microsoft SQL Server\100\Shared>mofcomp "C:\Program Files (x86)\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof"

但仍然收到拒绝访问错误.我无法找到这个问题的答案,有人有任何想法吗?

but still get the access denied error. I am unable to find the answer for this issue, does anyone have any ideas?

推荐答案

我也遇到了访问被拒绝错误.我的解决方案:

I've got access denied error too. And my solution:

  1. 右键单击cmd
  2. 选择以管理员身份运行
  3. 然后在command提示符下输入:

C:\Program Files (x86)> Microsoft SQL Server\100\Shared>mofcomp "C:\Program Files (x86)\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof"

C:\Program Files (x86)> Microsoft SQL Server\100\Shared>mofcomp "C:\Program Files (x86)\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof"

它对我有用.

这篇关于无法访问sql server配置管理器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆