I am using SQLite
in my Winforms application. I am copying System.Data.SQLite.dll
and System.Data.SQLite.Linq.dll
in output directory.
App.config
<system.data>
<DbProviderFactories>
<remove invariant="System.Data.SQLite" />
<add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".Net Framework Data Provider for SQLite"
type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
</DbProviderFactories>
</system.data>
The application is throwing "Failed to find or load the registered .Net Framework Data Provider"
error in some client's machines.
Please suggest me what should i do to fix this.