Getting and error when adding a gallery module to a page.
A critical error has occurred.
MinMax persistance type of cookie requires a ModuleId
Note before reading all this... redid install with .Net 1.1 and everything worked. This is an error using .Net V2
Order of events:
Upgrade web site to .Net V2
Installed fresh copy DNN 3.2.2
Loaded Gallery Module 3.00.11
Created new page
Add Gallery Module
A critical error has occurred.
MinMax persistance type of cookie requires a ModuleId
Log:
Green: Module Created
3 Module Load Exceptions
********* First Exception:
ModuleId: -1
ModuleDefId: -1
FriendlyName:
ModuleControlSource:
AssemblyVersion: 03.02.02
Method: System.Collections.Hashtable.Insert
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: August Family Portal
UserID: 1
UserName: host
ActiveTabID: 55
ActiveTabName: Photos
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.augustfamily.com/Photos/tabid/55/Default.aspx
ExceptionGUID: 7f9d0aba-3177-4c28-a7c3-c246b33f6c55
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Item has already been added. Key in dictionary: 'REFBlackWhite.Text' Key being added: 'RefBlackWhite.Text'
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Item has already been added. Key in dictionary: 'REFBlackWhite.Text' Key being added: 'RefBlackWhite.Text' ---> System.Web.HttpParseException: Item has already been added. Key in dictionary: 'REFBlackWhite.Text' Key being added: 'RefBlackWhite.Text' ---> System.ArgumentException: Item has already been added. Key in dictionary: 'REFBlackWhite.Text' Key being added: 'RefBlackWhite.Text' at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) at System.Collections.Hashtable.Add(Object key, Object value) at System.Resources.ResourceWriter.AddResource(String name, Object value) at System.Web.Compilation.BaseResourcesBuildProvider.GenerateResourceFile(AssemblyBuilder assemblyBuilder, IResourceReader reader) at System.Web.Compilation.BaseResourcesBuildProvider.GenerateCode(AssemblyBuilder assemblyBuilder) at System.Web.Compilation.AssemblyBuilder.AddBuildProvider(BuildProvider buildProvider) --- End of inner exception stack trace --- at System.Web.Compilation.AssemblyBuilder.AddBuildProvider(BuildProvider buildProvider) at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() at System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) at System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) at System.Web.Compilation.BuildManager.EnsureFirstTimeDirectoryInit(VirtualPath virtualDir) at System.Web.Compilation.BuildManager.GetBuildResultFromCacheInternal(String cacheKey, Boolean keyFromVPP, VirtualPath virtualPath, Int64 hashCode) at System.Web.Compilation.BuildManager.GetVPathBuildResultFromCacheInternal(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---
********* Second Exception:
ModuleId: -1
ModuleDefId: -1
FriendlyName:
ModuleControlSource:
AssemblyVersion: 03.02.02
Method: System.Web.UI.UserControl.get_Request
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: August Family Portal
UserID: 1
UserName: host
ActiveTabID: 55
ActiveTabName: Photos
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.augustfamily.com/Photos/tabid/55/Default.aspx
ExceptionGUID: f6933d01-2c33-4588-a261-3d20d3290dba
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Object reference not set to an instance of an object.
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at System.Web.UI.UserControl.get_Request() at DotNetNuke.Entities.Modules.PortalModuleBase.get_IsEditable() at DotNetNuke.UI.Containers.Title.CanEditModule() at DotNetNuke.UI.Containers.Title.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
********* Third Exception:
AssemblyVersion: 03.02.02
Method: DotNetNuke.UI.Utilities.DNNClientAPI.EnableMinMax
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: August Family Portal
UserID: 1
UserName: host
ActiveTabID: 55
ActiveTabName: Photos
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.augustfamily.com/Photos/tabid/55/Default.aspx
ExceptionGUID: c27e0032-8faf-4958-8193-923497eae553
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: MinMax persistance type of cookie requires a ModuleId
Message: DotNetNuke.Services.Exceptions.PageLoadException: MinMax persistance type of cookie requires a ModuleId ---> System.Exception: MinMax persistance type of cookie requires a ModuleId at DotNetNuke.UI.Utilities.DNNClientAPI.EnableMinMax(Control objButton, Control objContent, Int32 intModuleId, Boolean blnDefaultMin, String strMinIconLoc, String strMaxIconLoc, MinMaxPersistanceType ePersistanceType, Int32 intAnimationFrames) at DotNetNuke.UI.Containers.Visibility.Page_PreRender(Object sender, EventArgs e) at System.Web.UI.Control.OnPreRender(EventArgs e) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Set Web Server back to .Net 1.1
Re-installed from scratch.
Added new page
Added Gallery module
It worked...
Note to self... stay away from .Net V2...