简体   繁体   中英

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

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>

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM