I use VS 2008 and SQL express 2005
When I connect to database through Sql server managment studio express then when I want to connect to the same database with VS 2008 or program that I created i get error
Cannot open user default database. Login failed. Login failed for user 'domain\user'.
After reboot pc and first connect with program or VS then I can connect to database but then I can't connect with sql server menagment
I get the same error
everything I do localy I just start to learn sql and VB. Looks like I can't connect more then once with the same user. Even if i shut down booth aplication I can't connect to database after. I need reboot pc to connect to.