Open NeethuES-intel opened 2 years ago
Did you try to create a local user? And second one is, you should be done with the dcom setttings.
1 Tem 2022 Cum 09:39 tarihinde NeethuES-Intel @.***> şunu yazdı:
Hi All,
Can someone please help setting up Matrikon test server. I get the following "unkown error" if no domain/username/password is use. [image: image] https://user-images.githubusercontent.com/3488970/176838503-9c7fa782-ca21-4906-9990-258c0f0491a1.png
But get "Access denied. Username and/or password might be wrong." error if I provide my computer's domain/username/password [image: image] https://user-images.githubusercontent.com/3488970/176838359-e8fae09f-b9a6-4384-8311-285f6d611237.png
I am running these on a Windows 10 machine & able to connect to the test serve using Matrikon Explorer. I followed setting up DCOM object as per these instructions - https://www.matrikonopc.com/support/docs/MatrikonOPC-Windows-XP-DCOM-Configuration.pdf
Please help.
— Reply to this email directly, view it on GitHub https://github.com/emrebekar/node-red-contrib-opcda-client/issues/18, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC2NOARSGAFXCXCRAY6KUGDVR2HD3ANCNFSM52LU6UFQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
@emrebekar I didn't create a local user. Should I do that ? I followed all the steps in the dcom settings link - https://www.matrikonopc.com/support/docs/MatrikonOPC-Windows-XP-DCOM-Configuration.pdf Are there any instructions specific to windows 10 ?
I have problem too. I solve it by change authentication level and minimum session.
I got Still the same Issue. I changed the security options, but this was not the Solution. got anyone else the same Issue and can help?
if you got ACCESS DENIED and in the window viewer have (to activate DCOM server. Please raise the activation authentication level at least to RPC_C_AUTHN_LEVEL_PKT_INTEGRITY in client application.). you need to regedit go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Ole\AppCompat add RequireIntegrityActivationAuthenticationLevel dword 0 RaiseActivationAuthenticationLevel dword 2
@emrebekar I didn't create a local user. Should I do that ? I followed all the steps in the dcom settings link - https://www.matrikonopc.com/support/docs/MatrikonOPC-Windows-XP-DCOM-Configuration.pdf Are there any instructions specific to windows 10 ?
Hi All,
Can someone please help setting up Matrikon test server. I am running these on a Windows 10 machine & able to connect to the test serve using Matrikon Explorer. I followed setting up DCOM object as per these instructions - https://www.matrikonopc.com/support/docs/MatrikonOPC-Windows-XP-DCOM-Configuration.pdf Please help.
I get the following "unkown error" if no domain/username/password is used
But get "Access denied. Username and/or password might be wrong." error if I provide my computer's domain/username/password
Could you please try to define a local user without domain and try connection over this user?
hi emrebekar,
i only use local user.
This is my experience.
[cid:be0b3e65-5420-4200-b11a-d985a44bfca8]
3. In regedit HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Ole\AppCompat add RequireIntegrityActivationAuthenticationLevel dword 0 RaiseActivationAuthenticationLevel dword 2
4. restart computer.
From: emrebekar @.> Sent: Friday, December 9, 2022 5:52 AM To: emrebekar/node-red-contrib-opcda-client @.> Cc: ping214951 @.>; Comment @.> Subject: Re: [emrebekar/node-red-contrib-opcda-client] Issue connecting to Matrikon test server (Issue #18)
@emrebekarhttps://github.com/emrebekar I didn't create a local user. Should I do that ? I followed all the steps in the dcom settings link - https://www.matrikonopc.com/support/docs/MatrikonOPC-Windows-XP-DCOM-Configuration.pdf Are there any instructions specific to windows 10 ?
Hi All,
Can someone please help setting up Matrikon test server. I am running these on a Windows 10 machine & able to connect to the test serve using Matrikon Explorer. I followed setting up DCOM object as per these instructions - https://www.matrikonopc.com/support/docs/MatrikonOPC-Windows-XP-DCOM-Configuration.pdf Please help.
I get the following "unkown error" if no domain/username/password is used [image] https://user-images.githubusercontent.com/3488970/176838503-9c7fa782-ca21-4906-9990-258c0f0491a1.png
But get "Access denied. Username and/or password might be wrong." error if I provide my computer's domain/username/password [image] https://user-images.githubusercontent.com/3488970/176838359-e8fae09f-b9a6-4384-8311-285f6d611237.png
Could you please try to define a local user without domain and try connection over this user?
— Reply to this email directly, view it on GitHubhttps://github.com/emrebekar/node-red-contrib-opcda-client/issues/18#issuecomment-1343475377, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A2BXPMKQRPZ24D5VRLFASMLWMJREPANCNFSM52LU6UFQ. You are receiving this because you commented.Message ID: @.***>
Modifying policy no longer has effect after March 14, 2023, need to modify ntlmconnection.js (at node-dcom), override all "protectionLevel" to new Security().PROTECTION_LEVEL_INTEGRITY.
@kevinjhang Hi Kevin, I've tried everything else that has been suggested to overcome the OPC/DA "access denied" error, and your suggestion is one that is more recent and seems to fit the circumstances. Unfortunately, it didn't help, but I'm not sure I applied it correctly. Let me walk through what I did and please let me know if I misunderstood.
I didn't find an "ntlmconnection.js" or an "node-dcom" on my system, so I installed "node-dcom" with "npm install node-dcom". I was really hoping that the problem was a missing package, but alas...
After installing I found two copies of "ntlnconnection.js":
In both of them I found five occurrences of "protection_level"; four of them were something other than "Security().PROTECTION_LEVEL_INTEGRITY" (shaded yellow):
So I changed them to "Security().PROTECTION_LEVEL_INTEGRITY" (shaded blue):
After a system restart, I'm still getting "access denied". Did I apply your suggestion correctly?
Thanks and regards, Jim
Did you try to define domain name as WORKGROUP?
Try this way... Add "--openssl-legacy-provider" parameter with node-red.
Did you try to define domain name as WORKGROUP?
Hi emrebekar,
I tried it. Still got the "5 - Access denied. Username and/or password might be wrong" response.
Thanks and regards, Jim
Try this way... Add "--openssl-legacy-provider" parameter with node-red.
Hi Kevin,
I have it as an environment variable
I also tried it when starting Node-RED
But, still got the "5 - Access denied. Username and/or password might be wrong" response.
Thanks and regards, JIm
Hi All,
Can someone please help setting up Matrikon test server. I am running these on a Windows 10 machine & able to connect to the test serve using Matrikon Explorer. I followed setting up DCOM object as per these instructions - https://www.matrikonopc.com/support/docs/MatrikonOPC-Windows-XP-DCOM-Configuration.pdf Please help.
I get the following "unkown error" if no domain/username/password is used
But get "Access denied. Username and/or password might be wrong." error if I provide my computer's domain/username/password