I have created a user in SQL-2008 R2 using the following script
Use [CamelotShiftManagement]
CREATE LOGIN [CamelotShiftManagementUser]
WITH PASSWORD=N'123',
DEFAULT_DATABASE=[CamelotShiftManagement],
DEFAULT_LANGUAGE=[us_english],
CHECK_EXPIRATION=OFF, CHECK_POLICY=OFF
When I try to log-in using that user i get the following error
TITLE: Connect to Server
Cannot connect to localhost.
ADDITIONAL INFORMATION:
Cannot open user default database. Login failed. Login failed for user
‘CamelotShiftManagementUser’. (Microsoft SQL Server, Error: 4064)For help, click:
http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=4064&LinkId=20476
Run this before that: