Error

Last post 11-05-2009 5:29 PM by Mr^B. 2 replies.

Sort Posts:

  • Error

    11-05-2009, 4:40 PM
    • Member
      2 point Member
    • ankit_ddit
    • Member since 07-17-2008, 10:06 PM
    • Posts 66

    I got this error often whats the reason behind this..

    Exception of type 'System.Web.HttpUnhandledException' was thrown.

    Stack Trace: System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NullReferenceException: Object reference not set to an instance of an object. at TestProject.Site.Page_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\Project\Test Project\Site.Master.cs:line 58 at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(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.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace --- at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.customerhome_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

  • Re: Error

    11-05-2009, 5:28 PM
    Answer
    • All-Star
      25,404 point All-Star
    • budugu
    • Member since 01-12-2006, 7:15 PM
    • North Carolina
    • Posts 3,787

    You will get that error in many situations. May be this helps you..

    http://forums.asp.net/t/1138565.aspx 

    Vijay Kodali || My Blog


    "Don't be afraid to be wrong; otherwise you'll never be right."
  • Re: Error

    11-05-2009, 5:29 PM
    • Star
      12,348 point Star
    • Mr^B
    • Member since 02-12-2006, 6:38 AM
    • Posts 2,189

    The error is here:

    Site.Master.cs:line 58

    Without the source code for that it's kinda hard to tell you what's wrong.

    MCSD.Net
Page 1 of 1 (3 items)