I am new to asp.net MVC3 platform i am following the tutorial which is posted on the asp.net website: http://www.asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/getting-started-with-mvc3-part1-cs
But in the fifth step which i need to access my model class data from a controller i am facing some troubles, i have created model class and the context class but when i want to create a controller class using the scaffolding template(controller with read/write actions and views using entity framework) it gives me an error as below:
unable to retrieve metadata for 'full name of my modelclass'. Configuration system failed to initialize
Just change your connection string provider type to System.Data.SqlClient
System.Data.SqlClient
2.1m questions
2.1m answers
60 comments
57.0k users