Your connection string seems correct to me. Are you sure the SQLite ADO.NET provider is properly installed on the server ? Open your machine.config file, and check if there is an entry for System.Data.SQLite in the DbProviderFactories section
A link to a good resource about how to construct EF connection strings would be very helpful too!
Basically, you have to specify : - the model metadata (the parts with "res://...") - the store provider ("System.Data.SQLite" in your case) - the store connection string, which varies depending on which provider you use
The easiest way to construct a connection string dynamically is to use the EntityConnectionStringBuilder
class, along with the connection string builder of your store provider.