Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 28058

Validation Key

$
0
0
We have 1 windows server acting as the load balancer. And 3 Web Servers. We have placed the machine key config section in our web.config on our primary web server (of the 3 servers), but we are still receiving the message below. We verified that the machine key is inside the web.configs of the other two servers. ------------------------------------------- Exception: System.Web.HttpException (0x80004005): Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster. ---> System.Web.UI.ViewStateException: Invalid viewstate. Client IP: Port: 55761 Referer: User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 5_1_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9B206 Safari/7534.48.3 ViewState: kI/KA+QD6gHiTdaxdpnkD1z+g+qtcdcZoIpdFWVePzeRk0BOqHXjIGNJso8ak90dFA4vaaKf+0ToY52Jx17gnD5tDCBgPJlUp/4uQmnM90r9wW6P6OV3HHd08dWHNxhy6yldzmMNIWtUVjctEu9UJf6fsTrEAbc5lhVl1i1yOG4SALF6XJmputGqtjW6wPkCDpSweuCbYTocKaQUf61RXv0A7I3WacNvpZz8xaO/PW8Vi+zYjhZFnTp3102GtXhcs8uC9hf1HnVtIolrBYHrPXvl2Wr05bhHpRS1ww1fMBz4NOdjobDNQ0FmSLYBM+GZtlOfMItzaZTZoSjAAc1RDb4tIWtWiPDwfVjPqRC+RI/+KPR8ih7pfJWSrx4bYvgr7b04b/Aht1VOWZtjD0+yn8zfAU9WpazjhAUEWQBEMk/CjXYfu4a0+SjLO2qL9E508eS2lk+/EDx0+5w40hwnSs0yw/+CCLTnVfW7t8SaJmHTbFMXdGC8r0jpC8Kj6dwaGioLLD+HRIxEvuIKR5a6c4P9JVtcNcdh17bO0Xsuf1GMIVNJ2HrubU+pSYBX2lmgWWx5amFSIdmJbP2HF15tjuonqOiIsrfY/CJNJ7w8P/38ELLdAbuQzD/+OjI56Uqh1vQtQc8GDHUfQJLNcmkmuoHPnI9c93X8lTeSK/i1kpKWRUehiyG7ohtLbR... ---> System.Security.Cryptography.CryptographicException: Length of the data to decrypt is invalid. at System.Security.Cryptography.RijndaelManagedTransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount) at System.Security.Cryptography.CryptoStream.FlushFinalBlock() at System.Web.Configuration.MachineKeySection.EncryptOrDecryptData(Boolean fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Boolean useValidationSymAlgo, Boolean useLegacyMode, IVType ivType) at System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) --- End of inner exception stack trace --- at System.Web.UI.ViewStateException.ThrowMacValidationError(Exception inner, String persistedState) at System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) at System.Web.UI.Util.DeserializeWithAssert(IStateFormatter formatter, String serializedState) at System.Web.UI.HiddenFieldPageStatePersister.Load() at System.Web.UI.Page.LoadPageStateFromPersistenceMedium() at System.Web.UI.Page.LoadAllState() 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.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Viewing all articles
Browse latest Browse all 28058


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>