geographika

Developing geo-technologies

Archive for January, 2008

Could not use ''; file already in use."

with one comment

System.Data.OleDb.OleDbException occurred
  ErrorCode=-2147467259
  Message=”Could not use ”; file already in use.”
  Source=”Microsoft JET Database Engine”

Access, lock files, and Visual Source Safe – an accident waiting to happen! I got the above error, after my code had been fine for weeks. Googling turned up permissions on the folder with the Access database, and closing secondary applications. The solution in the end turned out to be that the .ldb file had come under source control. Removing it from this, and deleting the fle resolved the issue.

Written by geographika

January 19th, 2008 at 10:10 pm

Posted in bugs

Tagged with , ,