Hello,
thanks for your anserwers, but well i get no no connection to my OPC
Server...
i use the wonderware DassiDirect - ProgID -
connectionInformation.setProgId("ArchestrA.DASSIDirect.1");
When i execute it then i get some Errors ->
Exception in thread "main" org.jinterop.dcom.common.JIException: The
system cannot find the file specified. Please check the path provided
as parameter. If this exception is being thrown from the WinReg
package, please check if the library is registered properly or do so
using regsvr32. [0x00000002]
at
org.jinterop.winreg.smb.JIWinRegStub.winreg_OpenKey(JIWinRegStub.java:
184)
at org.jinterop.dcom.core.JIProgId.getIdFromWinReg(JIProgId.java:123)
at
org.jinterop.dcom.core.JIProgId.getCorrespondingCLSID(JIProgId.java:
154)
at org.jinterop.dcom.core.JIComServer.<init>(JIComServer.java:395)
at org.openscada.opc.lib.da.Server.connect(Server.java:123)
at OpcConnectors.OpcConnect.main(OpcConnect.java:33)
Caused by: org.jinterop.dcom.common.JIRuntimeException: The system
cannot find the file specified. Please check the path provided as
parameter. If this exception is being thrown from the WinReg package,
please check if the library is registered properly or do so using
regsvr32. [0x00000002]
at org.jinterop.winreg.IJIWinReg$openKey.read(IJIWinReg.java:939)
at ndr.NdrObject.decode(NdrObject.java:19)
at
rpc.ConnectionOrientedEndpoint.call(ConnectionOrientedEndpoint.java:
138)
at rpc.Stub.call(Stub.java:112)
at
org.jinterop.winreg.smb.JIWinRegStub.winreg_OpenKey(JIWinRegStub.java:
178)
... 5 more
I've looked at the JInteropt-Site but i didnt found anything - only
maybe the the ports are not open.
Ports are open and the Server is running at my localhost, i get Acees
from other Programs - Well you have some more advices for me ?
Thanks
On 6 Mai, 20:01, Jens Reimann <
ctron1...@gmail.com> wrote:
> You can also open a connection using the more readable ProgId
> Am 05.05.2011 12:14 schrieb "Guillecs" <
guillec...@gmail.com>: