|
|
|
Joined: 3/8/2004
Posts: 42
|
|
|
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
|
|
|
|
| |
|
|
Joined: 12/3/2004
Posts: 9
|
|
|
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
|
|
|
|
| |
|
|
|
www.phdavis.com Joined: 4/26/2004
Posts: 616
|
|
|
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
|
|
|
|
| |
|
|
Joined: 12/3/2004
Posts: 9
|
|
|
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
|
|
|
|
| |
|
|
Joined: 4/14/2003
Posts: 1
|
|
|
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
|
|
|
|
| |