System.ArgumentException: Invalid postback or callback argument.
-
Wednesday, April 11, 2012 2:44 PM
I got an email from a user who was posting to a relatively simple list and getting an error every time. He had a Correlation ID for me and when I looked it up I got the message below. After talking with him, I realized he was using Chrome. When he tried from IE, everything worked fine. I didn’t see this error message connected with Chrome anywhere, so I thought I’d share in hopes that it could save someone else some time.
ULS LOG ENTRIES:
04/11/2012 09:03:45.58 w3wp.exe (0x13AC) 0x1B80 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/ e316583f-7d5c-4466-bced-6cb3cfea2137
04/11/2012 09:03:45.58 w3wp.exe (0x13AC) 0x1B80 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (PostResolveRequestCacheHandler). Execution Time=55.3701657612909 e316583f-7d5c-4466-bced-6cb3cfea2137
04/11/2012 09:03:45.83 w3wp.exe (0x13AC) 0x1B80 SharePoint Foundation Runtime tkau Unexpected System.ArgumentException: 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.WebControls.DropDownList.LoadPostData(String postDataKey, NameValueCollection postCollection) at System.Web.UI.Page.ProcessPostData(NameValueCollection pos... e316583f-7d5c-4466-bced-6cb3cfea2137
04/11/2012 09:03:45.83* w3wp.exe (0x13AC) 0x1B80 SharePoint Foundation Runtime tkau Unexpected ...tData, Boolean fBeforeLoad) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) e316583f-7d5c-4466-bced-6cb3cfea2137
Willner001

