Invalid postback or callback argument,Asp.Net 2.0

Problem :-

Invalid postback or callback argument. Event validation is enabled using 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.


Solution :-


It’s Common Problem With Asp.Net 2.0 (Microsoft Professional Edition,Beta Version Not Give an Error.) To Solve This Problem What You Have to Do Just Write Following Code in Web.Config.
<system.web>
<
pages enableEventValidation="false"/>
system.web>
Doing this One It’s Solve Your Problem But It’s Effect On Your Site Security. Basically EnableeventValidation of asp.Net pages are ture.Wich Prevent Injection Attack.Make it’s False Involve This Injection Attack.

Prev Post                                                      All Post                                                           Next Post

Posted in |

2 comments:

  1. Dhanraj Agrawal Says:

    Hi,

    Please note the evidence of this issue:

    You will find that this error will come oftenly, and we will find that this error mainly comes after every 20 minutes by default.

    Please can you confirm back.

  2. Ketan Patel Says:

    Hi Dhanraj This Error Solution Is When you Are Handle All The Event But Becuase Of Some Problem Event not Fire.

    In your Issues it's may be possible that there are Some Event which ot handle by Asp.net Please check it.On that Page check all The Events and event Handler.

Post a Comment