Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsGalleryGalleryDNN 3.2.2 and Gallery 3.00.11 MinMax cookie error (.Net V2 problem)DNN 3.2.2 and Gallery 3.00.11 MinMax cookie error (.Net V2 problem)
Previous
 
Next
New Post
12/31/2005 1:26 AM
 

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...

 
New Post
12/31/2005 4:15 PM
 

When you see this error on a page, it is actually covering up the real error.  Looking at your log you will see it is something about a key already being added.  I am not sure what the problem is exactly, but I have been spending more time in the 4.x install for the gallery to hopefully fix some issues it presents.

 


Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
New Post
1/6/2006 8:40 AM
 

Hi

I am getting this as well. I am running DNN 3.2.2. The strange this is it works locally on my XP Pro sony Vaio. I then removed the module, detached the database, got my hosters to re-attach my local one and do the necessary, and then I uploaded everything locally to my hoster. Re-added (after two or three attempts for different errors) the module, then added it to a page and go it.

Its nothing to do with a failed "upload" leaving something behind perhaps? and the delete of the module not removing it?

I thought it was maybe a skin issue, but went to the default DNN skin and still got problems.

The underlying "bug" of the RefBlackWhite thingy, I thought by doing a clean install it would go away... :(

But I am thinking it is a failed upload issue perhaps......

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsGalleryGalleryDNN 3.2.2 and Gallery 3.00.11 MinMax cookie error (.Net V2 problem)DNN 3.2.2 and Gallery 3.00.11 MinMax cookie error (.Net V2 problem)


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out