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 not set to an instance of an objectObject reference not set to an instance of an object
Previous
 
Next
New Post
7/14/2007 11:11 AM
 

I've find no solution about this error! I'm able to see my album after login but with anonymous user I get the Object reference not set to an instance of an object error! If my album is empty all work but if I add one photo with anonymous user I get this error! About it In event viewer log I can see:

AssemblyVersion: 04.05.03
PortalID: 3
PortalName: Casa per Vacanze Beautiful
UserID: -1
UserName:
ActiveTabID: 313
ActiveTabName: Foto Album
RawURL: /Default.aspx?tabid=313
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 881fed3c-7dee-4210-9dc6-93a07ffb7f13
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.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: WIN1804

 

About this log I think the problem is UserID=-1 , but I want my album running ok for all visitors not for registered only!

Some help about!??

 

 
New Post
7/31/2007 12:46 PM
 

I have the same problem!

Any solution?

Bye
Luca

PS: scippy, are you italian? I'm from Turin.

 


siti internet in provincia di cuneo torino savona asti
Siti e applicazioni Web
 
New Post
8/1/2007 3:10 AM
 

Probably I dicovered where is the problem in my Gallery:

it's probably a locale related problem!
for some reason in "\Portals\21\Gallery\1243\_metadata.resources" file there was 2 dates in 2 different format (mm/dd/aaaa AND dd/mm/aaaa)

I changed this date manually and it works correctly

  <file name="1">
    <id>1838017914</id>
    <title>ABC</title>
    <description>
    </description>
    <categories>image;movie;music;flash</categories>
    <author>
    </author>
    <location>
    </location>
    <client>
    </client>
    <ownerid>1403</ownerid>
    <approveddate>7/23/2007</approveddate>
    <createddate>10/7/2007</createddate>
    <score>0</score>
  </file>

bye

Luca


siti internet in provincia di cuneo torino savona asti
Siti e applicazioni Web
 
New Post
8/1/2007 2:20 PM
 

This is a reported bug with localization and Gallery. Any locale that doesn't use the same format as en-US will raise this error.


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

I got the same problem but it solved by giving a write access/permission to a specific folder ..\Portals\0, but I feel insure by doing this. If there's a more appropriate or right solution please share it.

Anyway, it worked but I can't configure, I just can add photos upload but I there's no configuration, syndicate in the action buttons..

Can anyone pliz

thanks

 

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsGalleryGalleryObject reference not set to an instance of an objectObject reference not set to an instance of an object


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