Management Console (at cloud) crashing when opening it

Management Console (at cloud) crashing when opening it

Version: 

6.6 (Cloud), and can be faced at other versions.

Issue: 

When logging in to cloud Management Console, it gets crashed with the below error message:

"The application has encountered an error. All the errors have been logged. Please contact your system administrator. The application will now close."


Below is the error in MC log file:


<DATE-20210525>
<Event>
<Version>6.6.7503.20136</Version>
<Category>LOG</Category>
<Time>11:51:55 PM</Time>
<Message>Management Console Count Exceeded, Entitlement:5 Used:6</Message>
</Event>
<Event>
<Version>6.6.7503.20136</Version>
<Category>ERROR</Category>
<Time>11:52:08 PM</Time>
<Message>Security User Count Exceeded</Message>
<ExceptionInfo>
<Type>CXS.Platform.Data.CXSDataException</Type>
<Message>Security User Count Exceeded</Message>
<Source>CXS.Framework.Core</Source>
<TargetSite>Void ‎‏‎‬‌‍‬‍‬‬‌[&#x1;](&#x1;)</TargetSite>
<StackTrace> at ‌‏‬‎‬‎‍‎‎‏‌.‎‏‎‬‌‍‬‍‬‬‌[&#x1;](&#x1; )
at ‌‏‬‎‬‎‍‎‎‏‌.‎‎‌‬‌‌‌‍‍‌‏‏‎‌[&#x1;](&#x1; , Boolean )
at CXS.Framework.Core.BusinessObjectSubSystem`1.Commit(MBO businessObject)
at CXS.Retail.ManagementUIComponents.CXSManagementConsoleProgram.UpdateManagementConsoleRecord(ManagementConsole managementConsole, String hardwareId, String machineName)
at CXS.Retail.ManagementUIComponents.CXSManagementConsoleProgram.ResolveMachineId()</StackTrace>
</ExceptionInfo>
</Event>
</DATE-20210525>

Resolution: 

As per the error logged in the MC log file "Management Console Count Exceeded, Entitlement:5 Used:6", We connected to the HO database and found that there were 3 Management Console instances (RtlManagementConsole Table) that had column "HasLicense" as true and 3 Security users (SecSecurityUser table) were marked as HasLicense as true, which makes the total count 6 (3 MC + 3 Security users), however, license entitlement is for 5.


So one license should get free from any of these 6 occupied licenses to make it a maximum of 5 entitled licenses (as allowed) to resolve the issue.


If still need any further assistance on this then raise a support ticket with iVend support team.

Also please advise the customer to use the user licenses as per the entitlement balance to avoid such issues in the future.