Unable to find the requested .Net Framework Data P

2019-07-03 02:59发布

I tried to look at the data connection between my visual studio and SQL server, however it keeps on saying "Unable to find the requested .Net Framework Data Provider. It may not be installed." How can I get this fixed please? It was working before, suddenly it stopped working. I checked in the C:/windows/assembly System.Data.SQLClient is not there.

2条回答
我只想做你的唯一
2楼-- · 2019-07-03 03:31

Ensure that the provider factory is registered with an appropriate entry in the machine.config.

查看更多
【Aperson】
3楼-- · 2019-07-03 03:44

In my case I was selecting the worng reference. For some reason x86 works, while x64 does not (in my case). Simply don't forget to reference System.Data.SQLite.dll and/or System.Data.SQLite.Linq.dll.

查看更多
登录 后发表回答