`
yzmduncan
  • 浏览: 326674 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
文章分类
社区版块
存档分类
最新评论

装sqlserver2005遇到的蛋疼问题

阅读更多

在装Microsoft SQL Server 2005 Express Edition之后,进入Configuration Manager 不正常,弹出框:

 

无法连接到WMI提供程序。您没有权限或者无法访问服务器。请注意,您只能使用SQL Server 配置管理器来管理SQL Server 2005和更高版本的服务器。

找不到指定的模块。[0x8007007e]

 

解决方法:检查一下 windows下的system32 中是否有framedyn.dll这个系统文件,如果没有到system32 下的wbem文件中拷贝framedyn.dllsystem32 目录下。 我进到system32目录找framedyn.dll文件,果然没有找到,再进入system32\wbem目录,找framedyn.dll,拷贝到system32目下。再次进入配置管理器,这次终于成功了!!!问题终于解决了!!!这主要是通过Java 或者vc连接数据库遇到的问题。

还有一些方法参考:

 

1 右击我的电脑-->管理” 
2
本地用户和组内的Administrators组上双击,出现添加属性对话框。 
3
单击添加按钮,出现添加用户对话框 
4
单击高级按钮,再单击搜索(或是立即查找)按钮。注:此'NT AUTHORITY\NETWORK SERVICE'用户为系统内置帐户,无法直接添加。 
5
搜索结果内选择Network Service用户后,单击确定” 

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]

The solution is to go to a command prompt and then run mofcomp.

C:\Program Files\Microsoft SQL Server\Shared>mofcomp "C:\Program Files\Microsoft SQL Server\Shared\sqlmgmproviderxpsp2up.mof"

The output will look like below


Microsoft (R) 32-bit MOF Compiler Version 5.1.2600.2180
Copyright (c) Microsoft Corp. 1997-2001. All rights reserved.
Parsing MOF file: C:\Program Files\Microsoft SQL Server\Shared\sqlmgmprovider
xpsp2up.mof
MOF file has been successfully parsed
Storing data in the repository...
Done!

 

 

1
4
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics