开发者

.Net Framework Data Provider not found

开发者 https://www.devze.com 2023-04-03 15:57 出处:网络
I got a project to complete some 开发者_高级运维tasks on it, but when I try debug I have this error in

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 ;)

0

精彩评论

暂无评论...
验证码 换一张
取 消