Access to Access

  • Thread starter Thread starter Rob Monroe
  • Start date Start date
R

Rob Monroe

I posted this several months back, PLEASE, someone knowledgeable give me
some help.

I am learning about Visual Basic.Net. The exercise currently is to
programaticically open an OLEconnection to an existent database. I have
checked the code and it is correct. The database is on my home machine, an
MDB file I made myself. When I attempt to connect I get the following
error. "The Microsoft Jet database engine cannot open the file [the
address]. It is already opened exclusively by another user, or you need
permission to view its data." The database is NOT open. I am ABLE to open
it on my machine with no issues. But the error persists. Does anyone have
any suggestions? It seems that Access is not letting someone outside open
the file.

Rob Monroe
 
The identity under which your application executes must have read and write
permission on the folder that contains the database - otherwise, the JET
database engine will not be able to create the record-locking (LDB) file.
 
Back
Top