The error i\'m getting is An exception of type
\'System.Data.SqlClient.SqlException\' occurred in EntityFramework.dll but was not handled in user code.
Screenshot says that there is a problem between your application and sql server. Application cannot connect to the server. Possible reasons:
Your EF connection string is using the "old" (since VS 2015 if I'm not mistaken**) way of connecting to localdb
. You can see your DefaultConnection
using the "new" way.
So:
<add name="MovieDBContext" connectionString="Data Source=(LocalDB)\MSSQLLocalDB;...`
Not: Data Source=(LocalDB)\v11.0...
**Since SQL Server 2014 Express Local DB
Hth...