3

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.

asked Mar 6, 2012 at 20:07

2 Answers 2

3

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

answered Mar 6, 2012 at 20:16
2
  • Is there a way I can reset my machine config Commented Mar 6, 2012 at 20:21
  • you do not need to reset the machine.config. Just locate the 'DbProviderFactories' node (add it if it is missing) and add the node for the System.Data.SqlClient Commented Mar 6, 2012 at 20:39
0

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.

answered Feb 27, 2013 at 13:49

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.