S
Sergej Grickov
Hello, all!
I started to develop my application with ASP.Net 2.0 and got the strange
behavior with pages, where user change any form control (i.e. checkbox,
button, etc.).
Ex.: when I clicked on button - page is not submit (postback);
if I create dropdown box with AutoPostBack = true, or change button property
to UseSubmitBehavior = false,
I get error (only in IE!):
Validation of viewstate MAC failed. If this application is hosted by a Web
Farm or cluster, ensure that <machineKey> configuration specifies the same
validationKey and validation algorithm. AutoGenerate cannot be used in a
cluster.
But, all my pages perfectly worked in Firefox!!!
After researching, I founded solution for that: add to web.config file
section :
<pages enableViewStateMAC = "false" />
BUT, I still get same error
Environment: Windows XP Pro with Framework 1.1/2.0 installed, Visual Studio
2005, local IIS.
Please, any help !!!!
Best regards,
Sergej Grickov.
Kaunas, Lithuania.
I started to develop my application with ASP.Net 2.0 and got the strange
behavior with pages, where user change any form control (i.e. checkbox,
button, etc.).
Ex.: when I clicked on button - page is not submit (postback);
if I create dropdown box with AutoPostBack = true, or change button property
to UseSubmitBehavior = false,
I get error (only in IE!):
Validation of viewstate MAC failed. If this application is hosted by a Web
Farm or cluster, ensure that <machineKey> configuration specifies the same
validationKey and validation algorithm. AutoGenerate cannot be used in a
cluster.
But, all my pages perfectly worked in Firefox!!!
After researching, I founded solution for that: add to web.config file
section :
<pages enableViewStateMAC = "false" />
BUT, I still get same error
Environment: Windows XP Pro with Framework 1.1/2.0 installed, Visual Studio
2005, local IIS.
Please, any help !!!!
Best regards,
Sergej Grickov.
Kaunas, Lithuania.