The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
sqlite open db on local server
#1
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?


Messages In This Thread
sqlite open db on local server - by jps01 - 06-19-2018, 01:10 PM
RE: sqlite open db on local server - by Gintaras - 06-19-2018, 03:31 PM
RE: sqlite open db on local server - by jps01 - 06-19-2018, 06:21 PM
RE: sqlite open db on local server - by Gintaras - 06-19-2018, 07:32 PM
RE: sqlite open db on local server - by jps01 - 06-19-2018, 08:15 PM
RE: sqlite open db on local server - by Gintaras - 06-20-2018, 09:44 AM
RE: sqlite open db on local server - by Gintaras - 06-20-2018, 09:48 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)