BV Commerce Forum
»
BV Commerce Support
»
General Support
»
Error When Removing Promotional Code on Cart.aspx
Rank: Member
Joined: 10/21/2008(UTC) Posts: 28
|
We are getting the error below when a customer tries to remove a promotion code from his cart by clicking on the X button.
Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.[ at System.Web.UI.ClientScriptManager.ValidateEvent(String uniqueId, String argument) at System.Web.UI.Control.ValidateEvent(String uniqueID, String eventArgument) at System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) ]
Please let me know if you need more details on this, but it seems to me that this is a generic 5.4 error and can easily be replicated.
Can Agaoglu The Araca Group |
Can Agaoglu The Araca Group |
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 1,786
|
Are you running version 5.4 will all hot fixes installed? Any customizations? This was a bug that has been already fixed.
|
|
|
|
Rank: Member
Joined: 10/21/2008(UTC) Posts: 28
|
I'm running 5.4 rev 5 with all the hot fixes installed. No customizations. Can you recall which hot fix it was that took care of this? |
Can Agaoglu The Araca Group |
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 1,786
|
I believe it was fixed in the 5.3 version.
The error message that you listed above appears to reference AJAX code. Did you customize anything on this page or add ASP.NET AJAX to the site? What version of the .net Framework are you running for the store?
|
|
|
|
Rank: Member
Joined: 10/21/2008(UTC) Posts: 28
|
Nope, I did not customize anything on this page. I get the same error for our websites that are untouched fresh installs.
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433 |
Can Agaoglu The Araca Group |
|
|
|
Rank: Member
Joined: 3/15/2007(UTC) Posts: 126
|
Yes, you are running .net 2.0 on your server and we have not done any Ajax customizations for your sites. |
|
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 1,786
|
Okay, let me add it to the list of things to investigate. Any special coupon type or setup that I should need to be aware of to duplicate this?
|
|
|
|
Rank: Member
Joined: 10/21/2008(UTC) Posts: 28
|
I only tested it for type Shipping and Order Total, both triggered the same error.
Thanks for looking into this Marcus. |
Can Agaoglu The Araca Group |
|
|
|
Rank: Member
Joined: 1/15/2008(UTC) Posts: 19
|
Hi, I too have had this problem. Actually in the file cart.aspx we have the same problem solved long ago.
Code wrong: <asp: GridView cellpadding = "3" cellspacing = "0" gridlines = "none" ID = "CouponGrid" runat = "server" AutoGenerateColumns = "False" DataKeyNames = "CouponCode" ShowHeader = "False">
Code exact: <asp: GridView EnableViewState = "false" cellpadding = "3" cellspacing = "0" gridlines = "none" ID = "CouponGrid" runat = "server" AutoGenerateColumns = "False" DataKeyNames = "CouponCode" ShowHeader = "False"> "
Code different: EnableViewState = "false".
Antonio
|
|
|
|
Rank: Member
Joined: 10/21/2008(UTC) Posts: 28
|
Awesome! Thanks Antonio.
Can Agaoglu |
Can Agaoglu The Araca Group |
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.