E W

E W

  • NA
  • 3
  • 0

connect access db in c# web form

Aug 25 2006 6:01 AM
Hi,

I tried to connect the access db from c# web form. Everything is ok if the access *mdb not being in use. if that file was in use, it can't be connected. Does the file must be close even I just tried to connect it and read the data? if i tried to retrieve the data in the VS.net IDE oleDbDataAdapter1, the connection is ok. once i run the code oleDbConnection1.Open(); error occured!
Sicne the access db is updated frequently by connected  another program running, so it can't be closed.
Please help!
The Microsoft Jet database engine cannot open the file ''(unknown)''. It is already opened exclusively by another user, or you need permission to view its data.

Eva