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 ForumsGalleryGalleryAdding Gallery module causes errorAdding Gallery module causes error
Previous
 
Next
New Post
1/4/2006 2:35 PM
 

Hi

Not quite. My DNN 3.2.2 site is up and running. I uploaded the Gallery module and it said it installed correctly, no errors reported via Modules in "host".

The DNN "Blog" module uploaded fine and is in use as well as a non-core module, "Comic Strip".

I dont think its a core issue as I have a "test" site and get the same error. However I will give it a try, no harm :)

 
New Post
1/5/2006 3:42 AM
 

Hi

(Dont know why my other post is blank but.... it said, no DNN 3.2.2 is up and running (www.fat-belly.com), can add "Blog" and a couple of non-core modules successfully. Also havent touched any ASCX file.... No need to kick you...... :)  )

I have copied the DNN 3.2.2 folders and files from my computer up to my host, reloaded the Gallery 3.0.11 module via Host/Modules, added it to a test page and still get the same error. But can I clarify, ONCE uploaded Gallery I need to overwrite the settings.ascx file? (Sorry.... and I assume this is from the DNN core files again?)

Thanks

(Error....)

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

 
New Post
1/5/2006 10:42 AM
 

Morning Wonderbison,

Very nice site you have there.  Have you every thought of adding a Gallery to it.  :)  Just joking.  :) 

You right I don't think this is a Gallery problem either other than possibly something in the gallery theme conflicting with the skin possibly?  I don't think it's a SQL problem as it seems to be trying to add a key to the collections hash and that key is there from some other source.  I can't reproduce it on my systems.

I went through the source looking for 'REFBlackWhite.Text' while it was running in debug and then on my live site and never see it. The only differences I can see between our installs is the skins being used to maybe it is skin related?  Although I assume you have tried loading a page using the default skin with the Gallery.  If you look at my site you can tell I know nothing of skinning or site design so take that with a grain of salt.  :)

That settings.ascx file won't fix this problem.  It'll fix the next one you get with the wedcontrols.UI error.

Sorry I couldn't be more help


Paul Davis
 
New Post
2/12/2006 2:38 PM
 

i'm new to dnn and am already getting frustrated with how difficult it is to get things working correctly. 

i get the same error as wonderbison and did some very basic debugging by looking where 'refblackwhite.text' shows up.  the only thing i could see is that it's in _photoMetadata.xml in the Resources.zip file, under the Resources directory.  not sure what this is used for (the data for images perhaps?), but in this file, i'm seeing two references...

<tagMetadata id="532" category="">

  <name>REFBlackWhite</name>
  <description>Reference black point value and reference white point value.</description>
</tagMetadata>

<tagMetadata id="20538" category="THUMBNAIL">

  <name>RefBlackWhite</name>
  <description>Reference black point value and reference white point value for the thumbnail image.</description>
  </tagMetadata>
 
again i'm not sure what this is used for, but it seems like this information might be helpful.  
 
my installation is *so* basic- i installed dnn 3.2.2 clean, then added the blog module (no problem there) and the gallery module (not working).  
 
does anyone have this working properly? 
 

wonderbison wrote

Hi

(Dont know why my other post is blank but.... it said, no DNN 3.2.2 is up and running (www.fat-belly.com), can add "Blog" and a couple of non-core modules successfully. Also havent touched any ASCX file.... No need to kick you...... :)  )

I have copied the DNN 3.2.2 folders and files from my computer up to my host, reloaded the Gallery 3.0.11 module via Host/Modules, added it to a test page and still get the same error. But can I clarify, ONCE uploaded Gallery I need to overwrite the settings.ascx file? (Sorry.... and I assume this is from the DNN core files again?)

Thanks

(Error....)

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

 
New Post
2/12/2006 6:17 PM
 
Please try my suggestion as one from someone with a very limited knowledge of the issue. For what it is worth I remember there was something related coming from IIS and indexing. I am short of time right now, though you could try a search at the ASP DNN forums. Search using "IIS" and "indexing".

Do you know the truth when you hear it?
Néstor Sánchez
The Dúnadan Raptor -->Follow Me on Twitter Now!
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsGalleryGalleryAdding Gallery module causes errorAdding Gallery module causes error


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