Home All Groups Group Topic Archive Search About
Author
23 Mar 2006 4:04 PM
Amelyan
Testers getting this exception 1% of the time they click button on the page.
This happens in both IE6.0 and FireFox1.5.  Any ideas?

System.Web.HttpUnhandledException: Exception of type
'System.Web.HttpUnhandledException' was thrown. --->
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.Control.ValidateEvent(String uniqueID, String
eventArgument)
   at System.Web.UI.WebControls.DropDownList.LoadPostData(String
postDataKey, NameValueCollection postCollection)
   at
System.Web.UI.WebControls.DropDownList.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)
   --- End of inner exception stack trace ---
   at System.Web.UI.Page.HandleError(Exception e)
   at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext
context)
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at ASP.designer_design_aspx.ProcessRequest(HttpContext context) in
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\root\26676eb7\92c7e946\App_Web_xzuwxjfw.18.cs:line 0
   at
System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
Boolean& completedSynchronously)

Author
26 Mar 2006 9:05 PM
Alvin Bruney
Can you do some more research before you post an error? You have not even
given any sort of context for this error. Newsgroupies are more inclined to
help if you have at least covered the basics on your own.

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------

Show quoteHide quote
"Amelyan" <bamelyan at wi.rr.com> wrote in message
news:earOEOpTGHA.1576@tk2msftngp13.phx.gbl...
> Testers getting this exception 1% of the time they click button on the
> page. This happens in both IE6.0 and FireFox1.5.  Any ideas?
>
> System.Web.HttpUnhandledException: Exception of type
> 'System.Web.HttpUnhandledException' was thrown. --->
> 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.Control.ValidateEvent(String uniqueID, String
> eventArgument)
>   at System.Web.UI.WebControls.DropDownList.LoadPostData(String
> postDataKey, NameValueCollection postCollection)
>   at
> System.Web.UI.WebControls.DropDownList.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)
>   --- End of inner exception stack trace ---
>   at System.Web.UI.Page.HandleError(Exception e)
>   at System.Web.UI.Page.ProcessRequestMain(Boolean
> includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
>   at System.Web.UI.Page.ProcessRequest(Boolean
> includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
>   at System.Web.UI.Page.ProcessRequest()
>   at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext
> context)
>   at System.Web.UI.Page.ProcessRequest(HttpContext context)
>   at ASP.designer_design_aspx.ProcessRequest(HttpContext context) in
> c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
> Files\root\26676eb7\92c7e946\App_Web_xzuwxjfw.18.cs:line 0
>   at
> System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
>   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
> Boolean& completedSynchronously)
>
>
>
>