System.Data.SQLite
View Ticket
Not logged in
Ticket UUID: 3c93c58aa5f3aca4dddc0d92fbf2b83cb8f45e51
Title: Exception : "Unable to open database" when the destination db in network shared folder
Status: Closed Type: Incident
Severity: Important Priority: Medium
Subsystem: Connection Resolution: Duplicate
Last Modified: 2013-09-29 05:06:01
Version Found In: 1.0.89.0
User Comments:
anonymous added on 2013-09-28 11:23:32:
Hi,

I have a sqlite job for ipad which creates sqlite db locally and copies to the destination either a local path or  a network shared path. If the local path is given its working fine but when i gave network shared path(UNC path), throwing exception "Unable to open database" while opening sqlite connection. I have given full access in the network folder but still having issues. PF the stack trace : 

 at System.Data.SQLite.SQLite3.Open(String strFilename, SQLiteConnectionFlags connectionFlags, SQLiteOpenFlagsEnum openFlags, Int32 maxPoolSize, Boolean usePool)
   at System.Data.SQLite.SQLiteConnection.Open()
   at SARA.SQLtoSQLite.clsMigrateDATA.CheckMasterUpdatesForCopyTable(String DBLocation) in E:\iGATE\SARA Mobile\SARA.SQLtoSQLite\SARA.SQLtoSQLite\SARA.SQLtoSQLite\clsMigrateDATA.cs:line 958
   at SARA.SQLtoSQLite.clsMigrationProcess.StaticMainProcess() in E:\iGATE\SARA Mobile\SARA.SQLtoSQLite\SARA.SQLtoSQLite\SARA.SQLtoSQLite\clsMigrationProcess.cs:line 203

mistachkin added on 2013-09-29 05:06:01:
See duplicate ticket [bbdda6eae2].

In order to open a database file on a network share, four leading backslash
characters are now required.