ba272
asked on
OleDbConnection and sharing a folder, "Could not lock file."
Hi,
I have a working database connection that I need to share across the network. But when I share it using Windows Explorer, the connection.Open() call generates an exception. "Could not lock file."
Any ideas?
Thanks,
Bob
I have a working database connection that I need to share across the network. But when I share it using Windows Explorer, the connection.Open() call generates an exception. "Could not lock file."
Any ideas?
Thanks,
Bob
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Oh I see. The other computer didn't have the requisite write permission so it could create the ldb file. That's right.
Thanks.
Thanks.
ASKER
conn.ConnectionString = @"Provider=Microsoft.Jet.O
"C:\Database.mdb" + ";Mode=Read";