System.NullReferenceException

Discussion in 'ASP.NET 2.0' started by sivasankarkdckap, Sep 8, 2007.

  1. hello sir

    please provide solution of this errro below error.


    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.]
    newsonlie.create_modules() +8254
    newsonlie.ImageButton1_Click(Object sender, ImageClickEventArgs e) +1617
    System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +105
    System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +115
    System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
    System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
    System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102



    thanks
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    this is one of the most generic error you can find w/ asp.net, i don't think anyone can provide you an answer based on this error.


    this error usually means that the object your application is trying to access is null.


    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     

Share This Page