06-19-2018, 01:10 PM
when I try to open a sqlite db file that is shared on a local server it fails with 'failed. unable to open database file.' message.
If I open the same on the server itself it open fine.
str dbfile="c:\Users\Public\Documents\lb\lead.db3"
Sqlite db3.Open(dbfile)
while this fails:
str dbfile="\\win-kl55s2pio18\Users\Public\Documents\lb\lead.db3"
Sqlite db3.Open(dbfile)
If I use the program 'DB Browser for SQLite' (windows version) I am able to open the database on the server from a local computer.
Seems the problem must be in the dbfile string, but not sure. I tried many variations.
Any ideas?
If I open the same on the server itself it open fine.
str dbfile="c:\Users\Public\Documents\lb\lead.db3"
Sqlite db3.Open(dbfile)
while this fails:
str dbfile="\\win-kl55s2pio18\Users\Public\Documents\lb\lead.db3"
Sqlite db3.Open(dbfile)
If I use the program 'DB Browser for SQLite' (windows version) I am able to open the database on the server from a local computer.
Seems the problem must be in the dbfile string, but not sure. I tried many variations.
Any ideas?