Application can't scaffold items

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

    everyone. I know I'm a little late, but I think that is still valid to share my experience with this problem.

    I faced this message in two projects and in both cases the problem was with the connection string.

    In the first case it was "InitialCatalog" instead of "Initial Catalog" (separated).

    In the second case the server name (Data Source param) was wrong.

    I hope it helps.

    Best regards.

提交回复
热议问题