When launching OPC Tunneller it requests Key File Access and after it the Error: "Configuration file does not exist: %CommonApplicationData..."

Created by Anthony Herra, Modified on Tue, 26 Oct, 2021 at 9:13 PM by Anthony Herra

In some Windows OS when Tunneller is installed, it does not get all the rights and user privileges. 


If Tunneller shows you a Key File Acces Dialog Box at the time to open it, please just click on "Acept" to each dialog box. A problem will appear with the text: "Configuration file does not exist: %CommonApplicationData%\Matrikon\UA\UAWrapper..." etc.


Apply the following workaround.


  1. Go to  C:\Program Files (x86)\Matrikon\OPC\Tunneller
  2. To the folder “Client-Side Gateway” right click\properties, in the security options you should add the admin local user and grant him all the rights. After this click on "Ok".
  3. Go inside the folder “Client-Side Gateway” and apply the same last step for the folder "security".
     a. Advance options\Change propietary\advance options, look for the admin local user, enable the check called 'change propietary in all the subfolders ...' and grant to the user all the rights.

4. Apply the same steps on the following files and folders:


File: keyFile.mtk
Location: C:\Program Files (x86)\Matrikon\OPC\Tunneller\Client-Side Gateway\security


Folder : Server-Side Gateway

Location: C:\Program Files (x86)\Matrikon\OPC\Tunneller


Folder : security

Location: C:\Program Files (x86)\Matrikon\OPC\Tunneller\Server-Side Gateway


File: keyFile.mtk 

Location: C:\Program Files (x86)\Matrikon\OPC\Tunneller\Server-Side Gateway\Security


For the following folder you need to enable the view for hidden files.


Folder: UAWrapper

Location: C:\ProgramData\Matrikon\UA

Thanks!


Created by Anthony Herra. 2019


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article