Click here to Skip to main content
14,382,664 members
Rate this:
Please Sign up or sign in to vote.
See more:

When hosting my WCF DataService on IIS on window 8, 64 bit machine i am getting error "Could not load file or assembly 'System.Data.SQLite.DLL' or one of its dependencies. The specified module could not be found."

Below are the Configuration code. This DataService is running and hosted successfully on window 7 ,64 bit machine but not on window 8.Please help me to overcome this issue.

<add name="ApplicationSettingsEntities">
connectionString="metadata=res://*/ApplicationSettings.csdl|res://*/ApplicationSettings.ssdl|res://*/ApplicationSettings.msl;provider=System.Data.SQLite;provider connection string="
data source=D:\Project\BackUp\Server\ApplicationData\ApplicationSettings.db"" providerName="System.Data.EntityClient"/>

<remove invariant="System.Data.SQLite">
<add name="SQLite Data Provider" invariant="System.Data.SQLite" description="Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite">

Thanks in advance
Updated 19-Jan-15 5:19am
CHill60 19-Jan-15 10:23am
Try reinstalling SQLite
TheRealSteveJudge 19-Jan-15 10:50am
Did you also deploy "System.Data.SQLite.DLL" to your IIS?
jeetendra keshri1 19-Jan-15 11:58am
my publish file already contains "System.Data.SQLite.DLL"

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100