Change user in UaExpert failed with error BadInvalidArgument

Questions regarding the use of the UaExpert.

Moderator: uaexpert

Post Reply
Lakshma
Jr. Member
Jr. Member
Posts: 1
Joined: 20 Aug 2018, 12:05

Change user in UaExpert failed with error BadInvalidArgument

Post by Lakshma »

Hello,
I am trying to connect with UaExpert using username / password. Anyonymous access is working but when I enter any username / password, the following error pops up and the client does not connect:
"Changing the user of the current session failed. See log window for details."
And in log window it shows the following error.
"Error 'BadInvalidArgument' was returned during ActiveSession. ChangeUser failed with error BadInvalidArgument."

I have put breakpoints in several methods in the ServerManager, for example in the method SessionManager_ImpersonateUser, but no luck.

Code: Select all

this.SessionManager.ImpersonateUser += new ImpersonateEventHandler(this.SessionManager_ImpersonateUser);
How can I get rid of the error and log in using both Anonymous access or Username/Password?

User avatar
Support Team
Hero Member
Hero Member
Posts: 3064
Joined: 18 Mar 2011, 15:09

Re: Change user in UaExpert failed with error BadInvalidArgu

Post by Support Team »

Hello Lakshma,

as the server is returning BadInvalidArgument, this is not an issue with UaExpert. Please post this question in the matching support forum for your used server SDK.
Best regards
Unified Automation Support Team

Post Reply