Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AspDotNetStoreFront
  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Gallery Module ...  Object reference not set to an instance of an object
Previous Previous
 
Next Next
New Post 7/14/2007 9:11 AM
User is offline Scippy One
148 posts
9th Ranked


Object reference not set to an instance of an object 

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 10:46 AM
User is offline Luca B.
70 posts
10th Ranked


Re: Object reference not set to an instance of an object 

I have the same problem!

Any solution?

Bye
Luca

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

 


www.ioFatturo.it
 
New Post 8/1/2007 1:10 AM
User is offline Luca B.
70 posts
10th Ranked


Re: Object reference not set to an instance of an object 

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


www.ioFatturo.it
 
New Post 8/1/2007 12:20 PM
User is offline Hooligannes
1588 posts
www.nesinteractivos.com
5th Ranked






Re: Object reference not set to an instance of an object 

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?
The Dúnadan Raptor
Check My Blog for DNN advice and more
 
New Post 11/15/2007 5:04 PM
User is offline itxmas
1 posts
www.mlpid.gov.ki
10th Ranked


Re: Object reference not set to an instance of an object 

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 Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Gallery Module ...  Object reference not set to an instance of an object
 


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.

 


SteadyRain
Founded in 1999, SteadyRain has extensive experience delivering Internet technology strategies and solutions for a diverse client base, ranging from Fortune 500 firms to successful start-ups.
www.steadyrain.com
AfterImage Internet Consulting and SEO Services
AfterImage provides search engine optimization (SEO), Internet consulting and hosting services for the Windows platform (IIS, ASP, SQL Server).
www.afterimage.nl/
Alki Homes - Seattle, WA
Exemplary service for your Seattle Real Estate needs. It's what you deserve from your Realtor®!
www.alkihomes.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP