Hi,
One of our Third-party extensions is throwing errors (and I'm contacting them as well), but this may be related to a known DNN bug in 7.3.2 and was wondering if anyone had insight or provide help for this.
DNN: 7.3.2, Third-party extention: PackFlash: 4.6.3
(Constellation)
PackFlash started
throwing errors on a fresh PF install following my attempt to
assign security roles to certain PackFlash functions - I use one of PF's dashboard modules for CMS/article management called "PF-News" and set permissions in that dashboard's Global Settings->User Permissions.
ActiveTabID:704
ActiveTabName:PF News Dashboard
RawURL:/Admin/PF-News-Dashboard
AbsoluteURL:/Default.aspx
AbsoluteURLReferrer:http://www.diocs.org/Admin
UserAgent:Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:dad402d1-d451-4902-9414-6cbb17538167
InnerException:An item with the same key has already been added.
DotNetNuke.Services.Exceptions.PageLoadException: An item with the same key has already been added. ---> System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at PackFlash.DNN.Modules.Publishing.DAL.ControllerGlobalSettings.GetGlobalSettingsDB(Int32 PortalID)
at PackFlash.DNN.Modules.Publishing.DAL.ControllerGlobalSettings.GetGlobalSettingsCache(Int32 PortalID, Boolean RefreshFromDB)
at PackFlash.DNN.Modules.Publishing.Common.UserCanEditArticle(UserInfo user, Int32 portalid)
at PackFlash.DNN.Modules.Publishing.ArticleCMS.CMSMultiLingual.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control. (EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
--- End of inner exception stack trace ---
Again, the error is "An item with the same key has already been added."
The errors thrown seemed to indicate a localization issue (multi-lingual). Same for other attempts to load other PF dashboards.
The errors do not occur anywhere else on a very large site loaded with many other 3rd party extensions.
From this it look like it's a PF problem, but there is the CMSMultiLingual.Page_Load part that make me think we may have a connection to a DNN bug here...
This
DNN forum post is showing duplicate key problems for
others on DNN 7.3.2 (same as ours), but not with PackFlash. Even though our error is referring to GlobalSettings and Generic.Dictionary, I followed this.
I thought the
PortalSettings table was probably showing duplicate entries.
However, I do not have multi-lingual enabled.
To be sure, I
checked the PortalSettings table to see if any duplicate entries are there. There are
not.
Another DNN post
proposed a possible solution to a duplicate key problem:
https://dnntracker.atlassian.net/brow...
The comments on this
tracker page indicate a possible GlobalSettings stored procedure
problem that may not have gotten fixed until DNN 7.4+, and this
may be a more general fix than duplicate language/culture
settings, but not sure. Sebastian Leupold offered a
duplicate PortalSettings interim quick fix found here: http://dnnscript.codeplex.com/release...
We ran the 7.3.2 script anyway, but it didn't fix our problem. I didn't want to upgraded to DNN
7.4.2 until I checked with you regarding your experience with a
similar problem. Are there other tables I should check for duplicate entries?
What insights do you
have regarding this issue?
Thanks,