I was recently using QuickBooks and then inadvertently left my computer unplugged overnight. I discovered it had shutdown when I went to work on it the next morning, and when I booted it back up, QuickBooks would not let me open my company file.
It was giving me an error message saying that the company file could not be opened because it was in use by another copy of QuickBooks. I am the only QuickBooks user, and it is the desktop version, not a server version, so I knew there was not another version of QuickBooks using my company file.
I did some research online and found the following article:
This article has a lot of different things in it to try. The one that worked for me was to clear the transaction log file (.TLG) file. This file contains the lock which prevents QuickBooks from opening the company file if QuickBooks wasn’t shut down properly.
To clear the transaction log file:
- Find the directory where your QuickBooks company file is stored.
- There should be three files named after your company:
- The file ending in .TLG is your Transaction Log File. If you can’t find it, check your folder settings to make sure that you can view all files and file extensions.
- Instead of deleting it, you can just rename it. I added “OLD-” to the beginning of the file name.
- Then, try opening your company file again (through QuickBooks as normal). This should have eliminated the lock on the company file, and QuickBooks will automatically generate a new transaction log file. If you notice anything amiss, you can restore the transaction log file since you saved it as “OLD-“.
- Once you are happy that everything is right with your company file again, delete the old transaction log file (“OLD-“).