The Search Method Included in LFImageEnable61.dll May Silently Truncate Search Strings That are Longer than 1000 Characters.

September 5, 2006 | KB: 1011266
Integrator's Toolkit 7.1

Summary

The Search method included in the LFImageEnable 6.1 type library may silently truncate your search string if it is longer than 1000 characters.

Cause

The Search method in Image Enable 6.1 contains a search string character limit. Image Enable 6.1 is a legacy component that was originally designed for Laserfiche 6 and contains limits associated with Laserfiche 6.

Resolution

This issue is resolved in Image Enable 7.2, which is included in Toolkit 7.2. Please upgrade to the latest version of the Integrator's Toolkit.

Note: Image Enable 7.2 is only compatible with Laserfiche Client 7.2.

Workaround

If you cannot upgrade to Image Enable 7.2, you can modify your code to either:

  • Use a shorter search string.
  • Split up your search into multiple parts by running one Image Enable search with part of the original search string. Then when that search finishes, run another Image Enable search with the next part of the original search string.