在配置中找不到指定的存储提供程序,或无效 [英] The specified store provider cannot be found in the configuration, or is not valid

查看:349
本文介绍了在配置中找不到指定的存储提供程序,或无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用实体框架与SQL Server CE 3.5,我有这个错误

i use entity framwork with SQL Server CE 3.5 and i have this error

在配置中找不到指定的存储提供程序,或无效。

<Schema Namespace="OimDBModel.Store" Alias="Self" Provider="System.Data.SqlServerCe.3.5" ProviderManifestToken="3.5" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns="http://schemas.microsoft.com/ado/2009/02/edm/ssdl">
    <EntityContainer Name="OimDBModelStoreContainer">
      <EntitySet Name="OfflineMessages" EntityType="OimDBModel.Store.OfflineMessages" store:Type="Tables" />
    </EntityContainer>
  </Schema></edmx:StorageModels>


推荐答案

结帐答案创建所有必需的Sql CE 3.5程序集的本地副本。这应该解决你的问题

Checkout this answer to create a local copy of all the required Sql CE 3.5 assemblies. That should solve your problem

这篇关于在配置中找不到指定的存储提供程序,或无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆