Error: No Entity Framework provider found for the ADO.NET provider with invariant name 'System.Data.SqlClient'

后端 未结 13 2348
[愿得一人]
[愿得一人] 2020-12-08 04:18

I recently upgraded/updated Entity Framework in an old project from version 4 or 5 to version 6. Now I get this exception:

An exception of type \'Syst

13条回答
  •  失恋的感觉
    2020-12-08 04:50

    I have the same problem, the difference is I don't have access to the source code. I've fixed my problem by putting correct version of EntityFramework.SqlServer.dll in the bin directory of the application.

提交回复
热议问题