Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting error: validation of viewstate mac faliled
Message
 
À
17/09/2009 10:53:48
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
ASP.NET
OS:
Windows Server 2003
Divers
Thread ID:
01424908
Message ID:
01424913
Vues:
38
This message has been marked as the solution to the initial question of the thread.
>I am using VS2005 version 2.0.50727.3082.
>
>We have a user that is getting the following error message in his IE while using our web app.

This is a security feature of ASP.NET - it's essentially checking that what the user sends back to you was originally generated on the server. You'll sometimes get this if the user clicks on something on the page before the rest of the page has rendered, which causes this check to fail (since some of the data is missing). You can also get this if you have some client-side scripting that messes with an ASP.NET control (ex. adding new values to the control dynamically on the client).

You can disable this security checking by editing the ASPX page and set "EnableEventValidation" in the Page tag to false.
<%@ Page EnableEventValidation="false" 
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform