Summary
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".
Symptoms
When attempting to run the activation wizard (ManageSoft.Activation.Wizard.exe), it fails to open and instead displays the following error:
---Problem--- (s0m0): The activation wizard failed to initialize. ---System exception--- Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index ---Source--- mscorlib ---Stack trace--- 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.RunWizard() at ManageSoft.Activation.Executable.Main(String[] args)
Cause
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.
Resolution
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] AS BEGIN SELECT t.* ,fl.License FROM dbo.TenantsActiveWithPermission(NULL) AS t LEFT OUTER JOIN dbo.FlexeraLicense AS fl ON t.TenantUID = fl.TenantUID END GO
Related Articles
Known Issue: Unhelpful "Index was out of range" error when activation wizard is invoked without admin rights, or with a mi… 15Number of Views Tamper detected error when importing license via the FlexNet Activation Wizard 28Number of Views Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index 15Number of Views GetSAPRecommendationSet throws error in beacon-services.log: "System.ArgumentOutOfRangeException: Index was out of range. … 4Number of Views Error When Importing a New License File in the Activation Wizard 10Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago