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/1/2006 3:28 PM
 

Hi

Received a clean upload of the module but when adding it to a page I get the following error.

 An error has occurred.
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 ---

--------------------------------------------------------------------------------
     
  
 
   Unhandled error loading module.
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/1/2006 10:44 PM
 

Hi Wonderbison,  I don't know a whole lot but this doesn't look like a Gallery error to me.  Looks more like something with your DNN install. You didn't put up any version information but if you are trying to install Gallery version 3.00.11 you should be using DNN 3.1.1 or higher. 

I just seen this thread where Crispy himself weighs in on the error take a look here too:

http://www.dotnetnuke.com/DotNetNukeProjects/ModuleGallery/tabid/843/forumid/9/threadid/11520/scope/posts/Default.aspx

In General make sure you install from the Install PA and not source and that the ASP.Net user has write permissions to everthing in webroot and below.


Paul Davis
 
New Post
1/2/2006 10:46 AM
 
I have the same error... Did you solve the problem?
 
New Post
1/2/2006 2:05 PM
 

Not yet. I dont think its a ASP.NET 2.0/1.1 issue as the above post (I think) suggests.

Its a strange error.... still investigating

 
New Post
1/2/2006 2:48 PM
 

One thing I am wondering, does this module need a folder in DesktopModules? Or more than 1 folder? I dont see any folders as I see with other modules. If it does, and none have been created, whether it is to do with that or not.

Can someone advise if this might be the case?

Thanks

Robin

 
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