• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

JonAraca
#1 Posted : Wednesday, February 25, 2009 1:34:19 PM(UTC)
JonAraca

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
Marcus
#2 Posted : Wednesday, February 25, 2009 1:58:45 PM(UTC)
Marcus

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.
JonAraca
#3 Posted : Wednesday, February 25, 2009 2:28:21 PM(UTC)
JonAraca

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
Marcus
#4 Posted : Wednesday, February 25, 2009 3:20:38 PM(UTC)
Marcus

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?
JonAraca
#5 Posted : Wednesday, February 25, 2009 3:56:26 PM(UTC)
JonAraca

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
BMFResposio
#6 Posted : Wednesday, February 25, 2009 4:00:16 PM(UTC)
BMFResposio

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.
Marcus
#7 Posted : Wednesday, February 25, 2009 4:11:30 PM(UTC)
Marcus

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?
JonAraca
#8 Posted : Wednesday, February 25, 2009 4:19:01 PM(UTC)
JonAraca

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
Opera77
#9 Posted : Thursday, February 26, 2009 2:18:18 PM(UTC)
Opera77

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:
&lt;asp: GridView cellpadding = "3" cellspacing = "0" gridlines = "none" ID = "CouponGrid" runat = "server"
AutoGenerateColumns = "False" DataKeyNames = "CouponCode" ShowHeader = "False"&gt;


Code exact:
&lt;asp: GridView EnableViewState = "false" cellpadding = "3" cellspacing = "0" gridlines = "none" ID = "CouponGrid" runat = "server"
AutoGenerateColumns = "False" DataKeyNames = "CouponCode" ShowHeader = "False"&gt; "


Code different:
EnableViewState = "false".



Antonio
JonAraca
#10 Posted : Thursday, February 26, 2009 2:54:19 PM(UTC)
JonAraca

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.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012