More in this section
Forums / General Discussions / ESitefinity - Add to Cart Truncation Error

ESitefinity - Add to Cart Truncation Error

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
3 posts, 0 answered
  1. Scott Bradley
    Scott Bradley avatar
    27 posts
    20 Jan 2010
    25 Jul 2011
    Link to this post
    I get the following error intermittently when I try to add an item to cart.  Any ideas what (field/value) is being truncated?  Worse yet, I can't replicate in development, so I can't step through.  Just troubleshooting tips would be helpful too.

    String or binary data would be truncated.
    The statement has been terminated.
    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: Telerik.OpenAccess.RT.sql.SQLException: String or binary data would be truncated.
    The statement has been terminated.

    Source Error:

    Line 1316: // Something has been added to the cart. Line 1317: Calculator.CalculateCart(); Line 1318: Order.Save(); Line 1319: } // if (_addToWishList == false) Line 1320:

    Source File: c:\Fidelitone\\UserControls\eCommerce\ProductDetailControl.ascx.cs Line: 1318           
  2. Georgi
    Georgi avatar
    3583 posts
    28 Oct 2016
    28 Jul 2011
    Link to this post
    Hello Scott Bradley,

    Are you integrating the e-commerce in a 3.7 project, or you are using the preview of the module in 4.1?

    All the best,
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Stevo
    Stevo avatar
    20 posts
    09 Sep 2007
    29 Jul 2011
    Link to this post
    Hi Scott,
    Does this product have options and if so, what are the names or descriptions  you have given to these options?   EX: Size Large,  Size Small  etc....
    If the product does not have options, can you please email along with the stack trace.
    Thank you Scott.
Register for webinar
3 posts, 0 answered