This article describes possible reasons why you may be unable to open the FlexNet Manager Suite license activation wizard and receive an error message indicating "Index was out of range".
When attempting to run the activation wizard (ManageSoft.Activation.Wizard.exe), it fails to open and instead displays the following error:
(s0m0): The activation wizard failed to initialize.
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.Collections.Generic.List`1.get_Item(Int32 index)
at ManageSoft.Activation.Executable.Main(String args)
There could be two causes to this issue:
The user account used to open the activation wizard does not have administrator rights in FlexNet Manager Suite.
If the inventory database and compliance database are both stored in the same physical database, and the compliance database schema was configured before the inventory database schema was configured. This is because these databases share the same dbo.TenantSecurityInfoGetAll stored procedure which is used by the activation wizard. The implementation of this procedure differs in between the inventory and compliance databases, and will be incorrectly configured if the inventory database schema was configured last.
For cause #1, ensure that the activation wizard is invoked using an account that has full administration rights in FlexNet Manager Suite.
For cause #2, the following SQL can be executed against the shared inventory/compliance database to correctly configure the TenantSecurityInfoGetAll stored procedure:
ALTER PROCEDURE [dbo].[TenantSecurityInfoGetAll]
dbo.TenantsActiveWithPermission(NULL) AS t
LEFT OUTER JOIN dbo.FlexeraLicense AS fl ON t.TenantUID = fl.TenantUID
This issue is planned to be addressed in the following future FlexNet Manager Suite releases: 2023 R1.3 / Sep 2023 (Cloud), 2023 R2 (On Premises)
Affected components: Database, Operators, rights and roles
Master issue ID: IOJ-2243204
Also known as: ITAM-396
Mar 30, 202202:38 AM - edited Aug 03, 202302:30 PM