ERROR: A "Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information" Error Occurs After Installing Laserfiche Forms 9.0.1.

February 25, 2013 | KB: 1013147
Laserfiche Forms 9.0.1

Summary

After installing Laserfiche Forms 9.0.1, you may receive the following error message when opening the Forms Configuration page.

    Forms Configuration failed to load

    Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.

Resolution

  1. In Windows, stop the Laserfiche Forms Routing Service. To do so, click Start, Control Panel, Administrative Tools, and then double-click Services. Select the Laserfiche Forms Routing Service from the list and click Stop this service.
  2. Navigate to Laserfiche Forms install directory\Laserfiche\Laserfiche Forms\Forms\bin and open RoutingEngineServiceHost.exe.config using a text editor.
  3. In the RoutingEngineServiceHost.exe.config file, find the <startup> element and change it to:

    <startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
    </startup>

    If there are two <startup> elements present in your RoutingEngineServiceHost.exe.config file, change the <startup> element at the bottom of the file and remove the <startup> element toward the top.

  4. Save and close RoutingEngineServiceHost.exe.config.
  5. Restart the Laserfiche Forms Routing Service. To do so, click Start, Control Panel, Administrative Tools, and then double-click Services. Select the Laserfiche Forms Routing Service from the list and click Start this service.