In VS 2010 I use these steps to connect to SQL Server database:
At step 9 I see this error: "Unable ti find the requested .Net Framework Data Provider It May not be Installed"
There is a self terminating node in the machine.config file. Removing it solved the issue.
machine.config is found in
\Windows\Microsoft.net\Framework\vXXXX\machine.config
You could have a multitude of config files based on how many versions of the framework are installed, including 32 and 64 bit variants.
<system.data>
<DbProviderFactories>
<add name="Odbc Data Provider" invariant="System.Data.Odbc" ... />
<add name="OleDb Data Provider" invariant="System.Data.OleDb" ... />
<add name="OracleClient Data Provider" invariant="System.Data ... />
<add name="SqlClient Data Provider" invariant="System.Data ... />
<add name="IBM DB2 for i .NET Provider" invariant="IBM.Data ... />
<add name="Microsoft SQL Server Compact Data Provider" ... />
</DbProviderFactories>
<DbProviderFactories/> //remove this one
</system.data>
Above file remove <DbProviderFactories/>
empty tag.
For additional reading Obtaining a DbProviderFactory (ADO.NET)
I hope this will help to you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With