Hi Everyone, 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.
For solving above problem you should go the below link in your local computer
\Windows\Microsoft.net\Framework\v****\machine.configAnd 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.