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:[email protected]]
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