MSSQLSERVER_4064

Topic Status: Some information in this topic is preview and subject to change in future releases. Preview information describes new features or changes to existing features in Microsoft SQL Server 2016 Community Technology Preview 2 (CTP2).

Details

Product Name

SQL Server

Event ID

4064

Event Source

MSSQLSERVER

Component

SQLEngine

Symbolic Name

DB_UFAIL_FATAL

Message Text

Cannot open user default database. Login failed.

Explanation

The SQL Server login was unable to connect because of a problem with its default database. Either the database itself is invalid or the login lacks CONNECT permission on the database.

User Action

Use ALTER LOGIN to change the login's default database. Grant CONNECT permission to the login.