This site requires JavaScript to be enabled
IE BUMPER

Product
Version
IncidentLookup using list
Language
How can we help?

Solution Suggestions

Please enter your question to get suggestions.
  Help
IE BUMPER
Categories
Boolean Operators
OR or vertical bar symbol (|)
Finds a match if either the terms exist in a document (a union using sets).
AND
Finds a match if both terms exist in a document (an intersection of sets).
NOT, minus (-), or exclamation point (!)
Excludes documents that contain the term after NOT (a difference of sets).
Wildcards
Asterisk (*)
The asterisk symbol performs a multi character wildcard search.
Percent sign (%)
The percent sign performs a single character wildcard search.
Phrases
Quotation marks (")
Use quotation marks to search for an exact phrase with multiple terms.
For examples and more information look at our Knowledge Base: Advanced Search On The Support Portal

DEX Agent Failed to Open Workspace

Situation

I am using RDP for my unattended exections.

I use LDAP for my agents and their workspaces.

When I send a Test Event to an agent, it fails. In the Agent logs, I see the below:

ERROR Tricentis.DistributionAgent.Agent.TcApiWrapper - Error opening workspace! (Tricentis.TCAPIObjects.Exceptions.TCApiLoginFailedException: Login failed 
at Tricentis.TCAPINativeConnector.Objects.TCAPINativeWorkspace..ctor(String twsPath, String loginName, String loginPassword, Int32 logLevel) 
at Tricentis.TCAPINativeConnector.TCAPINativeConnection.InternalOpenWorkspace(String twsPath, String loginUser, String loginPassword, Int32 logLevel) 
at Tricentis.TCAPIObjects.TCConnectionBase.OpenWorkspace(String twsPath, String loginUser, String loginPassword, Int32 logLevel) 
at Tricentis.TCAPI.TCAPI.OpenWorkspace(String twsPath, String loginName, String loginPassword, Int32 logLevel) 
at Tricentis.DistributionAgent.Agent.TcApiWrapper.OpenWorkspace(WorkspaceConfiguration wpConf)) 

On my agent, I have Set up my workspace tab to using credentials:

Solution

Because LDAP is automatically used to login to the agent, so the above credentials need not be entered.

Leave the Tosca user and Password fields blank.

 

1 0

Olav Adema

Created: 2018-08-29 09:34:55 , Updates: 1, Last Update: 2018-08-29 14:27:21

Thanks, we also seen this behavior when using tosca 11.2 patch 5.
When the password is provided it works again, although it's not saved in the config file.

Update:
The username and password are encrypted in this location:
%LocalAppData%\Tricentis_GmbH\ToscaDistributionAgent.ex_Url_pgjddcbp21hu1wggpprceejrl02mp4ra

I got an answer back from support and you still should not provide an password when using ldap, just the username should be enough.
Make sure that on the server the UseAgentLdapAuthorization is set to True
https://documentation.tricentis.com/en/1120/index.htm#tosca_commander/configuring_the_server.htm#Whitelistspecificdomains

0 0

Rahul Shyamal

Created: 2018-10-11 12:55:01 , Updates: 1, Last Update: 2018-10-11 12:59:25

For users who have integrated CI and DEX with LDAP, if you still get the above-mentioned error, mention your LDAP username(without domain) in the Tosca user field. The Password field should be left blank.

Also the ToscaCiClient.exe.config file must have the LDAP username mentioned for the LoginName field.

0 0

Philipp Dessovic

Created: 2019-03-11 23:49:57

Since Tosca 12.1 with LDAP authentication the workspace user & password need to be left empty.

Jay Reyes

2019-03-11 23:44:10

I updated this now. If not satisfied, direct message me.

1 0

Akshay Patil

Created: 2020-08-24 14:52:58

Facing similar issue.

DEX + AOS + RDP setup done on 3 Machines.

M1- > Tosca commander having workspace connecting to Common repository (Triggering Machine)

M2-> Tosca Server and  RDP running (Web.config file from DexServer configured as required, EnabledWorkspacelessExecution is True) ; AOS- workspace and ToscaServices.config file setup is done as per article.

M3 -> Distributed agent is running on this system WITHOUT Workspace Path, username and password ( As we are triggering workspace less execution)

Error:- Opening Workspce failed -> The path is of not legal form