This is a connection string problem,
SQL Lite String Connection Formats
The main ones:
Data Source=filename;Version=3;
Using UTF16:
Data Source=filename;Version=3;UseUTF16Encoding=True;
With password:
Data Source=filename;Version=3;Password=myPassword;
Using the pre 3.3x database format:
Data Source=filename;Version=3;Legacy Format=True;
With connection pool:
Data Source=filename;Version=3;Pooling=False;Max Pool Size=100;
Only for reading:
Data Source=filename;Version=3;Read Only=True;
EDIT 1:
When connecting to a remote database, check the following.
- Valid firewall port.
- Hosting company / database allows remote connection.
source share