The specified store provider cannot be found in the configuration, or is not valid

假如想象 提交于 2019-12-12 01:36:42

问题


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

The specified store provider cannot be found in the configuration, or is not valid.

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

回答1:


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



来源:https://stackoverflow.com/questions/12226842/the-specified-store-provider-cannot-be-found-in-the-configuration-or-is-not-val

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!