HomeHomeDotNetNuke Forg...DotNetNuke Forg...Module ForumsModule ForumsGalleryGalleryError Displaying GalleryError Displaying Gallery
Previous
 
Next
New Post
7/4/2007 10:03 AM
 

 

Using VS 2005 Pro, the built in ASP.NET Development Web Server and SQL Server 2005 Express.

I just created a new Gallery with pictures and movies and I can no longer access it. When I try to display the Module Container for the Gallery, I get the following error displayed on page:

A critical error has occurred. Object reference not set to an instance of an object.

The three entries in the error log follow below.

AssemblyVersion: 04.03.05

PortalID: 0

PortalName: southfloridakiteboarding.com

UserID: 1

UserName: host

ActiveTabID: 73

ActiveTabName: Experience

RawURL: /wwwroot/Experience/tabid/73/Default.aspx

AbsoluteURL: /wwwroot/Default.aspx

AbsoluteURLReferrer:

UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727)

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: b999d3df-4c85-4920-8add-dd7d1e98c406

InnerException: Object reference not set to an instance of an object.

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: DotNetNuke.Modules.Gallery.WebControls.Pager.Page_Load

StackTrace:

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.WebControls.Pager.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.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(Boolean includeStagesBeforeAsyncPoint, Boolean

includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

Source:

Server Name: CSCINC

=================================================================================

ModuleId: 410

ModuleDefId: 106

FriendlyName: What To Expect During Your Lesson

ModuleControlSource: DesktopModules/Gallery/Container.ascx

AssemblyVersion: 04.03.05

PortalID: 0

PortalName: southfloridakiteboarding.com

UserID: 1

UserName: host

ActiveTabID: 73

ActiveTabName: Experience

RawURL: /wwwroot/Experience/tabid/73/Default.aspx

AbsoluteURL: /wwwroot/Default.aspx

AbsoluteURLReferrer:

UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727)

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: a4b4306a-c63b-42dd-877c-f0c48f076235

InnerException: Object reference not set to an instance of an object.

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: DotNetNuke.Modules.Gallery.Container.Page_Load

StackTrace:

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.Modules.Gallery.Container.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

Source:

Server Name: CSCINC

 

=====================================================================================

ModuleId: -1

ModuleDefId: -1

FriendlyName:

ModuleControlSource:

AssemblyVersion: 04.03.05

PortalID: 0

PortalName: southfloridakiteboarding.com

UserID: 1

UserName: host

ActiveTabID: 73

ActiveTabName: Experience

RawURL: /wwwroot/Experience/tabid/73/Default.aspx

AbsoluteURL: /wwwroot/Default.aspx

AbsoluteURLReferrer:

UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727)

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: f5d47e87-b107-47f1-83ab-d15fd96a2e22

InnerException: Unhandled Error Adding Module to ContentPane

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: DotNetNuke.Modules.Gallery.GalleryFolder.Populate

StackTrace:

Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Unhandled Error Adding Module to ContentPane ---> System.ArgumentException:

Path cannot be the empty string or all whitespace. at DotNetNuke.Modules.Gallery.GalleryFolder.Populate() at

DotNetNuke.Modules.Gallery.Utils.PopulateAllFolders(GalleryFolder rootFolder) at

DotNetNuke.Modules.Gallery.Config..ctor(Int32 ModuleID) 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 ---

Source:

Server Name: CSCINC

 
New Post
7/7/2007 10:57 AM
 

I am having the same error ( Object reference not set to an instance of an object ) and all I did was change the max height setting for images and clicked update and it crashed my Gallery. Crap I tell you! I got hours of my time setting this up and it's not very stable. Change one setting and all your time and work is down the drain. I'm not real sure this module is production worthy.

 
New Post
7/8/2007 11:03 AM
 

Boy is this getting frustrating.  I don't know how many times I have to tell people, but the gallery version on the DNN site (version 3.0.12/3.1.12) is a BETA version.  It has been a beta version for about 2 years now, and nobody has done anything with fixing that version on the DNN site.  The code doesn't work, you shouldn't even try to run it, just stop, disable it, and leave it alone.  It just doesn't work. There are tons of bugs in it and all kinds of issues.  It might work fine for about 5 pictures, and then it errors and your gallery is toast.  So if you are running that version, please don't even post messages about how something doesn't work--as everything in it doesn't work.

Now, if you are running my patched version of the gallery (version 4.x), which has all of the bugs fixed (that I know about), then feel free to post issues and we will try our best at getting things working for you.

 
New Post
7/8/2007 5:05 PM
 

James Jegers wrote

Boy is this getting frustrating.  I don't know how many times I have to tell people, but the gallery version on the DNN site (version 3.0.12/3.1.12) is a BETA version.  It has been a beta version for about 2 years now, and nobody has done anything with fixing that version on the DNN site.  The code doesn't work, you shouldn't even try to run it, just stop, disable it, and leave it alone.  It just doesn't work. There are tons of bugs in it and all kinds of issues.  It might work fine for about 5 pictures, and then it errors and your gallery is toast.  So if you are running that version, please don't even post messages about how something doesn't work--as everything in it doesn't work.

Now, if you are running my patched version of the gallery (version 4.x), which has all of the bugs fixed (that I know about), then feel free to post issues and we will try our best at getting things working for you.

Thaks for the info James! The more I use DNN the more I realize it's probably not the best idea. If your admitting that the Gallery the DNN team is releasing with the core is buggy for two years now and I assume you have warned them then I'de have to wonder about the rest of the core and modules. I have ran across a few other issues as well as unfinished features that are released to the community.

I realize that DNN is free and without any warrantee, use at your own risk type software. I guess you get what you pay for! I have already aborted a couple large projects I was planning to build with DNN because of these kinds of problems.

Where can we get the version 4x of your gallery?

 
New Post
7/8/2007 8:41 PM
 

Overall I've generally found the latest versions of DNN to be fairly good.  So don't give up on DNN just yet.  As for the gallery module, the people developing it has just gotten very busy and havn't had any time to work on it (for years now... sigh)..

You can get my version on my website:   www.Jegers.com

 

 
Previous
 
Next
HomeHomeDotNetNuke Forg...DotNetNuke Forg...Module ForumsModule ForumsGalleryGalleryError Displaying GalleryError Displaying Gallery


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.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me
Have Someone Contact Me
Charlotte DoDNN

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

r2integrated
Telerik JustCode Free
DotNetNuke DNN Hosting

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.