问题:提供程序未返回ProviderManifestToken字符串。 [英] Issue : The provider did not return a ProviderManifestToken string.
问题描述
您好,
我正在通过指导Asp.net教程创建MVC应用程序MvcMovies(http://www.asp.net/mvc/tutorials/getting-started -with-aspnet-mvc3 / cs / access-your-model'-data-from-a-controller [ ^ ])>
当我使用具有读/写操作和视图实体框架的模板控制器添加新控制器时,我收到以下错误
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"
教程中提到的内容。
请给我解决方案。
谢谢。
已添加代码块[/ Edit]
Which is mention in tutorial.
Please give me solution.
Thanks.
Code block added[/Edit]
推荐答案
看看这个 - 提供者未返回ProviderManifestToken字符串 [ ^ ]
提供商未在Asp.net MVC 3实体框架中返回ProviderManifest令牌字符串错误 [ ^ ]
have a look at this-"The provider did not return a ProviderManifestToken string"[^]
The provider did not return a ProviderManifest Token String error in Asp.net MVC 3 Entity Framework[^]
这篇关于问题:提供程序未返回ProviderManifestToken字符串。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!