Click here to Skip to main content
14,428,340 members
Rate this:
Please Sign up or sign in to vote.
See more:
I got a project to complete some tasks on it, but when I try debug I have this error in
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

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

Any help please

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

Have you referenced both and System.Data.SqlServerCe.Entity.dll?
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:[^]. 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)

  Print Answers RSS
Top Experts
Last 24hrsThis month
OriginalGriff 5,188
Richard MacCutchan 1,919
phil.o 1,280
Patrice T 1,247
MadMyche 1,185

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100