Application can't scaffold items

后端 未结 29 1307
自闭症患者
自闭症患者 2020-11-30 01:57

I created an MVC 5 application in VS 2013 Professional and then used EF 6.1 code first with an existing DB on SQL Server Express. When I try to create the views I’m using th

29条回答
  •  星月不相逢
    2020-11-30 02:04

    If by any chance you are following "Getting Started with Entity Framework 6 Code First using MVC 5" by Tom Dykstra.

    I doubled check everything and my connection string is perfect. What I failed to realize was I copied another set of appSettings which I already have. Look below

      
        
        
        
        
      
    

    My advice is to check every inch of Web.config and I'm sure that is the culprit.

提交回复
热议问题