Page 1 of 1

Error when viewing "Recent Orders"

Posted: Thu May 26, 2011 2:01 pm
by hassonmike
Hello, When viewing anything in the Recent Orders list, from within the Order Summary box on the Merchant Dashboard. I can view this information fine if i go in through Manage -> Orders.

i get an error, but im not sure how to decipher it



Not sure where to start looking for a resolution

Re: Error when viewing "Recent Orders"

Posted: Thu May 26, 2011 2:59 pm
by hassonmike
looks like i didnt copy the whole error, here it is

Code: Select all

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 121:        }
Line 122:        else OrderMenuPanel.Visible = false;
Line 123:        QuickOrderLinks.DataBind();
Line 124:
Line 125:    }


Source File: d:\Internet\TrickConcepts.com\Admin\Orders\OrderMenu.ascx.cs    Line: 123

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
   CommerceBuilder.Orders.OrderDataSource.Search(OrderSearchCriteria criteria, Int32 maximumRows, Int32 startRowIndex, String sortExpression) +119
   CommerceBuilder.Orders.OrderDataSource.Search(OrderSearchCriteria criteria, String sortExpression) +13

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +0
   System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +71
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +261
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +29
   System.Web.UI.WebControls.ObjectDataSourceView.InvokeMethod(ObjectDataSourceMethod method, Boolean disposeInstance, Object& instance) +488
   System.Web.UI.WebControls.ObjectDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +1247
   System.Web.UI.WebControls.Repeater.GetData() +35
   System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +220
   System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +51
   System.Web.UI.WebControls.Repeater.DataBind() +75
   Admin_Orders_OrderMenu.Page_Load(Object sender, EventArgs e) in d:\Internet\TrickConcepts.com\Admin\Orders\OrderMenu.ascx.cs:123
   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.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   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 

Re: Error when viewing "Recent Orders"

Posted: Thu Jun 16, 2011 10:51 am
by hassonmike
Is there anyone one these forums that can help?

Re: Error when viewing "Recent Orders"

Posted: Fri Jun 17, 2011 5:51 am
by jmestep
I'm not able to find that code in Able default, so maybe someone customized it and you would need to find out who and check with them.

Re: Error when viewing "Recent Orders"

Posted: Fri Jun 17, 2011 10:59 am
by hassonmike
Knowing more about this stuff than I do, do you think this may be a result of, or have anything to do with the referral program code that was present?

Re: Error when viewing "Recent Orders"

Posted: Fri Jun 17, 2011 11:13 am
by jmestep
No, it wouldn't. Maybe something with Able CRM?