Important:
The following process can be time-consuming and should be scheduled appropriately.
A rebuild cannot be performed in a HandiSoft SQL version.
To resolve an error message when opening Document Manager that refers to the HsDocSrvFile.Dat file:
Ensure you have a working backup.
Close all users out of all HandiSoft programs.
Run this process on the server, as this is usually the fastest machine.
If you use HandiSoft Online, make a copy of the App (Z:)\Data\HsDocSrvFile.dat file with todays date added at the end. Review How to restore a shadow copy, then go to Step 14.
On your server, via File Explorer, navigate to the HSoft\Data folder.
Sort the files by Type and delete all files with type REB File if any exist.
7. Have one user open Practice Manager or HandiSoft.
8. Go to Tools, Rebuild the Databases.
9. Tick Document Manager Database, then click Rebuild.
10. Agree to the prompts. Then continue to Step 15.
If the Document Manager Database is greyed-out in Step 9 above, complete below steps.
11. In File Explorer, navigate to the HSoft\Data folder and rename the HsDocSrvFile.Dat file to HsDocSrvFile.DatOLD.
12. Navigate to the HSoft\Data folder in your backup prior to the issue occurring.
13. Copy\paste the HsDocSrvFile.Dat file from your backup to the live HSoft\Data folder.
14. Have one user open Practice Manager or HandiSoft and go to Tools, Rebuild the Databases, tick Document Manager Database, Rebuild, and Agree to the prompts.
15. Open Document Manager and go to Tools, Verify Clients.
16. Go to Tools, Verify Documents, Yes.
17. Tick Automatically Delete, then click Run.
18. Review the next windows, then choose OK, Yes, Close.
19. Go to Tools, Synchronise, select All, click Ok, then OK again.

