当我尝试在我的 Windows Server 2003 R2 上访问 SQL 配置管理器时收到以下消息
“无法连接到 WMI 提供程序。您没有权限或服务器无法访问。请注意,您只能管理 SQL Server 2005 及更高版本带有 SQL Server 配置管理器的服务器。
一般故障 [0x80041001]"
也尝试使用以下解决方案,但错误仍然存在
解决方案是转到命令提示符,然后运行 mofcomp。
C:\Program Files\Microsoft SQL Server\90\Shared>mofcomp "C:\Program Files\Microsoft SQL Server\90\Shared\sqlmgmproviderxpsp2up.mof"
下面是命令的输出:
C:\Documents and Settings\Administrator>mofcomp "%programfiles(x86)%\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof"
Microsoft (R) 32-bit MOF Compiler Version 5.2.3790.1830
Copyright (c) Microsoft Corp. 1997-2001. All rights reserved.
Parsing MOF file: C:\Program Files (x86)\Microsoft SQL Server\100\Shared\sqlmgmp
roviderxpsp2up.mof
MOF file has been successfully parsed
Storing data in the repository...
An error occurred while opening the namespace for object 1 defined on lines 4 - 7:
Error Number: 0x80041001, Facility: WMI
Description: Generic failure
Compiler returned error 0x80041001
C:\Documents and Settings\Administrator>
谁能告诉这个问题如何解决?