I am working on a project. The project is running perfectly with no run-time errors on the development console. But when it was installed and executed on the test pc, I came across an error (-2147217900 : The database engine could not lock table 'tablename' because it is already in use by another person or process.) while opening a Access-2007 database file. Checked completely but no process is using the database.

oopss.. I found the error.. It was in the code itself.. :P

Hi, what was the code that was giving you trouble? I am having the same error, and do not know code.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.