2012-09-01 45 views
0

我使用實體framwork與SQL Server CE 3.5和我有這個錯誤指定的存儲提供不能在配置中找到,或者是無效

指定的存儲提供不能在配置中找到,或者是無效。

<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

結帳this答案創建所有所需的SQL CE 3.5組件的本地副本。這應該可以解決你的問題

相關問題