I want to add Sql server 2012 in my application and when i want to run my application it will give a following error:
Please anyone give me any solution.
Thank you.
Home / DeveloperSection / Forums / Unable to find the requested .Net Framework Data Provider. It may not be installed
Anupam Mishra
17-Mar-2016For solving above problem you should go the below link in your local computer
\Windows\Microsoft.net\Framework\v****\machine.config
And add in the section of <system.data>.
After that remove <DbProviderFactories/> empty tag.
Or , you can also solve the issue by nuGet
Go to Tools > Library Package Manager > Manage NuGet Packages For Solution
In the dialog, search for "EntityFramework.SqlServerCompact". You'll find a package
with the description "Allows SQL Server Compact 4.0 to be used with Entity
Framework." Install this package.