Hi All,
I am using Windows Server 2008R2 with SQL Server 2012 installed, after configuring MDS when adding for the user groups i am getting the below error, can any one suggest on this.
Server Error in '/MDS' 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: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace: [ViewStateException: Invalid viewstate.
Client IP: X.X.X.X Port: 56659
Path: /MDS/security/common/PrincipalSelector.aspx
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)
ViewState: /wEPDwUKLTU1NzUwNDQ0Mg9kFgJmD2QWAmYPDxYCHghEdW1teUtleQUBMGQWAgIDD2QWAgIBD2QWAgIDD2QWBAIBDw8WBh4IRW50aXR5SWRmHgdNb2RlbElkAgEeCVZlcnNpb25JZAIBZBYEAgYPZBYEZg9kFgICAQ9kFgQCAQ8PFgIeBFRleHQFHVRoYWt1ciwgUHJhZnVsIFNPTUFDQy1CTkctQUNDZGQCBQ8PZBYEHgtvbm1vdXNlb3ZlcgUtdGhpcy5zcmM9Jy9NRFMvSW1hZ2VzL2hlbHBfY29udGV4dF9vdmVyLnBuZyc7Hgpvbm1vdXNlb3V0BSh0aGlzLnNyYz0nL01EUy9JbWFnZXMvaGVscF9jb250ZXh0LnBuZyc7ZAIBD2QWAmYPZBYCAgEPDxYCHwQFJCA+IE1ldGFkYXRhIHwgVmVyc2lvbiAxKCMxKSB8IChPcGVuKWRkAggPZBYCZg8WAh4HVmlzaWJsZWhkAgMPZBYKAgEPDxYCHwQFCkFkZCBncm91cHNkZAIDDw8WAh8EBSlUeXBlIGdyb3VwIG5hbWVzIHNlcGFyYXRlZCBieSBzZW1pY29sb25zLmRkAgUPDxYCHwQFB0dyb3VwczpkZAIHD2QWAmYPDxYKHgRNb2RlCyolU3lz...]
[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.ThrowMacValidationError(Exception inner, String persistedState) +11365710
System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +11366145
System.Web.UI.Util.DeserializeWithAssert(IStateFormatter formatter, String serializedState) +60
System.Web.UI.HiddenFieldPageStatePersister.Load() +11366423
System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +11446535
System.Web.UI.Page.LoadAllState() +56
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +11440562
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +11440078
System.Web.UI.Page.ProcessRequest() +269
System.Web.UI.Page.ProcessRequest(HttpContext context) +167
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +625
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +270