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 ForumsGalleryGalleryGallery has vaporized!?Gallery has vaporized!?
Previous
 
Next
New Post
7/30/2007 4:41 PM
 

The gallery module has run beautifully for about 6 months now and all of a sudden out of the blue I get the dreaded error

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

It is a hosted site DNN 4.03.05 Gallery 3.01.12.

It looks like some sorta permissions error, the hoster says "they have changed nothing"

7/30/2007 1:32:10 PM   Module Load Exception   SUAdmin     ModuleId: -1; ModuleDefId: -1; FriendlyName: ...
ModuleId: -1
ModuleDefId: -1
FriendlyName:
ModuleControlSource:
AssemblyVersion: 04.03.05
PortalID: 0
PortalName: Trikats Portal - Kalamazoo Triathlon and Multisport Club
UserID: 1
UserName: SUAdmin
ActiveTabID: 55
ActiveTabName: Gallery
RawURL: /portal/Gallery/tabid/55/Default.aspx
AbsoluteURL: /portal/Default.aspx
AbsoluteURLReferrer: http://trikats.org/portal/Admin/LogViewer/tabid/48/PageRecords/100/currentpage/4/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.5) Gecko/20070713 Firefox/2.0.0.5
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 50f6fae0-01f1-46ac-a06e-285ceeef9e42
InnerException: Unhandled Error Adding Module to MainPane
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.IO.__Error.WinIOError
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Unhandled Error Adding Module to MainPane ---> System.UnauthorizedAccessException: Access to the path 'd:\hosting\trikatadmin\portal\Portals\0\Gallery\377\2003 The Year in Trikat Pictures\_metadata.resources' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at System.Xml.XmlDocument.Save(String filename) at DotNetNuke.Modules.Gallery.GalleryXML.SaveMetaData(String Directory, String FileName, Int32 ID, String Title, String Description, String Categories, String Author, String Location, String Client, Int32 OwnerID, DateTime ApprovedDate, DateTime CreatedDate, Double Score) 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: P3SWH023

  7/30/2007 1:26:12 PM   Page Load Exception   SUAdmin     AssemblyVersion: 04.03.05; PortalID: 0; PortalNa ...
AssemblyVersion: 04.03.05
PortalID: 0
PortalName: Trikats Portal - Kalamazoo Triathlon and Multisport Club
UserID: 1
UserName: SUAdmin
ActiveTabID: 55
ActiveTabName: Gallery
RawURL: /portal/Gallery/tabid/55/Default.aspx
AbsoluteURL: /portal/Default.aspx
AbsoluteURLReferrer: http://trikats.org/portal/Admin/LogViewer/tabid/48/PageRecords/100/currentpage/4/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.5) Gecko/20070713 Firefox/2.0.0.5
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 9ab2de52-aa90-429a-b9d4-222bc4fa7db8
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: P3SWH023


I tried to install Mr Jegers updated version and it failed with the following error ...access to \.\.\.Gallery.exif.dll is denied.

Any help is thoroughly appreciated.

 
New Post
7/31/2007 11:49 AM
 

It does that, which is why it is a beta module not ready for production. As the Object Reference not set to an instance for an object tends to be raised by any number of reasosn it is a pain to reproduce and debug. If you can find the cause please let us know.


Do you know the truth when you hear it?
Néstor Sánchez
The Dúnadan Raptor -->Follow Me on Twitter Now!
 
New Post
7/31/2007 11:58 AM
 

Thanks for the follow-up. Is the "solution" to delete the gallery module and install Mr. Jeggers patched version? Does this delete all my existing gallery photos?

Thanks again.

 
New Post
7/31/2007 12:27 PM
 

Both errors seem to be related to directory and file level access problems.  Has something changed in the definition of the site?  Make sure that the rights are properly defined for the directory and all its children for the IUSR_... account.

Carlos

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsGalleryGalleryGallery has vaporized!?Gallery has vaporized!?


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