What happens if you map a network drive to \\PC-Name\C\FolderName (say drive X:) and then try to open the file as x:\data.db ?
Adam On Thu, Jun 25, 2015 at 10:24 AM, Takashi Fukuda <takashifukuda at comcast.net> wrote: > Donald Griggs tried to help this problem, and we looked at the Jean C's > advice. However the problem remains. The actual codes using are as follows: > > > > =========================================================== > > string dataFile = "\\\\PC-Name\\C\\FolderName\\data.db > <file:///\\PC-Name\C\FolderName\data.db> " ; > > // > > // For x32 target compilation with System.Data.SQLite-x32-1.0.97.dll (.NET4) > > // The application works fine. > > // > > // For x64 target compilation with System.Data.SQLite-x64-1.0.97.dll (.NET4) > > // Error message: "unable to open database file" > > > > using (SQLiteConnection cnn = new SQLiteConnection(dataFile)) > > using (SQLiteCommand cmd = cnn.CreateCommand() > > { > > cnn.Open(); <<<<< causing error ! > > =========================================================== > > > > Can anybody help ? > > > > Best regards, > > Takashi Fukuda > > takashifukuda at comcast.net > > > > > > From: Takashi Fukuda [mailto:takashifukuda at comcast.net] > Sent: Thursday, June 18, 2015 11:35 AM > To: 'sqlite-users at mailinglists.sqlite.org' > Subject: SQLite (1.0.97) access via LAN > > > > We are developing Windows applications with SQLite.dll. The current > situation with VisualStudio-2010 is as follow: > > > > For x32 target compilation with System.Data.SQLite-x32-1.0.97.dll (.NET4) > > My application works fine. > > > > For x64 target compilation with System.Data.SQLite-x64-1.0.97.dll (.NET4) > > Error message: "unable to open database file" > > > > This problem happens when our applications access to the SQLite data file > "data.db" via LAN, with "\\\\PC-Name\\C\\FolderName\\data.db > <file:///\\PC-Name\C\FolderName\data.db> " format. The local access with > "C:\\FolderName\\data.db" works fine. As described above, the x32 version > works fine both local and LAN access. > > > > Best regards, > > Takashi Fukuda > > takashifukuda at comcast.net > > > > > > --- > ??E???????? ????????????????????????? > http://www.avast.com > _______________________________________________ > sqlite-users mailing list > sqlite-users at mailinglists.sqlite.org > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users -- -------------- VerifEye Technologies Inc. 151 Whitehall Dr. Unit 2 Markham, ON L3R 9T1