A SIGNON statement returns "ERROR: Invalid credentials" and "ERROR: Access denied" in SAS/CONNECT®


When you run a SIGNON statement to a SAS/CONNECT server, the following errors might occur

ERROR: Invalid credentials
ERROR: Access denied.

Despite the errors, the SIGNON might work. However, a delay in the SIGNON might occur.

These errors occur when the SAS/CONNECT client and the SAS/CONNECT remote are not part of the same metadata environment. When a SAS/CONNECT client session contains an active SAS® Metadata Server connection and signs on to a SAS/CONNECT server, the server is automatically given access to SAS Metadata Server for the duration of the SAS/CONNECT server session.

Here are two examples:

To avoid the error, add the following option before the SIGNON statement:

OPTIONS NOCONNECTMETACONNECTION; 

This option prevents the SAS/CONNECT server from automatically accessing SAS Metadata Server via the supply of credentials during sign-on and should solve the mentioned errors.

For additional information, see CONNECTMETACONNECTION System Option.