SQL Server Configuration Manager报Cannot connect to WMI provider错误

Cannot connect to WMI provider. You do not have permission or the server is unreachable. Note that you can only manage SQL Server 2005 and later servers with SQL Server Configuration Manager.无效类0x80041010

---Cannot connect to WMI provider. You do not have permission or the server is unreachable

https://docs.microsoft.com/en-us/troubleshoot/sql/tools/error-message-when-you-open-configuration-manager

To work around this problem, open a command prompt, type the following command, and then press ENTER:

mofcomp "%programfiles(x86)%\Microsoft SQL Server\*number*\Shared\sqlmgmproviderxpsp2up.mof"

Note For this command to succeed, the Sqlmgmproviderxpsp2up.mof file must be present in the %programfiles(x86)%\Microsoft SQL Server\*number*\Shared folder.

Microsoft SQL Server 2019--150

Microsoft SQL Server 2017--140

Microsoft SQL Server 2016--130

Microsoft SQL Server 2014--120

Microsoft SQL Server 2012--110

Microsoft SQL Server 2008 R2--100

Microsoft SQL Server 2008--100

Microsoft SQL Server 2005--90

对于sql server 2022:

mofcomp "%programfiles(x86)%\Microsoft SQL Server\160\Shared\sqlmgmprovider.mof"

相关推荐
csdn_aspnet7 天前
使用 Docker 运行 Microsoft SQL 数据库服务器
数据库·microsoft·docker·sqlserver
csdn_aspnet8 天前
生产环境中 SQL Server 的 Docker 使用建议
运维·microsoft·docker·容器·sqlserver
csdn_aspnet8 天前
如何在 Docker 上安装 SQL Server
运维·microsoft·docker·容器·sqlserver
csdn_aspnet9 天前
在 Docker 容器中本地运行 SQL Server
运维·docker·容器·sqlserver
杨凯凡11 天前
Spring Framework 7 原生重试与并发限制实战:@Retryable、@ConcurrencyLimit 能替代 Resilience4j 吗?
数据库·spring·sqlserver
码农阿豪25 天前
SQL Server数据迁移完成后,凌晨的数据库告警该怎么查?
数据库·sqlserver
实泽有之,无泽虚之1 个月前
SQL Server数据库备份与还原详解
数据库·sqlserver
吃一碗粉只付一碗钱1 个月前
16-SqlSugar多库ConfigId与按实体选连接
sqlserver·c#
handsome_sai1 个月前
SQL Server 快速入门
数据库·sqlserver
吃一碗粉只付一碗钱1 个月前
10-令牌里的用户主键不要明文
服务器·数据库·sql·sqlserver·c#