Error on Checkout -- checkout fails, requires App pool reset
Posted: Thu Sep 17, 2015 6:17 am
Running GOLD 7.0.8
Seems like every 48 hours, our site fails to process payments correctly.
Using Authorize.net and everything on the gateway is working, functional, correct, etc.
AbleCommerce Error Log (in Dashboard) shows the following:
(emphasis below is mine -- where I suspect the problem is)
An error has occured at https://www.domain.com/Checkout/Payment.aspx
Exception: Exception of type 'System.Web.HttpUnhandledException' was thrown. 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.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) Inner Exception: Value cannot be null. Parameter name: key Inner Exception Stack Trace: at CommerceBuilder.DomainModel.EntityWithTypedId`1.Save() at CommerceBuilder.Stores.StoreRepository.GetNextOrderNumber(Boolean increment) at CommerceBuilder.Services.Checkout.CheckoutService.ExecuteCheckout(CheckoutRequest checkoutRequest, Boolean validateBasket) at AbleCommerce.ConLib.Checkout.PaymentForms.CreditCardPaymentForm.CreditCardButton_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
To solve this issue, we find that merely resetting the application pool fixes the problem immediately.
So -- question is:
1.) Is there a known issue whereby the Checkout.aspx page stalls out like this?
2.) Does anyone else suffer from this issue?
As a temporary(?) fix, I've just scheduled my app pool to recycle every 12 hours in hopes that is enough.....
I don't recall seeing anything in the installation/config settings of AC to recommend any specific recycle times for the app pool, but thought maybe others had some ideas.
Thanks!
Seems like every 48 hours, our site fails to process payments correctly.
Using Authorize.net and everything on the gateway is working, functional, correct, etc.
AbleCommerce Error Log (in Dashboard) shows the following:
(emphasis below is mine -- where I suspect the problem is)
An error has occured at https://www.domain.com/Checkout/Payment.aspx
Exception: Exception of type 'System.Web.HttpUnhandledException' was thrown. 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.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) Inner Exception: Value cannot be null. Parameter name: key Inner Exception Stack Trace: at CommerceBuilder.DomainModel.EntityWithTypedId`1.Save() at CommerceBuilder.Stores.StoreRepository.GetNextOrderNumber(Boolean increment) at CommerceBuilder.Services.Checkout.CheckoutService.ExecuteCheckout(CheckoutRequest checkoutRequest, Boolean validateBasket) at AbleCommerce.ConLib.Checkout.PaymentForms.CreditCardPaymentForm.CreditCardButton_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
To solve this issue, we find that merely resetting the application pool fixes the problem immediately.
So -- question is:
1.) Is there a known issue whereby the Checkout.aspx page stalls out like this?
2.) Does anyone else suffer from this issue?
As a temporary(?) fix, I've just scheduled my app pool to recycle every 12 hours in hopes that is enough.....
I don't recall seeing anything in the installation/config settings of AC to recommend any specific recycle times for the app pool, but thought maybe others had some ideas.
Thanks!