BV Commerce Forum
»
BV Commerce Support
»
General Support
»
Invalid Postbacks...errors throughout the event log
Rank: Member
Joined: 4/30/2007(UTC) Posts: 383
|
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.TextBox.LoadPostData(String postDataKey, NameValueCollection postCollection) at System.Web.UI.WebControls.TextBox.System.Web.UI.IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection) at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) ]
|
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 2,136
Was thanked: 1 time(s) in 1 post(s)
|
If you have Options > Site Settings > Performance > Move ViewState to Bottom of Page turned on, try turning it off. |
|
|
|
|
Rank: Member
Joined: 4/30/2007(UTC) Posts: 383
|
Andy what's your opinion on the SEO ramifications of doing this?
I should also note these errors don't seem to play out on the site. IE, it will happen sometimes while I'm working on a product more than anything else and no visible errors occur.
|
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 2,136
Was thanked: 1 time(s) in 1 post(s)
|
I don't have enough experience with this SEO detail to form an opinion. My gut feeling is that it does not matter. |
|
|
|
|
Rank: Member
Joined: 4/30/2007(UTC) Posts: 383
|
Andy, I'm going to try to get to the bottom of what triggers the errors tonight. Like I said this is non-critical as it seems to occur mainly on the admin side.
|
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 2,136
Was thanked: 1 time(s) in 1 post(s)
|
C, From the back-side what is happening is that one of the form fields that causes a callback or postback has an unexpected value. By unexpected, I mean that all of the expected values were registered and the actual value in the form field is not in that list.
This mechanism is used to block people that download a copy of your page, manipulate the form fields, and then post to modified form. For example, someone might download a product page, reduce the accessory prices in a <select> element, and then post the modified version. ASP.NET's event validation would catch this and raise the exception.
When I wrote Anthem, I did a lot of work to ensure the __EVENTVALIDATION hidden form field was updated during every callback so that it was always up to date.
My guess is that something preventing the __EVENTVALIDATION hidden field from being updated on your site. Anyway...that is were I would start looking. |
|
|
|
|
Rank: Member
Joined: 2/21/2007(UTC) Posts: 1,113
|
I can tell you what's happening with those invalid postback errors -- the customer is trying to perform another function on the page or move to another page before the entire page has loaded (and I beleive before the viewstate is loaded). By turning that feature off, it seemed to fix that issue for me, I have not noticed any issues with speed of the site, nor have I lost any position in the search engines that I can tell -- I've had it set that way for about a month and a half. |
|
|
|
|
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.