Hello,
I have an OleDbConnection string defined as :
Private DBCon as New OledDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Mode=Read;Data Source = c:\temp\db\Test.accdb")
c:\temp\db and Test.accdb has only read and execute permission.
When I do a DBCon.Open() , I get the message : Cannot lock the file
However if I change the rights of c:\temp\db to modify and leave the rights of Test.accdb, it works fine. However, Test.laccdb is create in directory.
Why is a .laccdb file created when I open it in read mode?