c# - 将 MVC 4 升级到 MVC 5 连接问题

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

我刚刚将我所有的 mvc 4 项目升级到 mvc 5(实体也升级到 v6)——通过 nuget。

现在我在尝试运行应用程序时遇到此错误:

Cannot find the object "dbo.User" because it does not exist or you do not have permissions

为什么现在会这样?一分钟前(升级前)它还在工作。如何解决?

最佳答案

关于c# - 将 MVC 4 升级到 MVC 5 连接问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25370977/

相关文章:

c# - 如何禁用 TreeView 自动第一个节点选择

asp.net-mvc - 从区域中删除 Controller 名称的 MVC5 自定义路由

c# - Servicestack - 用于使用自动查询 rdbms API 的 OR 运算符

c# - 如何将 DbContext 实现注入(inject) Prism ViewModel 构造函数?

c# - 不声明外键的导航属性

sql - Entity Framework 6 多对多想要插入重复行

c# - 我怎样才能 Bootstrap 一个列不应被分解的表?

c# - System.Windows.Control.RichTextBox 中的错误

c# - 打开组合框会移动其他控件

javascript - 如何将内联 Razor 表达式插入 Javascript