QuickBooks HelpQuickBooksHelpIntuit

Fix QBWin.log errors

by Intuit Updated 2 weeks ago

Learn what to do if you see QBWin.log errors in QuickBooks Desktop.

If you see a message about rebuilding your company file, don't worry. Follow the onscreen steps and rebuild your file. When you're done, you may see additional error messages about your .log files:

  • Verify Primary: Duplicate transaction number: Primary, Trans, txn#, date, doc#.
  • Verify Primary: totTrans wrong. Is ### should be ###.
  • Verify Primary: Next trans number is ### should be ###.
  • LVL_ERROR--Error: Verify Names List: Index XXX record XXX.

These usually happen if QuickBooks closes unexpectedly after an error, power outage or surge, or server failure. If you back up your data regularly, fixing QBWin.log errors should be straightforward. Even if you don't, we have steps to help you too.

In this article, you'll learn how to:



Step 1: Update QuickBooks

Follow the steps to update QuickBooks so you have the latest version.

Then move on to Step 2.



Step 2: Rebuild your company file

When you see the message about rebuilding your company file, follow the onscreen instructions and use the Rebuild Data Utility. This tool fixes minor damage to company files.

Then move on to step 3.



Step 3: Check the rebuild report

After you rebuild your file:

  1. Open QuickBooks and your company file.
  2. Press F2 to open the product info window.
  3. Select Review last Verify / Rebuild.
  4. Review the Verify/Rebuild results. Select Expand All to see if QuickBooks found any errors.

If you see one of these errors or any about QBWin.Log, move on to Step 4.

  • Verify Primary: Duplicate transaction number: Primary, Trans, txn#, date, doc#.
  • Verify Primary: totTrans wrong. Is ### should be ###.
  • Verify Primary: Next trans number is ### should be ###.
  • LVL_ERROR--Error: Verify Names List: Index XXX record XXX.


Step 4: Restore a backup

If you have a recent backup of your company file (QBB), use it to restore your accounts.

Open QuickBooks and your company file. If you still see QBWin.log error messages, or you don't have a backup, move on to Step 4.

Step 5: Use the Auto Data Recovery tool

Our Data Services team can help you use the Auto Data Recovery to fix your company file. It can fix errors the Rebuild Data Utility tool can't.

For any help reach out to our support team. Keep in mind, that the Data Services team will need at least 48 hours to repair your files.

Sign in now for personalized help

See articles customized for your product and join our large community of QuickBooks users.