开发者

Unable to find the requested .Net Framework Data Provider

I have built a wpf application that is using EF and SQLCE4.

Everything works fine on my local dev machine however when I package it up and install on a test machine I keep getting this error

Inner Expection System.ArgumentException: Unable to find the requested .Net Framework Data Provider. It may not be installed. at System.Data.Common.DbProviderFactories.GetFactory(String providerInvariantName) at System.Data.EntityClien开发者_JAVA百科t.EntityConnection.GetFactory(String providerString)

I have installed the SQLCE4 application and both .net4 client & extended frameworks.

Has anyone run into this problem before?


You can use NuGet package manager 1.5 (for VS 2010 SP1) and download the SQL CE 4 package first.

And then add the package to you project, and rebuild it.

For info about SQL Server CE 4's Nuget: http://www.nuget.org/List/Packages/SqlServerCompact

On using Nuget: http://docs.nuget.org/

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜