According to Intuit, Error Code 6177 indicates that QuickBooks couldn’t locate the company file on the path specified.
The file path at which QuickBooks expects to find the company file is the location shown on the Product Information screen. This screen can be displayed by pressing F2 while in QuickBooks.
For more information on resolving Error Code 6177, consult this Intuit knowledge base article.