QuickBooks loses connection to the shared company file if the host computer goes into sleep mode.
When the host computer enters sleep mode, the network connection to that computer is suspended. This causes other workstations to be unable to communicate with the QuickBooks Server application.
Solution1: Edit the system preferences to prevent the computer from sleeping
Solution: Restart computer