Start a conversation

Error: An unknown error occurred. Could not load file or assembly unicorn.accountapi.client version=1.0.0.0 When Updating the License Key

Overview

When updating the license key, the GFI LanGuard server is reporting the error "An unknown error occurred. Could not load file or assembly unicorn.accountapi.client version=1.0.0.0"

This article provides a solution for resolving the issue.

 

Solution

The error above is caused by the system being unable to communicate with the GFI Unicorn Licensing licensing servers. Most commonly, this has been seen on the servers in highly secured environments due to internet access absence.

  1. Open services.msc.
  2. Stop all the GFI LanGuard services.
  3. Navigate to Shared Application folder, by default C:\ProgramData\GFI\LanGuard XX (where XX is the version number).
  4. Locate the toolcfg_license.xml and open it in your preferred text editor.
  5. Enter your new license key in the indicated location.

    mceclip0.png
  6. Save the edited file.
  7. Restart the GFI LanGuard services.

Testing

The GFI LanGuard will start with the new license key in place, verify the license details.

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted
  3. Updated

Comments