asp.net mvc - Entity Framework doesn't create Database, Exceptions in debug -


i got annoying problem. reason ef stopped generating database. used tutorial: http://www.asp.net/mvc/tutorials/getting-started-with-ef-using-mvc/creating-an-entity-framework-data-model-for-an-asp-net-mvc-application

i setted initializer, connection string , dbcontext written in tutorial.

i created breakpoint in global.aspx.cs file at:

database.setinitializer<context>(new initializer()); 

and got these in debug:

screen2

i tried anything, restart, reinstalling iis, don't know do.

here question has pretty similar problem yours; hope helps!


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -