Client Programs May Be Unable to Display Certain Images When Connecting to a Laserfiche 8.1 Repository.

August 8, 2014 | KB: 1012269
Laserfiche 8.1, Web Access 7, Web Access 8, WebLink 7, WebLink 8

Summary

In certain situations, the Laserfiche Server 8.1 installation may not correctly register an internal component during the installation. This can cause Laserfiche client programs to be unable to display certain page images. See the following list of symptoms for specific client programs:

  • The Laserfiche Client document viewer's image pane may display a "Failed to create a LFS helper process. [9340]" error message.
  • The WebLink Thumbnails tab may display a "Page 1 Error: Attempted to divide by zero." error message and the WebLink document viewer may not display images.
  • The WebLink Thumbnails tab may display a "Error loading thumbnail [9340]" error message and the WebLink document viewer may not display images.
  • The Web Access Thumbnails pane may be blank and the Web Access document viewer may not display images.
  • Annotations may appear in the wrong location and may not be displayed correctly.

    Note: If this issue occurs after an annotation is automatically added to a document (e.g., via Laserfiche Workflow, Quick Fields, or a Laserfiche SDK program), note that, in most cases, the problem is not with the program that added the annotation, but rather with the issue described in this article.

Resolution

Manually register the following files:

  • lfshlpPS.dll
  • lfshlp.exe

The above files are located in the "lfshlp" subfolder of your Laserfiche Server installation folder. By default, the path is "C:\Program Files\Laserfiche\Server\lfshlp."

To register the lfshlp component

  1. Restart the Laserfiche Server service.
  2. Click Start, All Programs, Accessories, and click Command Prompt to load a command prompt.

    Note: In a UAC environment, load an elevated command prompt by right-clicking on Command Prompt and select the Run as administrator option.

  3. At the command prompt, type the following and then press ENTER.
  4. regsvr32 "C:\Program Files\Laserfiche\Server\lfshlp\lfshlpPS.dll"

  5. Repeat step two with the following line:
  6. "C:\Program Files\Laserfiche\Server\lfshlp\lfshlp.exe" /regserver

  7. If you are using the 64-bit version of Laserfiche Server 8.1, you must also repeat the process with the 64-bit version of lfshlpPS.dll:
  8. regsvr32 "C:\Program Files\Laserfiche\Server\lfshlp\x64\lfshlpPS.dll"

  9. Restart the Laserfiche Server service.