找不到指定的对象导出程序-------OPC Client

Jane_sl 2014-04-11 10:00:45
我在win7操作系统下开发的OPC客户端程序跟同是win7的OPC服务器通信的时候,服务器能连上,但是连上以后客户端立马就会报出标题中的错误:找不到指定的对象导出程序。错误码是:0x80070776。哪位大侠遇到过,这个怎么解决才好?
...全文
2269 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
qq_21336445 2014-09-27
  • 打赏
  • 举报
回复
后来解决了么,我也遇到了这个问题!烦,折腾了好久了都
Jane_sl 2014-04-15
  • 打赏
  • 举报
回复
引用 5 楼 diaodiaop 的回复:
http://bbs.csdn.net/topics/390462314 我用别人的DLL做过读取OPC变量的东西 你有代码 你下载看看能不能运行
谢谢你的回复。我试了下你这个dll,win7之间通信没有问题。有没有这三个dll文件的详细介绍?非常感谢哦!我一直用的是OpcAutomation.dll这个文件
by_封爱 版主 2014-04-15
  • 打赏
  • 举报
回复
http://bbs.csdn.net/topics/390462314 我用别人的DLL做过读取OPC变量的东西 你有代码 你下载看看能不能运行
Jane_sl 2014-04-15
  • 打赏
  • 举报
回复
哪位还有别的招吗?
Jane_sl 2014-04-15
  • 打赏
  • 举报
回复
还有另一种方法:This error occurs due to a known limitation in DCOM when connections are made through a NAT firewall. The discovery process connects to WMI on the workload being discovered, which runs on DCOM. In order to test this connection without attempting a discovery follow the steps below: 1. On the Migrate server, Protect server or Forge Management VM go to Start -> Run and run the following: wbemtest 2. Ensure the namespace is: \\%IP_address_of_machine_being_discovered%\root\cimv2 3. Enter the username and password as would be used to discover the machine 4. Click Connect 点了连接,也连接上了,但是依然是报那个错误
Jane_sl 2014-04-15
  • 打赏
  • 举报
回复
引用 1 楼 caozhy 的回复:
google "The object exporter specified was not found" 0x80070776
已经在谷歌上搜索过了,下面的办法试过了还是不行: You have to do the simple steps: 1: Open the host file in the path : C:\WINDOWS\system32\drivers\etc 2: Add your server's ip address and its name (eg. a.b.c.d xxxx) 3: Save the file 4: Run the code again.
by_封爱 版主 2014-04-15
  • 打赏
  • 举报
回复
引用 6 楼 Jane_sl 的回复:
我用别人的DLL做过读取OPC变量的东西 你有代码 你下载看看能不能运行
谢谢你的回复。我试了下你这个dll,win7之间通信没有问题。有没有这三个dll文件的详细介绍?非常感谢哦!我一直用的是OpcAutomation.dll这个文件[/quote] 我也是从别的地方弄下来的 整理而已..反正就是实现了读变量 我也没继续深入..
threenewbee 2014-04-11
  • 打赏
  • 举报
回复
google "The object exporter specified was not found" 0x80070776

111,128

社区成员

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

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

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