an ASP.NET Open Source CMS & eCommerce platform
Search:
Last Post 4/6/2010 1:01:20 PM By bansal_db. 9 replies.
4/6/2010 11:53:52 AM
bansal_db
Posts: 181
Joined: 4/13/2009
Error on Checkout
A customer is trying to checkout but when ever he presses the submit order, site takes him back to cart page. This is the exception stack. Can you please help.

Timestamp: 4/6/2010 6:45:40 PM
Message: HandlingInstanceID: 3b138613-eb4a-4d3c-9548-afa120e145f2
An exception of type 'System.Web.HttpException' occurred and was caught.
------------------------------------------------------------------------
04/06/2010 11:45:40
Type : System.Web.HttpException, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a Message : The client disconnected.
Source : System.Web
Help link :
ErrorCode : -2147467259
Data : System.Collections.ListDictionaryInternal
TargetSite : Void ThrowError(System.Exception, System.String, System.String, Boolean)
Stack Trace :    at System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError)
   at System.Web.UI.ViewStateException.ThrowMacValidationError(Exception inner, String persistedState)
   at System.Web.UI.ObjectStateFormatter.Deserialize(String inputString)
   at System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Deserialize(String serializedState)
   at System.Web.UI.Util.DeserializeWithAssert(IStateFormatter formatter, String serializedState)
   at System.Web.UI.HiddenFieldPageStatePersister.Load()
   at System.Web.UI.Page.LoadPageStateFromPersistenceMedium()
   at System.Web.UI.Page.LoadAllState()
   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.dynamic_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\45d6a688\a3507d1d\App_Web_g1cuzxkn.6.cs:line 0
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Additional Info:

MachineName : SD9000
TimeStamp : 4/6/2010 6:45:40 PM
FullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null AppDomainName : /LM/W3SVC/1/ROOT-2-129149750817442791
ThreadIdentity : midtown240
WindowsIdentity : NT AUTHORITY\NETWORK SERVICE
    Inner Exception
    ---------------
    Type : System.Web.UI.ViewStateException, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    Message : Invalid viewstate.
    Client IP: 66.184.103.138
    Port: 4058
    User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
    ViewState:     Source :
    Help link :
    RemoteAddress : 66.184.103.138
    RemotePort : 4058
    UserAgent : Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
    PersistedState :     Referer : https://www.sd9000.com/Store/Checkout.aspx
    Path : /Dynamic.aspx
    IsConnected : False
    Data : System.Collections.ListDictionaryInternal
    TargetSite :
    Stack Trace : The stack trace is unavailable.
        Inner Exception
        ---------------
        Type : System.Web.HttpException, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
        Message : Unable to validate data.
        Source : System.Web
        Help link :
        ErrorCode : -2147467259
        Data : System.Collections.ListDictionaryInternal
        TargetSite : Byte[] GetDecodedData(Byte[], Byte[], Int32, Int32, Int32 ByRef)
        Stack Trace :    at System.Web.Configuration.MachineKeySection.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength)
           at System.Web.UI.ObjectStateFormatter.Deserialize(String inputString)


Category: General
Priority: 0
EventId: 100
Severity: Error
Title:Enterprise Library Exception Handling
Machine: SD9000
Application Domain: /LM/W3SVC/1/ROOT-2-129149750817442791
Process Id: 2408
Process Name: c:\windows\system32\inetsrv\w3wp.exe
Win32 Thread Id: 4256
Thread Name:
Extended Properties: Url - https://www.sd9000.com/Dynamic.aspx?p=Store/Checkout
RawUrl - /Store/Checkout.aspx
UseAgent - Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) UrlReferrer - https://www.sd9000.com/Store/Checkout.aspx
IPAddress - 66.184.103.138
 
4/6/2010 12:09:07 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Error on Checkout
Error message was "The client disconnected." It basically means the session was timeout. Have your customer try it again.
DotShoppingCart Staff
4/6/2010 12:14:26 PM
bansal_db
Posts: 181
Joined: 4/13/2009
Re: Error on Checkout
I logged in as the customer and i am having the same problem. When i press Submit order, it takes me back to the cart page.
4/6/2010 12:24:08 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Error on Checkout
Are other customers working just fine? Was the exception stack the same when you submitted the order on behalf of customer?
DotShoppingCart Staff
4/6/2010 12:32:35 PM
bansal_db
Posts: 181
Joined: 4/13/2009
Re: Error on Checkout
Its just this customer. Other customers are working fine. I don't see any thing getting logged in the exception stack anymore. This was the last error in the event viewer.
4/6/2010 12:36:50 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Error on Checkout
If there was an exception there customer would have seen an error page instead of going straight back to cart page. Try cleaning up all items in the cart and adding those again. And then try checking out.
DotShoppingCart Staff
4/6/2010 12:45:23 PM
bansal_db
Posts: 181
Joined: 4/13/2009
Re: Error on Checkout
Still the same problem. I deleted all the items from the cart, added them again in cart and on submit order it takes me back to cart page.
 
No error message on screen or in event viewer.
4/6/2010 12:54:14 PM
bansal_db
Posts: 181
Joined: 4/13/2009
Re: Error on Checkout
I figured it out. It was one of the items in the order. The main quantity was 0 for that item but quantities in attributes was more than 0. So customer was allowed to add it to cart but wasn't able to checkout.
 
4/6/2010 12:57:23 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Error on Checkout
Try loggin in as yourself and add these items and then check out. Let's find out where it's user related issue or prodcut related issue.
DotShoppingCart Staff
4/6/2010 1:01:20 PM
bansal_db
Posts: 181
Joined: 4/13/2009
Re: Error on Checkout
it was the product related issue. thats what i tried...i logged in as a test account and added the same products and got the same problem.
 
The main quantity was 0 for one of the item but quantities in attributes was more than 0. So customer was allowed to add it to cart but wasn't able to checkout. There was no error shown any where.