ERROR

Connect Failed to connect to database. Login failed for user 'test'

Last Published: April 25, 2020

Error Message

When trying to view in OLE DB data in ArcMap or ArcCatalog, one of the following error messages is returned:"Connect
Failed to connect to database.
Login failed for user 'test'."Or:"Connect
Failed to connect to database.
The user and/or password is invalid.
Login failed for user 'test'."

Cause

The password was not saved with the connection string and was not passed to the DBMS.

Solution or Workaround



When setting up the OLE DB connection, select to save the password in the Connection tab of the Data Link Properties dialog box.

Check the "Allow Saving Password" box.

[O-Image] Data Link Properties dialogue box

Article ID:000002039

Software:
  • ArcMap 8 x

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic