Skip to main content
Kofax

Kofax TotalAgility 7.x - License Error: [7001] Loading this assembly would produce a different grant set from other instances

Summary

20273

Applies To

Kofax TotalAgility 7.x

Behaviour / Question

You are unable to activate your KTA License or unable to login to the KTA Designer nor Workspace.

You are getting error below:

License error:
[7001] SALicClnt: Exception has been thrown by the target of an invocation.
Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401)

Known Causes / Background

This error is caused by a known bug in the APM component of Microsoft's Performance Monitor software SCOM.

Per several posts, Microsoft have confirmed this bug which causes the same issue with several vendor applications running inside the IIS application pool (the most mentioned is Sharepoint). KTA runs under IIS thus falls into this category too.

Resolution / Answer

Microsoft have not yet provided a fix to the SCOM's APM (Application Performance Monitoring).

The recommended solution is to uninstall SCOM or install it with NOAPM=1 when doing so on the KTA application server.