Entity Framework The underlying provider failed on Open

后端 未结 19 1919
挽巷
挽巷 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

    My client reported this error. I found that he was messing with *.ldf files. He copied *ldf file on one database and renamed it to match a second database (which I asked him to place in a folder).

    I replicated the same scenario, and got this same error in my development system. Error got fixed after deleting the *ldf file(s).

提交回复
热议问题