Hi,
We are upgrading one of our DNN sites from version 5.4.2 to 5.6.6
For this upgrade we also are upgrading to the latest version of MPUS (3.1.1.0)
For this upgrade we followed the steps as stated here:
http://www.dnnmasters.com/help/html/MPUS-X/ After the upgrade we received errors stating: An item with the same key has already been added
The stacktrace showed:
[ArgumentException: An item with the same key has already been added.]
System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) +56
System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) +10417566
System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value) +12
DNNMasters.MPUS.X.Engine.Licensing.LicenseUtilsConfig.ReturnPortalAliasByTabId(Int32 tabId) +1099
DNNMasters.MPUS.X.Engine.Licensing.LicenseUtilsConfig.FilterCheckLicenseIsValid(HttpApplication app, HttpRequest request) +204
DNNMasters.MPUS.X.HttpModule.Module.context_ReleaseRequestState(Object sender, EventArgs e) +61
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +171
We indeed have several ports each with two aliases. When removing the aliases in the dnn_PortalAlias table, the error was gone. However, we need those aliases!
Is the ReturnPortalAliasByTabId taking multiple aliases for a single port into account when adding the found keys into the dictionary?
Best regards,
Andre van der Plas