One of my colleagues tried to work with a new database from DevServer and got an error “Login failed for user”.
We checked everything related to security and permissions, but it didn’t help.
After a while we recognize that there was spelling mistake in the name of the database in connection string.
In this case “Login failed for user” error actually meant “database name is invalid”
Why it wasn’t shown as a reason in plain English?
Other possible reason for the errors are described in multiple articles, including following:
Login failed for user ‘username‘. The user is not associated with a trusted SQL Server connection. (Microsoft SQL Server, Error: 18452)