SAS Enterprise Guide users might report that they can successfully connect to a SAS® Metadata Server but when attempting to run code or connect to an application server such as SASApp, they are prompted for credentials, as shown below:

The user then enters valid credentials, after which a pop-up error message occurs stating that SAS Enterprise Guide has encountered an error. When that generic error message appears, the user can get a more detailed version of the message by clicking Show Details. Then the user might see a message like the one below:
Connection retry attempted with previously failed login
-------------------- Technical Information Follows --------------------
Exception Details:
----------------------------------------
Exception type: SAS.EG.SDS.SDSException
Message: Connection retry attempted with previously failed login
Source: SAS.EG.SDS.Model
Target Site: SASWorkspace
For a more detailed explanation of this error message, run the SAS® Integration Technologies Configuration client by following the steps below. The client tests the connection to the application server, using the User Account and Machine in question.
In the log that is generated, you might see the following at the top:
To correct this issue for the user who is experiencing the problem, you need to give him/her Log on as a batch job privileges on your application server. See the Log on as a Batch Job section under Windows Privileges in the SAS® 9.4 Intelligence Platform: Security Administration Guide, Second Edition.