Object reference not set to an instance of an object.

  •  07-14-2005, 11:20 AM

    Object reference not set to an instance of an object.

    (Good grief, the post text editor has more options than Microsoft Word.)

    Just starting out on our trial license, and I'm running into a strange error initializing the control.



    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:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [NullReferenceException: Object reference not set to an instance of an object.]
    DotNetGallery.Gallery.GetFormClientID() +5
    DotNetGallery.Gallery.clientGoto_Script() +259
    DotNetGallery.Gallery.AddClientScript() +57
    DotNetGallery.Gallery.OnPreRender(EventArgs e) +127
    System.Web.UI.Control.PreRenderRecursiveInternal() +62
    System.Web.UI.Control.PreRenderRecursiveInternal() +125
    System.Web.UI.Page.ProcessRequestMain() +1476



    This happens both in my code and in the provided show.aspx, but not in the default.aspx provided.

    All assistance appreciated - I can provide further information on request.

    David Adam
    http://www.wamss.org.au/
View Complete Thread