Login problem to SQL Server
This means you have logged in correctly to SQL Server, but the database in the connection string (or default database from CREATE LOGIN) is one of


not there
unavailable (eg autoclosed or recovering)
no login-user mapping (eg CREATE USER as not been run)