When you try to open the company file, you see the following message:
An error occurs when QuickBooks tried to access the company file (-6189, -816)
There are several similar codes with different solutions which include, but are not limited to:
Check both codes in the error message to choose the right solution. Also, check what you were doing when the error occurs.
If you are getting Error (-6189, -816) while opening your company file, use the resolutions in the next section.
If you still see the error, continue with the next solution.