Perform data damage troubleshooting if, while backing up your QuickBooks company file, the following message appears:
A data problem prevents QuickBooks from continuing
One or both of the following error messages may also show in your QBWin.log after verifying data:
LVL_ERROR--Error: Verify Item History: Build txn target bad pending state. Item = nnnnn
LVL_ERROR--DB error -185 ErrorMessage:'SELECT returns more than one row' from file:'.\.\src\DMEDLSQLContactEditElement.cpp' at line 2679 from function:'DMEDLContactEditElement::LoadAdditional
Rebuilding the company file should resolve the issue, but manually editing the items specified in the log may still be necessary.
IMPORTANT: Ensure that your QuickBooks Desktop is up to date before you follow the steps shown below.