The Workflow Server and Subscriber services may not successfully start after you restart the computer.
This issue can occur when the Workflow services are installed on the same computer as its associated Microsoft SQL Server instance. During the Window startup process, the Microsoft SQL Server instance may not be fully loaded when the Workflow services attempt to start. The Workflow services are unable to connect to Microsoft SQL Server, reach the Windows Service Control Manager's timeout limit, and do not successfully start.
Modify the registry to add a service dependency for the Workflow services and increase the timeout limit for the Windows Service Control Manager.
Important: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs.
To set a service dependency
- Click Start and then click Run.
- In the Run dialog box, type the following and click OK to load the Windows Registry Editor:
regedit
- Expand HKEY_LOCAL_MACHINE.
- Expand SYSTEM.
- Expand CurrentControlSet.
- Expand Services.
- Select the Laserfiche Workflow 8.0 registry key.
- Double-click the DependOnService multi-string value.
- On a new line below MSMQ, perform one of the following:
- Add MSSQL$LASERFICHE to the list if the installation is running on MSDE. If you are using a different instance of MSDE or SQL Server Express, please specify the appropriate name.
- Add MSSQLSERVER to the list if the installation is running on the full version of Microsoft SQL Server.
- Click OK to save your changes.
- Repeat steps 8-10 with the Laserfiche Workflow Subscriber registry key.
To increase the Service Control Manager's timeout limit
- Click Start and then click Run.
- In the Run dialog box, type the following and click OK to load the Windows Registry Editor:
regedit
- Expand HKEY_LOCAL_MACHINE.
- Expand SYSTEM.
- Expand CurrentControlSet.
- Select the Control key.
- From the Edit menu, point to New and click DWORD Value.
- Name the new value:
ServicesPipeTimeout
- Double-click the ServicesPipeTimeout value you created in the previous step.
- Set the value to the desired timeout limit in milliseconds. For example, if you want to set the timeout limit to 15 minutes, specify 900000.
- Click OK to save your changes.
After performing the above registry changes, restart the computer.