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 ForumsGalleryGalleryNew installations with 3.3.5 throws errorsNew installations with 3.3.5 throws errors
Previous
 
Next
New Post
9/24/2006 5:14 PM
 

After trying to load gallery module. Post dnn311 aspnet 1.1 upgrade to dnn335 aspnet2.0 on wh4l

Unhandled error loading module.
DotNetNuke.Services.Exceptions.ModuleLoadException: Unhandled Error Adding Module to LeftPane ---> DotNetNuke.Services.Exceptions.ModuleLoadException: Error: Gallery is currently unavailable. ---> 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

 
New Post
10/6/2006 3:48 PM
 
I'm having the same problem.  I think it has something to do with an indexer and setting it for a longer duration.  My problem is that right now I have no scheduled indexer. 

You can see what I have installed and the error I'm getting (exact some one I think).  Here
 
New Post
10/6/2006 8:51 PM
 
It has something to do with the exifmetadata.aspx actually with the indexing of that control.  It's been awhile since I seen this error and I don't really remember what the fix was.

Actualy I think I found it.  There is a file in DesktopModules\Gallery\AppLocalResources called ExifResources.resx.  In that file there are two nodes that reference RefBlackWhite.Text one on line 336 and the other on line 507.  I'm betting removing the second one, (the whole node) will fix your problem.

I'll also put this in Gemini to check.  It generally doesn't cause a problem...

Cheers,  Let me know if that works.

Paul Davis
 
New Post
10/6/2006 11:25 PM
 

Delete Lines: 507-509

<data name="RefBlackWhite.Text">

<value>RefBlackWhite</value>

</data>


Error: Gallery is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Item has already been added. Key in dictionary: 'CopyRight.Text' Key being added: 'Copyright.Text' ---> System.Web.HttpParseException: Item has already been added. Key in dictionary: 'CopyRight.Text' Key being added: 'Copyright.Text' ---> System.ArgumentException: Item has already been added. Key in dictionary: 'CopyRight.Text' Key being added: 'Copyright.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 ---

Delete 336-338
<data name="REFBlackWhite.Text">
<value>REFBlackWhite</value>
</data>

Error: Gallery is currently unavailable.
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 ---



Delete Both


Visible By Administrators Only

 

Error: Gallery is currently unavailable.
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 ---



In other words......... no go. 
Windows: 2003
IIS: 6.0
SQL Express
DNN: 4.03.05
Gallery: 03.01.12



 
New Post
10/23/2006 5:59 AM
 

Well not sure we need any relaxed index working, but for sure this rscx files have a lot of duplicate definitions.

Not very good to see that no realy useful response existed here from DNN team as it seems to be a problem on Gallery install.

I did sove this after searching some of resx files from Gallery install and clean all duplicate data ('REFBlackWhite.Text'  it's only the first):

-App_LocalResources

-Controls\App_LocalResources

 

Please DNN team put a clean Gallery on Download

 

Regards

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsGalleryGalleryNew installations with 3.3.5 throws errorsNew installations with 3.3.5 throws errors


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