st-one-io / node-red-contrib-opc-da

A Node-RED node to interact with OPC-DA servers.
Apache License 2.0
11 stars 8 forks source link

5- Error Username/Password access denied #18

Open serry69 opened 3 years ago

serry69 commented 3 years ago

Hallo, I have set a custom CLS-ID and I have try with several mode to set Domain, username and password, but in my PC it seems impossible to get ready the connection. I Have a W10 pc where I have administrator rights (not fully); I have also try to create a new user, but the error is the same. A little particular is that OPC server run on same PC as nodered works; so I don't think it will use DCOM but just COM and I think there's the issue.... Thanks for help Paolo

jewlf commented 1 year ago

Hi Paolo,

Did you ever find a solution to "5 - Access denied. Username and/or password might be wrong"?

I'm also running the OPC/DA server on the same computer as Node-RED.

image

I'm using "DeviceXplorder" as a temporary OPC/DA server and have confirmed that it is accessible and readable from another OPC DA Client, also running on the same computer:

image

Node-RED (version v18.17.0 with npm version 9.6.7) is set up as:

image

image

image (the "Test and get items" button also throws the "access denied" message)

I've gotten the "DeviceXplorder" Clsld from here:

image

image

Thanks and regards, Jim