When opening or creating a company file in QuickBooks Desktop, one of the following errors occurs:

Error -6000, -82

Error -6000, -106

How to fix it:

Intuit recommends more than one solution for this problem. The first solution may solve your problem, or you may need to try all of them to resolve the issue. For best results, perform the solutions in the order shown.
Important: Ensure QuickBooks is updated to the latest release. It is also recommended to install and run the QuickBooks File Doctor tool first before performing any of the following steps. If after using the tool and you still experience the issue, perform the following solutions in the order shown.
SLN40546