Quantcast
Channel: OPC Labs - OPC Labs - Recent Topics - OPC Labs Online Forums
Viewing all articles
Browse latest Browse all 1794

BadUserAccessDenied - by: giles

$
0
0
I've written an application - it connects fine to your UA test server

(it is here github.com/gilesbradshaw/OpcFileWriter)

the service is calling EasyUAClient.install() when it installs github.com/gilesbradshaw/OpcFileWriter/blob/master/OpcToXml/ProjectInstaller.cs

this results in a certificate in C:\ProgramData\OPC Foundation\CertificateStores\UA Applications\certs

I'm trying to get it to connect to kepware UA server standard installation

however it is not exchag=nging a certificate and I get

An OPC-UA operation failure with error code -2145452032 (0x801F0000) occurred, originating from ''. The inner OPC-UA service exception with service result 'BadUserAccessDenied' contains details about the problem.


I've imported the client certificates for both connectivity explorer and my application into kepware manually but I still get the same thing.

When I try and add the ua host opc.tcp://127.0.0.1:49320 to connectivity explorer it fails with "self signed certificate is not trusted" - I still get the same error even if I turn kepware off and add the endpoint.

Viewing all articles
Browse latest Browse all 1794

Trending Articles