Joel Posted November 14, 2013 Report Posted November 14, 2013 Just installed UniOPC on my Win 7 PC and got to a point in the setup instructions that did not work as described. Then I discovered that opcenum.exe is not on my Win7 PC where expected (Windows\system32\). It looks like this is an OPC Foundation redistributable file that probably should have been installed with UniOPC. Or am I wrong? Also, I cannot find this file for download, not even at the OPC Foundation website. Incidentally, I did not disable UAC when installing UniOPC, if that makes a difference. Any help is appreciated.
Joel Posted November 15, 2013 Author Report Posted November 15, 2013 Okay, I think I've found the problem. Opcenum.exe is installed in the "C:\Windows\SysWOW64" directory and the path is not known to Win 7 when I try to run opcenum /regserver, so I have to instead include the path in the run instruction: C:\Windows\SysWOW64\opcenum /regserver. I had also un-installed and re-installed with UAC set to minimum (turned off, basically), but nothing changed. Here is the answer to one of my questions, straight from the UniOPCHelp: UniOPCServer installationAlthough OPC servers can be installed by any user having administrator privileges, we recommend that installation be done under local administrator log-on. In compliance with the OPC DA v2.x specifications, it is recommended to use the OPCEnum application, which enables OPC clients to browse the available OPC servers. This application is installed together with UniOPC Server. So, clearly opcenum.exe is supposed to be installed by UniOPC. It looks like it was just installed in a location unknown to Win 7. Elaborating on my symptoms... From the UniOPC Help, I run into what may or may not be a problem here: "11. Click the Default Protocols tab. The default protocols should appear as shown in the figure below; if they do not, update them." Help shows two entries at this point: "Connection-oriented TCP/IP" and "Connection-oriented SPX". I have the first entry, but not the SPX protocol, so no, my default protocols do not match what the help information says they should match. Is this a concern? I also have problems at this step from Help: Register OpcEnum: "Start> Run>OPCENUM /regserver". My 64-bit Win 7 PC says "Windows cannot find 'opcenum...'. The failure in this step of the procedure caused failure in the next step, too, and OPCenum did not appear in the list of DCOM Component Services. After running opcenum /regserver with full path specified, OPCenum DOES appear in the DCOM list. Not completely up and running yet, but got past the first hurdles...
Ofir Posted November 18, 2013 Report Posted November 18, 2013 Please review the below link which explains about DCOM configuration. http://www.opcactivex.com/Support/Tutorials/DCOM_Tutorial_-_Configuring_th/dcom_tutorial_-_configuring_th.html
Joel Posted November 21, 2013 Author Report Posted November 21, 2013 That's great info! Thank you so much.
Lucas Btech Posted October 24, 2018 Report Posted October 24, 2018 Hi, I also have this problem. Can you help me ?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now