A "The type initializer for 'Laserfiche.SecureString' threw an exception" Error Occurs When Loading Laserfiche Scanning 8.

September 28, 2009 | KB: 1012345
Laserfiche 8

Summary

When using a Federal Information Processing Standard (FIPS) compliant computer, you may receive the following error message when loading Laserfiche Scanning 8:

    The type initializer for 'Laserfiche.SecureString' threw an exception.

In the Windows Event Viewer, the Application log may contain a more detailed error message similar to the following:

    System.InvalidOperationException: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.

Cause

When your Windows security policy enables the "System cryptography: Use FIPS compliant algorithms for encryption, hashing, and signing" option, the .NET Framework CLR will prevent Scanning from using an internal encryption algorithm. This prevents Scanning from properly loading.

Resolution

This issue is resolved in Laserfiche 8.1.1 and later. Please upgrade to the latest version of Laserfiche.