MVC “Add Controller” is “Unable to Retrieve Metadata…Config System Failed to Initialize”

前端 未结 11 1056
天涯浪人
天涯浪人 2021-01-04 18:31

From scratch, I made a new solution with two projects: one was MVC 3 and the other a supporting EF 4.2 project. The whole thing builds successfully. From the MVC project I

11条回答
  •  别那么骄傲
    2021-01-04 18:52

    Just copy the connection string information from your EF model project App.Config into your and watch that you do not repeat any sections (entityFramework section for example)

提交回复
热议问题