System.MissingMethodException:找不到方法:' System.Data.Entity.Infrastructure.IDbExecutionStrategy

时间:2015-01-05 22:28:44

标签: c# asp.net-mvc entity-framework-6

Exception Details: System.MissingMethodException: Method not found: 'System.Data.Entity.Infrastructure.IDbExecutionStrategy System.Data.Entity.Core.Common.DbProviderServices.GetExecutionStrategy(System.Data.Common.DbConnection, System.String)'.

Line 153:            {
Line 154:                var user = new ApplicationUser { UserName = model.Email, Email = model.Email };
Line 155:                var result = await UserManager.CreateAsync(user, model.Password);
Line 156:                if (result.Succeeded)
Line 157:                {

Source File: g:\Visual Studio 2013\Projects\WebApplication17\WebApplication17\Controllers\AccountController.cs    Line: 155 

从Visual Studio 2013启动新的MVC项目时,我遇到了错误消息。我有VS(版本12.0.31101.00 Update 4)的最新更新 - .NET版本4.5.5.1650。

我认为这与Entity Framework版本6.1.3.30610.0有关。我试过通过Nuget更新它。我尝试卸载并重新安装它仍然没有运气。

任何人都可以帮忙吗?

0 个答案:

没有答案