I keep getting locked out of Umbraco and also receive an error: Could someone please offer some advise? Thanks
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:
The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
<%@ Page Language="C#" Debug="true" %>
or:
2) Add the following section to the configuration file of your application:
Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.
Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.
Stack Trace:
[ViewStateException: Invalid viewstate.
Client IP: 109.153.91.159
Port: 61120
Referer: http://www.dickwhitereferrals.com/umbraco/Login.aspx?redir=%2fumbraco%2fumbraco.aspx
Path: /umbraco/Login.aspx
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/8.0.2 Safari/600.2.5
ViewState: /wEPDwUKMTE0NzA5NTE5Mg9kFgICAw9kFgQCAQ8PZBYCHgVTdHlsZQUedGV4dC1hbGlnbjpsZWZ0O3BhZGRpbmc6MTBweDs7FgoCAQ8WAh4EVGV4dAVHV2VsY29tZSB0byB1bWJyYWNvLCB0eXBlIHlvdXIgdXNlcm5hbWUgYW5kIHBhc3N3b3JkIGluIHRoZSBib3hlcyBiZWxvdzpkAgMPDxYCHwEFCFVzZXJuYW1lZGQCBw8PFgIfAQUIUGFzc3dvcmRkZAILDw8WAh8BBQVMb2dpbmRkAg0PDxYCHgdWaXNpYmxlaGRkAgMPFgIfAQVuJmNvcHk7IDIwMDEgLSAyMDE1IDxhIGhyZWY9Imh0dHA6Ly91bWJyYWNvLm9yZyIgc3R5bGU9InRleHQtZGVjb3JhdGlvbjogbm9uZSIgdGFyZ2V0PSJfYmxhbmsiPnVtYnJhY28ub3JnPC9hPiBkZPwXgoaIvayHNrP2XEkl6Xe7+4qqaNDSd1KHNl61x5ZL]
[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.umbraco_login_aspx.ProcessRequest(HttpContext context) +4
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +341
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69
Keep getting locked out
Hi
I keep getting locked out of Umbraco and also receive an error: Could someone please offer some advise? Thanks
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:
The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
<%@ Page Language="C#" Debug="true" %>
or:
2) Add the following section to the configuration file of your application:
<configuration>
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>
Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.
Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.
Stack Trace:
Hi Lee,
Try to see this thread, perhaps this can help you to solve your issue http://our.umbraco.org/forum/core/general/6722-Validation-of-viewstate-MAC-failed
Hope this helps,
/Dennis
Thanks Dennis
The issue was being caused by the application pool having low recycle time set, if anyone else is facing a similar issue!
Cheers
is working on a reply...