hi,
i am using ajax tab in my site for sending mail,SMS, etc,
i got this error when i click on submit button ,
i am using version 4.0 , if any one have solution please help me .
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: c:\windows\Microsoft.NET\Framework\v4.0.30319\Temp orary ASP.NET Files\root\f40830ff\41fa510a\App_Web_xjk2bbvo.14.c s Line: 0
Stack Trace:
[ViewStateException: Invalid viewstate.
Client IP: 122.176.38.92
Port: 23234
Referer: http://www.hsbestate.com/
Path: /Home.aspx
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.28) Gecko/20120306 SVD Firefox/3.6.28
ViewState: /wEPDwUKLTc3NzU4ODY3Ng9kFgJmD2QWAgIDD2QWAgIDDxYCHgV zdHlsZQVGYmFja2dyb3VuZDp1cmwoaW1hZ2VzL2N1cnJlbnQtY mcuZ2lmKSB0b3AgbGVmdCByZXBlYXQteDtjb2xvcjojZmZmZmZ mO2QYAgUeX19Db250cm9sc1JlcXVpcmVQb3N0QmFja0tleV9fF gwFLGN0bDAwJENvbnRlbnRQbGFjZUhvbGRlcjEkSGVhZGVyRW5 xdWlyeVR5cGUxBSxjdGwwMCRDb250ZW50UGxhY2VIb2xkZXIxJ EhlYWRlckVucXVpcnlUeXBlMgUtY3RsMDAkQ29udGVudFBsYWN lSG9sZGVyMSRIZWFkZXJFbnF1aXJ5QnV5ZXIzBS1jdGwwMCRDb 250ZW50UGxhY2VIb2xkZXIxJEhlYWRlckVucXVpcnlCdXllcjQ FLWN0bDAwJENvbnRlbnRQbGFjZUhvbGRlcjEkSGVhZGVyRW5xd WlyeUJ1eWVyNQUmY3RsMDAkQ29udGVudFBsYWNlSG9sZGVyMSR JbWFnZUJ1dHRvbjEFJmN0bDAwJENvbnRlbnRQbGFjZUhvbGRlc jEkSW1hZ2VCdXR0b24yBRNjdGwwMCRUYWJDb250YWluZXIxBSV jdGwwMCRUYWJDb250YWluZXIxJFRhYjEkSW1hZ2VCdXR0b24xB SVjdGwwMCRUYWJDb250YWluZXIxJFRhYjIkSW1hZ2VCdXR0b24 yBSVjdGwwMCRUYWJDb250YWluZXIxJFRhYjMkSW1hZ2VCdXR0b ...]
[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(Except ion inner, String persistedState, String errorPageMessage, Boolean macValidationError) +198
System.Web.UI.ViewStateException.ThrowMacValidatio nError(Exception inner, String persistedState) +14
System.Web.UI.ObjectStateFormatter.Deserialize(Str ing inputString) +274
System.Web.UI.ObjectStateFormatter.System.Web.UI.I StateFormatter.Deserialize(String serializedState) +4
System.Web.UI.Util.DeserializeWithAssert(IStateFor matter formatter, String serializedState) +37
System.Web.UI.HiddenFieldPageStatePersister.Load() +241
System.Web.UI.Page.LoadPageStateFromPersistenceMed ium() +106
System.Web.UI.Page.LoadAllState() +43
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +8431
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +253
System.Web.UI.Page.ProcessRequest() +78
System.Web.UI.Page.ProcessRequestWithNoAssert(Http Context context) +21
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.home_aspx.ProcessRequest(HttpContext context) in c:\windows\Microsoft.NET\Framework\v4.0.30319\Temp orary ASP.NET Files\root\f40830ff\41fa510a\App_Web_xjk2bbvo.14.c s:0
System.Web.CallHandlerExecutionStep.System.Web.Htt pApplication.IExecutionStep.Execute() +100
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean& completedSynchronously) +75
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1