Testing Entity Framework 6 with ASP.NET MVC and I got a problem: theoretically Entity Framework should create the database, after first query to it, if it does not exist.
In my case Entity Framework makes query, and SQL Server Express responds with
error 18456, state 38 : Cannot open database
My connection string is:
Data Source=.\SQLEXPRESS;Initial Catalog=BITSBotDB;User ID=***;Password=********;Integrated Security=SSPI
So question - what am I doing wrong?