Application can't scaffold items

后端 未结 29 1317
自闭症患者
自闭症患者 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:12

    In my case I moved my connection strings out of the Web.config to

    
    

    that when I started getting the error when I was trying to scaffold.

    There was an error running the selected code generator: ‘Exception has been thrown by the target of an invocation.’

    Moving my connection strings back to the Web.config solved my issue.

提交回复
热议问题