Operational Defect Database

BugZero found this defect 340 days ago.

Microsoft SQL Server | 2401498

Consider the following scenario: 1. You connect to SQL Server as user A. 2. In the meantime, user B's password is changed in the background. In this scenario, the following error may occur when you create a database and then try to use it: Msg 916, Level 14, State 2, Line <LineNumber> The server principal "<LoginName>" is not able to access the database "<DatabaseName>" under the current security context.

Last update date:

6/15/2023

Affected products:

SQL Server 2022 on Linux

SQL Server 2022 on Windows

Affected releases:

build lower than 16.0.4045.3

Fixed releases:

16.0.4045.3

Description:

Consider the following scenario: 1. You connect to SQL Server as user A. 2. In the meantime, user B's password is changed in the background. In this scenario, the following error may occur when you create a database and then try to use it: Msg 916, Level 14, State 2, Line <LineNumber> The server principal "<LoginName>" is not able to access the database "<DatabaseName>" under the current security context.

Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Unavailable

Learn More

Search:

...