Hi,
this is my first post here so forgive me for possibly not being clear ...
My problem is the following:
I developed a website under Visual Studio Express 2013 Web which runs fine with Internet Explorer 11 on development.
When browsing the published version of my website under Internet Explorer 11 and clicking on an ImageButton, the site displays the following error message (see below).
I spent many hours on Google looking for a solution and found a number of workarounds. None of them seem to work for me. I also got in touch with the company hosting my website but they say that everything seems to be in order on their side. They say they have both ASP.Net 4.0 and 4.5 installed on their machines.
Googling showed me that this issue is a known issue. Some people say that it is supposed to be solved in ASP.Net 4.5 but in my case, that does not seem to work.
Did anyone among you come across this issue or a workable solution for it ? Please note that I can not change anything on the webserver since it is not mine ...
Thank you very much in advance
Jurgen
"
Server Error in '/' Application.
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.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
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.
Source Error:
[No relevant source lines] |
Source File: App_Web_4kwvlqja.12.cs Line: 0
Stack Trace:
[ViewStateException: Invalid viewstate. Client IP: 120.145.131.224 Port: 64358 Referer: http://xxxxxxx.xxxxx.xxxx/ Path: /default.aspx User-Agent: Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0) like Gecko ViewState: BetP/nzV+2nT0oznp2rngnJbyp7E2tF49oCwt39Q0Ay6WpLJjvZWkR5qMWsG7p/sUcuyPLx1bZXxMSu30UsXmmw75Vzl4jVbhw0bOLWqFwa/VqNGUM7QKtN/s5Rsr2tS5+ozIBm1BpvJzCf7DjnAf0aBySVnwwyRApbUtUgKUnjFs+YNeHIx9uOj4mqvv+/Qa2WhMUejA1pONzhbXePDpkyqHjDKQtnyIpyBB9cLJgu1iZyWvlj0oGhzoo/f4ag0jYxE9vUVlkJOxzdopqBKhjz4mzNg/QNLjjHyTRkNy+wDA/HnxRrxFcGwxrpRBFO4TA1NzvEfZlJxzyiVqxhJ6CooyqGY1PcnaxVXHLtbGZ/KFwBplXbGt4RNT/V8xTOqYmfo9RojZaDlM0srDu2I7OLyNxzFHzu9hNhhXfAks52lEOTlesrfYNwMsnoZKxXDeJaGJAYLdX+jQ6HmDcG9BwHWHlIX7n0VIbveGMHC16OfM0JUEOHCQixfDCOE9AjPYrQ/1MIb5zCTzVxmYGfEhG6iX6yNzRkZZLtkBGMF/mBilst8Ss8egDjusCTo7F0Rl9DPTJgitMtRJ8O37BDRiqpfPb1gOCThs3odQ1L7Ec2wafH9y9Av7369v+gLzmDV0anzYstY0IroSPXZ2hPTug0EL9PD8fHxmHG7v/JtcCYfDauMqAw0SQ9RQ2Ct56hKPqqmmj6ivAVXuxwAtPJWx254x895Tbiqty9A1pt5nCWOQ5wi/0S+cHQ5+EEQUWtJ9oJm7C/y/wLKfv2xq+4OhG2tS0AzeMNTtU5MnJGmAo5Pw4fFlQercVK2C...] [HttpException (0x80004005): 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.] System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError) +198 System.Web.UI.ObjectStateFormatter.Deserialize(String inputString, Purpose purpose) +432 System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter2.Deserialize(String serializedState, Purpose purpose) +8 System.Web.UI.Util.DeserializeWithAssert(IStateFormatter2 formatter, String serializedState, Purpose purpose) +40 System.Web.UI.HiddenFieldPageStatePersister.Load() +248 System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +88 System.Web.UI.Page.LoadAllState() +36 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6704 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +245 System.Web.UI.Page.ProcessRequest() +72 System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21 System.Web.UI.Page.ProcessRequest(HttpContext context) +58 ASP.default_aspx.ProcessRequest(HttpContext context) in App_Web_4kwvlqja.12.cs:0 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +341 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69 |