Summary
Your searches can time out if the search results contain a document or folder that has an invalid parent folder.
Cause
If a document or folder in the Toc table has a ParentId that equals its own TocId, Laserfiche could go into an infinite loop when trying to calculate the entry access rights that affect that document or folder.
Resolution 1
This issue is resolved in Laserfiche 7.1.2. Please upgrade to the latest version of Laserfiche.
Resolution 2
There is a hotfix available for Laserfiche 7.x. The fix is a SQL script that updates the stored procedure responsible for checking entry access rights.
To update the calc_entry_access stored procedure
cmd
OSQL -S SQLInstance -E -d DatabaseName -i "PathtoScript"
SQLInstance is the name assigned to your instance of SQL Server. By default, the instance name is the name of the computer hosting SQL Server.
DatabaseName is the name of the database associated with your Laserfiche repository.
PathtoScript is the location of calc_entry_access_fix_70x.sql or calc_entry_access_fix71x.sql. Specify calc_entry_access_fix_70x.sql if you are using a Laserfiche 7.0.x repository. Specify calc_entry_access_fix71x.sql if you are using a Laserfiche 7.1.x repository.