"QB is attempting to open this Company file. Before you can open the company file from your computer you must first open the company file on the computer where the company file is located. (-6177,0)"
If you are receiving Error -6177, -6178, or -6179 and all users accessing QuickBooks data files on the server are not at release R3 or higher, the following steps may not resolve your issue. Please update all copies of QuickBooks to the most current release. If the issue is still occurring, then continue to the following procedures.
On the server, verify that the company file is opened from a local hard drive, not a UNC or mapped drive:
On the server computer, start QuickBooks and open the company file that gives the error when you attempt to connect to it from another computer, and then press the F2 key.
On the left side of the Product Information window, check the Location entry in the File Information area. This entry should reference a local hard drive.
If the entry does not reference a local drive, then click OK to close the Product Information window and proceed to step 3.
If the entry does reference a local drive, skip to step 6.
From the QuickBooks File menu, choose Open Company, and then locate the company file on a local hard drive path (such as C:\Program Files\Intuit\Quickbooks\CompanyFile.qbw).
Note: If the company file is not stored on a local hard drive, you will need to locate the file, move it to a local hard drive, and then return to Step 3.
On the Open a Company window, choose the company file you wish to open, check the Open file in multi-user mode checkbox, and then click Open.
Press the F2 key to open the Product Information window, then verify that the Location entry in the File Information area references a local hard drive location for the company file.
On a workstation computer, start QuickBooks and then open the file that you just opened on the server. If the file does not open, skip to the Toggle hosting On and Off procedure, below.
Repeat this procedure for each company file that you need to access in multi-user mode.
Toggle hosting Off and On:
On the server, open the company file in QuickBooks.
From the QuickBooks File menu, choose Utilities, and then select Stop Hosting Multi-User access.
Close QuickBooks and then restart it.
From the QuickBooks File menu, choose Utilities, and then select Start Hosting Multi-user access.
Open the file by selecting Open Company from the QuickBooks File menu, as described above.
Additional information for QuickBooks users with multiple data files:
If you are an accountant or bookkeeper who deals with many company data files that change on an ongoing basis, you may want to learn more about the QuickBooks 2006 Data File Scanning Utility. This utility prepares multiple data files for use in the QuickBooks Database. Please note that most QuickBooks users will not need this utility.
If the above procedure does not solve this issue, there may be data corruption. Click this link to send the file for data recovery http://recovery.filerepair.net