引用了opcdadata.dll err中详细的: --------------------------- 提示信息 --------------------------- 枚举本地OPC服务器出错:System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component. at OPCAutomation.OPCServerClass.GetOPCServers(Object Node) at OPC测试通过.MainFrom.GetLocalServer() in E:\OPC测试通过\OPC测试通过\MainFrom.cs:line 103 --------------------------- OK ---------------------------
err中详细的:
---------------------------
提示信息
---------------------------
枚举本地OPC服务器出错:System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component. at OPCAutomation.OPCServerClass.GetOPCServers(Object Node) at OPC测试通过.MainFrom.GetLocalServer() in E:\OPC测试通过\OPC测试通过\MainFrom.cs:line 103
---------------------------
OK
---------------------------
你的找opcdadata.dll的文档看看,或者它的Support问问。应该大部分人都没有碰到过这种问题
这个可能遇到相同的问题,哎
看这个帖子正常的环境下,发布的OPC我在客户端读取是没问题的.至于报错 有2点 第一就是权限 第二就是客户机的环境