I am writing a an internal IO component that bridges OPCUA with Node.JS and most stuff seems fine.
However one particular tag keeps breaking - in my ADMINISTRATION.RemoveDevice.RetCode Int32 tag. Reading and writing data seems fine, however when attempting to delete a device I keep getting 0x801f0000 [ret = BadUserAccessDenied]
It is failing both in my code and in UaExpert
I have no idea why I don't have permission to perform exactly this operation - any ideas?
We have an application running that can delete a device, however performing the function calls seems to hick up.
The uastack.dll has a finesize of 514.560 bytes & no revision number or anything.
Best regards
0x801f0000 error, security or? uastack.dll
Moderator: uasdkcpp
-
- Jr. Member
- Posts: 1
- Joined: 30 Mar 2016, 12:31
- Support Team
- Hero Member
- Posts: 3072
- Joined: 18 Mar 2011, 15:09
Re: 0x801f0000 error, security or? uastack.dll
Hi,
BadUserAccessDenied indicates that the server requires special user authorization to access the node with the service called.
This is typically not a stack or software problem. This is typically by intend and forced by the server application if the required user privileges are not provided.
You need to check with the server vendor how to configure users or which user is required.
Best Regards,
Unified Automation Support Team
BadUserAccessDenied indicates that the server requires special user authorization to access the node with the service called.
This is typically not a stack or software problem. This is typically by intend and forced by the server application if the required user privileges are not provided.
You need to check with the server vendor how to configure users or which user is required.
Best Regards,
Unified Automation Support Team
-
- Jr. Member
- Posts: 2
- Joined: 17 Jul 2023, 13:10
Re: 0x801f0000 error, security or!!
Hello,
I have a similar error with diffrent server, am working with numerical machine from siemens (sinumerik one), i activated the server with diffrent security policies, and activated the anonymous option, but I cannot get acces to the needed variables when am in anonymous !!
I appreciate your help
Best regards
I have a similar error with diffrent server, am working with numerical machine from siemens (sinumerik one), i activated the server with diffrent security policies, and activated the anonymous option, but I cannot get acces to the needed variables when am in anonymous !!
I appreciate your help
Best regards
- Support Team
- Hero Member
- Posts: 3072
- Joined: 18 Mar 2011, 15:09
Re: 0x801f0000 error, security or? uastack.dll
Hi,
perfect, sounds correct if the "anonymous" (guest) is not allowed to access sensitive data.
Check out the difference between authentication and authorization. The server owns the data and hence decides who gets access and who not. This server obviously decided to not give anonymous/guest access to the data. From a UA client side perspective you can not do anythng about it. It is the decision (configuration) on the UA server side.
If you can not access, it is probably configured correct (secure) !
perfect, sounds correct if the "anonymous" (guest) is not allowed to access sensitive data.
Check out the difference between authentication and authorization. The server owns the data and hence decides who gets access and who not. This server obviously decided to not give anonymous/guest access to the data. From a UA client side perspective you can not do anythng about it. It is the decision (configuration) on the UA server side.
If you can not access, it is probably configured correct (secure) !
Best regards
Unified Automation Support Team
Unified Automation Support Team
-
- Jr. Member
- Posts: 2
- Joined: 17 Jul 2023, 13:10
Re: 0x801f0000 error, security or? uastack.dll
Thank you for the quick response, though I need to acces anonylously to the machine, so it is indeed secure but not what I am expecting!
Could you share topics about authentification / autorisations in siemens please ,
Could you share topics about authentification / autorisations in siemens please ,
- Support Team
- Hero Member
- Posts: 3072
- Joined: 18 Mar 2011, 15:09
Re: 0x801f0000 error, security or? uastack.dll
Hi,
we only have documentation regarding our SDKs:
For configuring the Sinumerik OPC server please contact Siemens Support.
we only have documentation regarding our SDKs:
Code: Select all
https://documentation.unified-automation.com/uasdkcpp/1.8.1/html/L2UaDiscoveryConnect.html#DiscoveryConnect_UserAuthentication
https://documentation.unified-automation.com/uasdkcpp/1.8.1/html/L2UaDiscoveryConnect.html#DiscoveryConnect_UserAuthorization
Best regards
Unified Automation Support Team
Unified Automation Support Team