NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

AutoLogin TestStand API C# - Error

Solved!
Go to solution

I've enabled auto-login in my script using the following code:

 

this.engine = this.axApplicationMgr.GetEngine();
this.engine.CurrentUser = engine.GetUser(user);  // user = "administrator"

The fallback sequence has been edited as per the image attached.

 

When running the code, the autologin is successful but when I try to close the execution box I'm getting the below error.

 

Images attached for details.

 

----------------------------------------
Details:

Could not find file 'x64\frontend.dll'.
----------------------------------------
Error Code:

-17208; File or directory not found.
----------------------------------------
Location:

Step 'Logout' of sequence 'LoginLogout' in 'FrontEndCallbacks.Seq'
----------------------------------------

Download All
0 Kudos
Message 1 of 2
(1,424 Views)
Solution
Accepted by topic author ngupta4

There was a dll mismatch.

Resolved using the correct version of dll.

0 Kudos
Message 2 of 2
(1,390 Views)