confusing error, please help
-
Hi dear. my question from host admin : (((( I recieve this error in my site : Exception Details: System.Web.HttpException: 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 I recieved this error in some different situation. this site worked in another host with out any problem. I recieved this error in my onother site in your hostI think there is a problem in web.config }}}} and host admin response: ((( This is a bug of Microsoft, when you use some data controls of .net, in some case like post back when data load not finished reading from database it will be happen. And you can disable viewStateEncryptionMode on your web.config or your pages that issue happend, but it will be less safety for your data, but it is the fact, so it's up to you, or you can wait MS to fix it. ))) I dont know what can I do now. how I can solve my problem. please help
-
Hi dear. my question from host admin : (((( I recieve this error in my site : Exception Details: System.Web.HttpException: 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 I recieved this error in some different situation. this site worked in another host with out any problem. I recieved this error in my onother site in your hostI think there is a problem in web.config }}}} and host admin response: ((( This is a bug of Microsoft, when you use some data controls of .net, in some case like post back when data load not finished reading from database it will be happen. And you can disable viewStateEncryptionMode on your web.config or your pages that issue happend, but it will be less safety for your data, but it is the fact, so it's up to you, or you can wait MS to fix it. ))) I dont know what can I do now. how I can solve my problem. please help
Do what you were told to do, add the attribute to the page that turns off view state encryption.
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
Do what you were told to do, add the attribute to the page that turns off view state encryption.
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
do you know correct syntax of this attribute?
-
do you know correct syntax of this attribute?
Relying on intellisense, which shows you all the options if you just look, I'd guess it's one of these: ViewStateEncryptionMode="Never" EnableEventValidation="false"
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
Hi dear. my question from host admin : (((( I recieve this error in my site : Exception Details: System.Web.HttpException: 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 I recieved this error in some different situation. this site worked in another host with out any problem. I recieved this error in my onother site in your hostI think there is a problem in web.config }}}} and host admin response: ((( This is a bug of Microsoft, when you use some data controls of .net, in some case like post back when data load not finished reading from database it will be happen. And you can disable viewStateEncryptionMode on your web.config or your pages that issue happend, but it will be less safety for your data, but it is the fact, so it's up to you, or you can wait MS to fix it. ))) I dont know what can I do now. how I can solve my problem. please help