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

5.4k Views Asked by At

I have joined to existed project, and when try to build solution get Error 175: The specified data store provider cannot be found, or is not valid. in few projects. All of that are linked to different edmx files, and in all files all code after <edmx:StorageModels> are marked as error.

Example of edmx file:

<edmx:StorageModels>
    <Schema Namespace="AWareDBModel.Store" Alias="Self" Provider="System.Data.SQLite" ProviderManifestToken="ISO8601" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns="http://schemas.microsoft.com/ado/2009/02/edm/ssdl">
        <EntityContainer Name="AWareDBModelStoreContainer">

p.s I am using vs 2012

1

There are 1 best solutions below

1
On BEST ANSWER

I am not sure that is correct, but I have pasted this line

<add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".NET Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite, Version=1.0.94.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139"/>

to C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config and error disappear