04-08-2010 09:00 AM
I am connecting to a National Instruments OPC server. My simple test app uses one indicator with its DataSocket property hard-coded to a tag on the OPC server.
This app will work on some machines and on others the DataSocket will never connect.
I believe it is DCOM issues. I have been comparing every aspect of a working and non-working machine and I have found one major difference.
Under the dcomcnfg, in the DCOM Config section, a working machine has an entry for "National Instruments Variable Engine". The non-working machines do not.
I do not know how I got this component installed on some machines and not others. If anyone could let me know how to get it installed or added to my build package I'd appreciate it.
Thanks,
Dave
Solved! Go to Solution.
04-08-2010 12:14 PM
I have resolved the issue.
I was publishing the software just by building an exe.
When I build an entire Installer I was able to add the DataSockets component to the install package.