.Net Framework Data Provider not found
I got a project to complete some 开发者_高级运维tasks on it, but when I try debug I have this error in
DbProviderFactory Dbfactory = DbProviderFactories.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
Any help please
The DB Factory Provider name you want is:
"System.Data.SqlServerCe.3.5"
You have - "System.Data.SqlServerCe.Entity"
i.e.
DbProviderFactory Dbfactory = DbProviderFactories.GetFactory("System.Data.SqlServerCe.3.5")
PK ;)
精彩评论