Hello,
I am Creating MVC Application MvcMovies by guiding Asp.net tutorial(
http://www.asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/cs/accessing-your-model's-data-from-a-controller[
^])
When I am adding new controller using template Controller with read/write actions and views entity framework, I am getting below error
"Unable to retrieve metadata for 'MvcTest2.Models.Movie'. The provider did not return a ProviderManifestToken string."
My connection string is
connectionString="Data Source=.\\SQLExpress;Integrated Security=true;User Instance=true;AttachDBFilename=|DataDirectory|Movies.mdf;Initial Catalog=Movies"
providerName="System.Data.SqlClient"
also get error in
connectionString="Data Source=|DataDirectory|Movies.mdf;"
providerName="System.Data.SqlClient"
Which is mention in tutorial.
Please give me solution.
Thanks.
[Edit]Code block added[/Edit]