Asp.Net 2.0 Bug

Discussion in 'ASP .Net Web Controls' started by Amelyan, Mar 23, 2006.

  1. Amelyan

    Amelyan Guest

    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)
     
    Amelyan, Mar 23, 2006
    #1
    1. Advertising

  2. Amelyan

    Alvin Bruney Guest

    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
    -------------------------------------------------------

    "Amelyan" <bamelyan at wi.rr.com> wrote in message
    news:...
    > 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)
    >
    >
    >
    >
     
    Alvin Bruney, Mar 26, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. RedEye
    Replies:
    2
    Views:
    587
    Jason Kester
    Dec 13, 2005
  2. =?Utf-8?B?QW5kcsOpIFNpbHZh?=

    ASP.NET 2.0 / VS.NET 2005 ANNOYING BUG

    =?Utf-8?B?QW5kcsOpIFNpbHZh?=, Feb 25, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    767
    =?Utf-8?B?QW5kcsOpIFNpbHZh?=
    Apr 8, 2006
  3. Replies:
    0
    Views:
    315
  4. Replies:
    0
    Views:
    300
  5. ~~~ .NET Ed ~~~

    VS.NET 2003 Bug when ASP.NET control is in Design mode

    ~~~ .NET Ed ~~~, Nov 14, 2004, in forum: ASP .Net Building Controls
    Replies:
    2
    Views:
    145
    Saravanan K V
    Nov 19, 2004
Loading...

Share This Page