Error 4001



Message text

Cannot open default database ’%.*s’.


Error 4001 is raised when Adaptive Server is unable to open the users default database at login.

After raising the error, the server verifies whether the user is allowed to log in to master. If the master database is forbidden for the user, the login request is denied.

Common reasons why the default database cannot be opened include:


Retry the login in the event that the database was in recovery or temporarily unavailable.

Since the 4001 error is usually a symptom of another problem, check the server error log for any other errors that may have been raised prior to 4001. Check for the following errors and retry:

Versions in which this error is raised

All versions