Download DOWNLOAD
Forums FORUMS
Blogs BLOGS
Forge FORGE
Help HELP
Marketplace MARKETPLACE
DotNetNuke Home
You are here >   Community > Forums
Register  |  Login

DotNetNuke Forums

DotNetNuke ForumDotNetNuke ForumDotNetNuke Forg...DotNetNuke Forg...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 2: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 9: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 2: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 8: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

New Post
6/23/2005 11:49 AM
 

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
DotNetNuke ForumDotNetNuke ForumDotNetNuke Forg...DotNetNuke Forg...Module ForumsModule ForumsGalleryGalleryObject Reference error when accessing via alias to siteObject Reference error when accessing via alias to site

Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Networks

Follow DNNCorp on Twitter

LinkedIn

Follow us on Twitter @DNNCorp or join the DotNetNuke Community on LinkedIn

Sponsors

DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation

Hosted by MaximumASP