Approve Strongly Named Custom Assemblies

<< Click to Display Table of Contents >>

Navigation:  Professional > Installation and Administration >

Approve Strongly Named Custom Assemblies

EQuIS Professional requires that assemblies are strongly named and approved.

 

To use custom assemblies, they must be signed with a strong name and the key approved.

 

Signing With A Strong Name

 

Please refer to the Microsoft documentation: How to: Sign an assembly with a strong name.

 

Approving Public Key Tokens

 

To approve a public key token in EQuIS Professional:

 

1.Connect to the database where the custom report, form or other assembly(s) need approval.

2.Create an ST_CONFIG record for each approved public key token with the values as detailed below.

 

ST_CONFIG

Value

CONFIG_SECTION

AssemblyTokens

CONFIG_KEY

Token

OBJECT_TYPE

PublicKey

OBJECT_VALUE

<Public Key Token>

 

3.Save changes and restart EQuIS Professional.

 

Checking The Public Key Token Of A Signed Assembly

 

In Windows PowerShell run the command below without the outside quotes and replacing <Path to assembly> with the path to your assembly.

 

“([system.reflection.assembly]::loadfile("<Path to assembly>")).FullName”

 

Note: Assemblies with a null PublicKeyToken will not be approved. An invalid assembly error will appear in the EQuIS log.