PDA

View Full Version : Access db file gets locked.


pathakn
01-24-2007, 02:58 PM
Hi

I am using NHibernate.Driver.OleDbDriver class to connect with the Access Database file. After closing the Database connection using SessionFactory.Close when, i try to delete the file it says that file is locked by process.

I have a requirement to delete the file after closing the connection.

Am I missing something?