by Santhakumar Munuswamy
Posted on 03 December 2014
ASP.NET, Tips & Tricks
Problem:
I have got the following issue like unable to find the requested .Net Framework Data Provider. It may not be installed.
Solution:
I have resolved the above issue and got solution on it
Step: 1
Go to installation location
C:\Windows\Microsoft.NET\Framework\vXXXX\Config folder and locate the machine.config.default file
Step: 2
Open the file with editor and find the following lines
<DbProviderFactories/> //Remove this line
Step: 3
Add the following lines
<DbProviderFactories>
<add name="SqlClient Data Provider" invariant="System.Data.SqlClient" description=".Net Framework Data Provider for SqlServer" type="System.Data.SqlClient.SqlClientFactory, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089""/>
</DbProviderFactories>
Step: 4
Save the file and close it
Step: 5
Similarly configure the other db providers