"Object reference not set to an instance of an object."
Posted: Fri Jun 10, 2011 11:04 am
Hi,
when Clicking on an order number (link) from within the email that is sent automatically when the customer attaches a note to an order, I receive the following error. Does anyone have any idea what this might mean?
Server Error in '/' Application.
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 49: protected void BindOrderNotes()
Line 50: {
Line 51: OrderNotesGrid.DataSource = _Order.Notes;
Line 52: OrderNotesGrid.DataBind();
Line 53: }
Source File: d:\Internet\TrickConcepts.com\Admin\Orders\OrderHistory.aspx.cs Line: 51
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
Admin_Orders_OrderHistory.BindOrderNotes() in d:\Internet\TrickConcepts.com\Admin\Orders\OrderHistory.aspx.cs:51
Admin_Orders_OrderHistory.Page_Load(Object sender, EventArgs e) in d:\Internet\TrickConcepts.com\Admin\Orders\OrderHistory.aspx.cs:44
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
Version Information: Microsoft .NET Framework Version:2.0.50727.3620; ASP.NET Version:2.0.50727.3618
Any advise would be much appreciated.
Thanks
when Clicking on an order number (link) from within the email that is sent automatically when the customer attaches a note to an order, I receive the following error. Does anyone have any idea what this might mean?
Server Error in '/' Application.
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 49: protected void BindOrderNotes()
Line 50: {
Line 51: OrderNotesGrid.DataSource = _Order.Notes;
Line 52: OrderNotesGrid.DataBind();
Line 53: }
Source File: d:\Internet\TrickConcepts.com\Admin\Orders\OrderHistory.aspx.cs Line: 51
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
Admin_Orders_OrderHistory.BindOrderNotes() in d:\Internet\TrickConcepts.com\Admin\Orders\OrderHistory.aspx.cs:51
Admin_Orders_OrderHistory.Page_Load(Object sender, EventArgs e) in d:\Internet\TrickConcepts.com\Admin\Orders\OrderHistory.aspx.cs:44
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
Version Information: Microsoft .NET Framework Version:2.0.50727.3620; ASP.NET Version:2.0.50727.3618
Any advise would be much appreciated.
Thanks