"The type initializer for 'Touchpaper.Client.ClientPlatformManager' threw an exception" error in Console

Version 1
    Problem

    The following error message can be displayed in Console:

     

    The type initializer for 'Touchpaper.Client.ClientPlatformManager' threw an exception

     

    This may be presented as an unhanlded exception with the details:

     

    System.IO.FileLoadException: Could not load file or assembly 'file:///C:\Program Files\LANDesk\LANDesk ServiceDesk\xxxxx.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) ---> System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework.

     

    Cause

    This can occur when a patch has just been applied and the computer does not "trust" the patched file because it was copied from a network location.

     

    Solution

    Locate the file that is causing the error.  If the error was presented as an unhandled exception it will include the file, otherwise check what files have just been replaced.  Then perform the following steps:

     

    1. Exit Console.

    2. Right-click on the relevant file and select Properties.

    3. On the Proeprties dialog box click the Unblock button at the bottom of the panel then press OK.

    4. Re-open Console.