Click here to Skip to main content
15,894,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

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.



<connectionstrings>
<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"/>


<system.data>
<DbProviderFactories>&lt;
<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
Jeetendra
Posted
Updated 19-Jan-15 4:19am
v2
Comments
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, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900