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 ForumsGalleryGalleryObject Reference error when accessing via alias to siteObject Reference error when accessing via alias to site
Previous
 
Next
New Post
6/21/2005 4:34 AM
 

I have been having problems using the gallery, initially the post here helped me fix the issues http://forums.asp.net/905852/ShowPost.aspx

I have noticed that I seem to get issues accessing the gallery using alias that have been setup for the portal.

ie this link works no problem http://www.monkeyx.net/Venues/tabid/54/Default.aspx

this link has been more problematic http://www.carpne.co.uk/Venues/tabid/54/Default.aspx

(It has just started working again! but I am not sure why?)

Log file errors for the carpne link are shown below

Anyone shed any light on this?

AssemblyVersion: 03.01.00
Method: DotNetNuke.Modules.Gallery.Container.Page_Load
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: Carp Fishing NE
UserID: -1
UserName:
ActiveTabID: 54
ActiveTabName: Venues
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
ExceptionGUID: ab0cedf1-28dd-4366-99b2-a23589d6599e
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Object reference not set to an instance of an object.
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Modules.Gallery.Container.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain() --- End of inner exception stack trace ---
StackTrace:
Source:
Server Name: DEDI308
  6/21/2005 1:18:46 AM   Module Load Exception       ModuleId: -1; ModuleDefId: -1; FriendlyName: ...
ModuleId: -1
ModuleDefId: -1
FriendlyName:
ModuleControlSource:
AssemblyVersion: 03.01.00
Method: DotNetNuke.Security.PortalSecurity.HasNecessaryPermission
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: Carp Fishing NE
UserID: -1
UserName:
ActiveTabID: 54
ActiveTabName: Venues
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
ExceptionGUID: b75d568e-0709-444e-b79f-e4688e8abfc8
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 DotNetNuke.Security.PortalSecurity.HasNecessaryPermission(SecurityAccessLevel AccessLevel, PortalSettings PortalSettings, ModuleInfo ModuleConfiguration, String UserName) at DotNetNuke.UI.Containers.ActionButton.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
StackTrace:

 
New Post
6/21/2005 11:42 AM
 

I am having similar problems.  Although I'm not sure it is related to portal alias.  If I install the gallery and add it to a page and configure it its fine.  After leaving the site and coming back after some time the Gallery module gets an error when the page is loaded.  At this point if I re-install everyting is fine again, and sometimes justleaving and coming back makes the problem go away.  I have been unable to find any sequence of step to reproduce the case where the gallery will not load and then load.

Anyone else seeing anthing like this?  The log show the following error:

ModuleId: -1
ModuleDefId: -1
FriendlyName:
ModuleControlSource:
AssemblyVersion: 03.01.00
Method: DotNetNuke.Entities.Portals.PortalController.GetCurrentPortalSettings
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: Blackhawk ACBS
UserID: -1
UserName:
ActiveTabID: 33
ActiveTabName: Matt Byrne
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
ExceptionGUID: ff202cbf-98a9-4cb3-bcb2-391a9ad429bd
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Unhandled Error Adding Module to ContentPane
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Unhandled Error Adding Module to ContentPane ---> System.TypeInitializationException: The type initializer for "DotNetNuke.Modules.Gallery.Config" threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Entities.Portals.PortalController.GetCurrentPortalSettings() at DotNetNuke.Modules.Gallery.Config..cctor() --- End of inner exception stack trace --- at DotNetNuke.Modules.Gallery.Config.GetGalleryConfig(Int32 ModuleID) at DotNetNuke.Modules.Gallery.Container.Initialize() at DotNetNuke.Modules.Gallery.Container.Page_Init(Object sender, EventArgs e) at System.Web.UI.Control.OnInit(EventArgs e) at System.Web.UI.UserControl.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---
StackTrace:
Source:
Server Name: WEB01

 
New Post
6/21/2005 4:19 PM
 
I am finding that it will work from some alias sites, then none and then all of them ! I have not been able to find a pattern other than logging in to the site from an sometimes helps it start working on other aliases! Go figure!
 
New Post
6/22/2005 10:58 AM
 

I am having the exact same problem ..... recycling IIS seems to be a ad hoc cure ... this is somewhat of a show stopper :(

I will try to do some debugging in the next few days, to find out what the exact problem is...

cheers,

erik


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
6/23/2005 1:49 PM
 

I am having the same problem.  Any suggestions would be helpful.
I also cannot access the configuration for the gallery.

AssemblyVersion: 03.00.12
Method: DotNetNuke.Modules.Gallery.Settings.BindUserLookup
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: Oshkosh Aces
UserID: 5
UserName: admin
ActiveTabID: 93
ActiveTabName: Media Gallery
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.oshkoshaces.com/MediaGallery/tabid/93/Default.aspx
ExceptionGUID: 086be5a8-59f8-469b-afe0-967b38ecf4b1
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Object reference not set to an instance of an object.
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Modules.Gallery.Settings.BindUserLookup() at DotNetNuke.Modules.Gallery.Settings.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain() --- End of inner exception stack trace ---
StackTrace:
Source:
Server Name: SERVER1

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsGalleryGalleryObject Reference error when accessing via alias to siteObject Reference error when accessing via alias to site


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