ADO.NET provider with invariant name 'System.Data.SqlClient;' cannot be found (Entity Framework MVC)

前端 未结 3 1594
陌清茗
陌清茗 2021-01-20 01:21

I cannot seem to resolve what appears to be a common issue with Entity Framework 6. I have reviewed the many topics related to this issue on SO, and am unable to find a solu

3条回答
  •  北荒
    北荒 (楼主)
    2021-01-20 01:56

    You have this:

     <-- semi-colon
    

    It should be this:

     <-- no semi-colon
    

    Otherwise, you're telling ADO to find a provider named System.Data.SqlClient; - there isn't one.

提交回复
热议问题