How to fix error ''OPCEnum service is not operating correctly. Repair OPC Core Components.'' using OPC Toolbox in R2021a?

48 views (last 30 days)
f I open the OPC UA Toolbox and connect to the localhost, where the OPC UA Server is installed, I get the error message:
''OPCEnum service is not operating correctly. Repair OPC Core Components.'' 

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 20 Jul 2021
OPCEnum is part of the "OPC Foundation Core Components" which OPC Toolbox relies on. You can use the "opcregister" function in MATLAB to try to repair or (re)install these components. See the following page in the documentation for more information about the "opcregister" function:
You may access the same page locally by typing the following at the MATLAB prompt:
web([docroot, '/opc/ug/opcregister.html'])
Note that you may need to start MATLAB with elevated privileges to be able to use "opcregister" correctly, to do so start MATLAB by right-clicking on the MATLAB shortcut and selecting "Run as administrator".

More Answers (0)

Tags

No tags entered yet.

Products


Release

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!