请问怎样注册SQLDMO.DLL组件?

wsw0515 2007-07-03 09:49:00
在项目中引用了SQLDMO.DLL本机可以运行,部署到其他机器就不行了,高手帮忙啊!
...全文
801 10 打赏 收藏 转发到动态 举报
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
shalen520 2007-07-03
  • 打赏
  • 举报
回复
Interop.SQLDMO.dll 仅仅是个wrapper,一个包装!
必须注册SQLDMO.dll及其依赖的其他组件

临时解决,你可以装个sql客户端
SassyBoy 2007-07-03
  • 打赏
  • 举报
回复
上msdn看看有没有解决的方法,我以前打包水晶报表也碰到这个问题,如果真的解决不了,就装个sql server吧。
wsw0515 2007-07-03
  • 打赏
  • 举报
回复
regsvr32 -s Interop.SQLDMO.dll注册没有任何提示
regsvr32 Interop.SQLDMO.dll:没有找到DllRegisterServer输入点
怎么回事啊?
wsw0515 2007-07-03
  • 打赏
  • 举报
回复
我用的是Interop.SQLDMO.dll ,解决方法相同吗?
小y的CSDN博客 2007-07-03
  • 打赏
  • 举报
回复
即制作项目的安装程序
小y的CSDN博客 2007-07-03
  • 打赏
  • 举报
回复
解决办法是打包项目
之后会自动帮你安装所有的dll文件
shalen520 2007-07-03
  • 打赏
  • 举报
回复
http://support.microsoft.com/kb/258157/zh-cn

你可以安装sql server的客户端,便可安装SQLDMO,也可以自行注册SQLDMO的运行库
hanmlxiao 2007-07-03
  • 打赏
  • 举报
回复
Following is the list of SQL-DMO related DLLs that you need to enable DMO from a client:
Sqldmo.dll
Sqldmo.rll
Sqlsvc.dll
Sqlsvc.rll
Sqlwoa.dll
Sqlresld.dll
Sqlwid.dll
W95scm.dll


do the following:
Add a directory called "Resources" to the location where the Sqldmo.dll resides.
Add a subdirectory under Resources called "1033".
In this directory, copy the Sqldmo.rll file.
When complete, the directory structure should look like:
Directory that contains Sqldmo.dll\Resources\1033

And that 1033 directory should contain the Sqldmo.rll file.


c:\regsvr32 /s- sqldmo.dll

詳細參考:
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q248/2/41.asp&NoWebContent=1
wsw0515 2007-07-03
  • 打赏
  • 举报
回复
多谢各位!结帖!
patrickpan 2007-07-03
  • 打赏
  • 举报
回复
我也曾遇到这个问题,最后这样解决的.
将以下文件存放在一个目录中
sqldmo.dll,sqlresld.dll,sqlsvc.dll,w95scm.dll
resources\2052\sqldmo.rll,resources\2052\sqlsvc.rll
运行regsvr32.exe 注册sqldmo.dll

110,561

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧