Directory synchronization fails with the error "The license file is missing, invalid or your trial period has expired"

After a WorkflowGen version upgrade or system change (such as a server update or configuration change), the automatic directory synchronization can fail with the error message The license file is missing, invalid or your trial period has expired.

To resolve this issue, perform the following checks on your WorkflowGen system:

  • Verify that there is only one license file (.lic) in the wfgen\bin folder.

  • Verify that the license file (.lic) is not locked; if so, unlock it.

  • Verify that the two WorkflowGen service execution files (WfgDirectoriesSyncService.exe and WfgWorkflowEngineService.exe) are not locked; if so, unlock them.

  • Verify that the account that executes the WorkflowGen services has read/write access to the \wfgen folder.

  • In the WfgDirectoriesSyncService.exe.config file, replace <add key="WebConfigPath" value="..." /> with <add key="webConfigPath" value="..." />.