ngallary doesn't start

Last post 03-24-2006 1:53 PM by fdwebdesign. 0 replies.

Sort Posts:

  • ngallary doesn't start

    03-24-2006, 1:53 PM
    • Member
      5 point Member
    • fdwebdesign
    • Member since 03-24-2006, 2:51 PM
    • Posts 1

    I get a error:

     

    Object reference not set to an instance of an object.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

    Source Error:

    Line 67: 			int totalPictures = 0;
    Line 68: 			nGallery.Lib.AlbumCollection albums;
    Line 69: 			nGallery.Lib.BL galleryBL					= new nGallery.Lib.BL(Server.MapPath(nGallery.Lib.Configuration.Instance().DataDirectory), Server.MapPath(nGallery.Lib.Configuration.Instance().PhotosDirectory));
    Line 70: 			nGallery.Lib.ControlAlbumListing albumList	= new nGallery.Lib.ControlAlbumListing();
    Line 71: 			nGallery.Lib.ControlNavigation topNav		= new nGallery.Lib.ControlNavigation(nGallery.Lib.Definitions.NavigationType.NAV_ALBUM_LIST);

    Source File: c:\inetpub\wwwroot\ngallery1\default.aspx.cs    Line: 69

    Stack Trace:

    [NullReferenceException: Object reference not set to an instance of an object.]
       nGallery.Lib.BL..ctor() +12
       nGallery.Lib.BL..ctor(String dataDirectory) +14
       nGallery.Lib.BL..ctor(String dataDirectory, String photoDirectory) +10
       nGallery._default.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\ngallery1\default.aspx.cs:69
       System.EventHandler.Invoke(Object sender, EventArgs e) +0
       System.Web.UI.Control.OnLoad(EventArgs e) +67
       System.Web.UI.Control.LoadRecursive() +35
       System.Web.UI.Page.ProcessRequestMain() +750
    

    Regards

Page 1 of 1 (1 items)