Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I got a project to complete some tasks on it, but when I try debug I have this error in
C#
DbProviderFactory Dbfactory = bProviderFactories.GetFactory(MasterConnectionProvider);


With my MasterConnectionProvider is System.Data.SqlServerCe.Entity

Unable to find the requested .Net Framework Data Provider. It may not be installed.

I check the version of sql compact installé is the same with dll 3.5.1.0

in the project they using framework 4 are this affect on it !!

Any help please
Posted

1 solution

Have you referenced both system.data.sqlserverce.dll and System.Data.SqlServerCe.Entity.dll?
 
Share this answer
 
Comments
akremb22 7-Sep-11 5:43am    
No just System.Data.SqlServerCe.Entity.dll, because I got this project to add some tasks and I still don't touch it yet because this error
Wendelius 7-Sep-11 9:35am    
What if you try to install Compact SP1 again: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=5821[^]. Could it be that the installation is broken or for some reason you don't have SP1 as if I recall correctly Entity dll came in SP1.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900