Whenever I go to my login page and use the default username and password I get the following error. I hope someone can help me with this.
[quote]
Server Error in '/qwertytech/store' 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_ojj_io5a.33.cs Line: 0
Stack Trace:
[HttpException (0x80004005): Unable to validate data.]
System.Web.Configuration.MachineKeySection.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength) +294
System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +203
[ViewStateException: Invalid viewstate.
Client IP: 66.138.202.130
Port: 9665
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 YFF3 Firefox/3.0.10 (.NET CLR 3.5.30729)
ViewState: /wEPDwUJNTIyOTQwNjUwD2QWAmYPZBYEAgEPZBYEAgEPFgIeB2NvbnRlbnQFG1lvdXIgc3RvcmUgbWV0YSBkZXNjcmlwdGlvbmQCAg8WAh8ABRhZb3VyIHN0b3JlIG1ldGEga2V5d29yZHNkAgMPZBYMAgMPZBYEAgEPZBYCZg8QZBAVAwlVUyBEb2xsYXIERXVybw1Ccml0aXNoIFBvdW5kFQMBMQE3ATQUKwMDZ2dnFgFmZAICDw8WAh4HVmlzaWJsZWhkFgJmDxBkZBYAZAIFD2QWAmYPZBYCAgMPDxYCHgRUZXh0BQZTZWFyY2hkZAIHD2QWAmYPZBYMZg8PFgQeCENzc0NsYXNzBQ1saV91bnNlbGVjdGVkHgRfIVNCAgJkZAIBDw8WBB8DBQ1saV91bnNlbGVjdGVkHwQCAmRkAgIPDxYEHwMFDWxpX3Vuc2VsZWN0ZWQfBAICZGQCAw8PFgQfAwUNbGlfdW5zZWxlY3RlZB8EAgJkZAIEDw8WBB8DBQ1saV91bnNlbGVjdGVkHwQCAmRkAgUPDxYEHwMFDWxpX3Vuc2VsZWN0ZWQfBAICZGQCCQ8PFgIfAWhkZAILDw8WAh8BaGQWAmYPFCsAAmRkZAIPD2QWAgIBD2QWBGYPDxYCHwIFCFJlZ2lzdGVyZGQCAQ9kFgICAQ88KwAKAQAPFgIeC0ZhaWx1cmVUZXh0BThZb3VyIGxvZ2luIGF0dGVtcHQgd2FzIG5vdCBzdWNjZXNzZnVsLiBQbGVhc2UgdHJ5IGFnYWluLmQWAmYPZBYMAgEPFgIfAgUORS1NYWlsIEFkZHJlc3NkAgcPF...]
[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) +267
System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +282
System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Deserialize(String serializedState) +4
System.Web.UI.Util.DeserializeWithAssert(IStateFormatter formatter, String serializedState) +37
System.Web.UI.HiddenFieldPageStatePersister.Load() +198
System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +83
System.Web.UI.Page.LoadAllState() +35
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +7350
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +213
System.Web.UI.Page.ProcessRequest() +86
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.login_aspx.ProcessRequest(HttpContext context) in App_Web_ojj_io5a.33.cs:0
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +358
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
Version Information: Microsoft .NET Framework Version:2.0.50727.1434; ASP.NET Version:2.0.50727.1434
[/quote]