System.NullReferenceException Error
Posted: Mon Dec 22, 2008 4:05 pm
I'm getting the following error when trying to access my site:
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.
Here's the Stack Trace:
NullReferenceException: Object reference not set to an instance of an object.]
CommerceBuilder.Taxes.TaxCalculator.Calculate(Basket basket) +63
CommerceBuilder.Orders.Basket.Recalculate() +54
ConLib_MiniBasket.Page_PreRender(Object sender, EventArgs e) +52
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
System.Web.UI.Control.OnPreRender(EventArgs e) +2066972
System.Web.UI.Control.PreRenderRecursiveInternal() +77
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.WebControls.WebParts.WebPart.PreRenderRecursiveInternal() +62
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360
Here's the weird part: Multiple machines on the same network. One accesses just fine, the others (including a Mac) get the error. I've looked at the connection string every way I can think of and I can't figure out why it comes up on one but not the others.
Any ideas?
Thanks!
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.
Here's the Stack Trace:
NullReferenceException: Object reference not set to an instance of an object.]
CommerceBuilder.Taxes.TaxCalculator.Calculate(Basket basket) +63
CommerceBuilder.Orders.Basket.Recalculate() +54
ConLib_MiniBasket.Page_PreRender(Object sender, EventArgs e) +52
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
System.Web.UI.Control.OnPreRender(EventArgs e) +2066972
System.Web.UI.Control.PreRenderRecursiveInternal() +77
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.WebControls.WebParts.WebPart.PreRenderRecursiveInternal() +62
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360
Here's the weird part: Multiple machines on the same network. One accesses just fine, the others (including a Mac) get the error. I've looked at the connection string every way I can think of and I can't figure out why it comes up on one but not the others.
Any ideas?
Thanks!