Entity Framework The underlying provider failed on Open

后端 未结 19 1917
挽巷
挽巷 2020-12-02 20:12

Below is my connection string:

connectionString=\"metadata=res://*/EDMX.Test.csdl|res://*/EDMX.Test.ssdl|res://*/EDMX.Test.msl;provider=System.Data.Sq

19条回答
  •  误落风尘
    2020-12-02 20:47

    Please check the following things first.

    While generating the Edmx you would have given a name to you connection string. that gets into the app config of the project with the Entity.

    Have you copied the same connection string to your main Config file. Also the Name should be same as which you have given while generating the EDMX file.

提交回复
热议问题