مرجعي كه هميشه خرابه !
اومدم اضافه كنم سايت رو :
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.
[FONT=Arial, Helvetica, Geneva, SunSans-Regular, sans-serif] 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:
[HttpException (0x80004005): Unable to validate data.]
System.Web.Configuration.MachineKeySection.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength) +2646292
System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +214
[ViewStateException: Invalid viewstate.
Client IP: 83.98.158.51
Port: 4721
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6
ViewState: /wEPDwUKMTUwNzY3MTMzNQ9kFgJmD2QWAgIDD2QWBGYPZBYCAlcPDxYCHgRUZXh0BQNBZGRkZAIBDxYCHwAFrzA8dGFibGUgc3R5bGU9IndpZHRoOiAxMDAlOyBoZWlnaHQ6IDVweDsgdGV4dC1hbGlnbjogcmlnaHQ7Ij48dHIgY2xhc3M9Im9kZCI+PHRkIHZhbGlnbj0idG9wIiAgc3R5bGU9IndpZHRoOjE1cHg7Ij4xPC90ZD48dGQgdmFsaWduPSJ0b3AiPjxhIGhyZWY9Imh0dHA6Ly9ob3N0ZmluZGVyLmlyL1ZpZXcuYXNweD9pZD0yMyIgdGFyZ2V0PSJfc2VsZiI+2b7Yp9ix2LMg2K/bjNiq2Kc8L2E+PC90ZD4gPHRkIHZhbGlnbj0idG9wIiA+IzE4Njk8L3RkPjwvdHI+PHRyPjx0ZCB2YWxpZ249InRvcCIgIHN0eWxlPSJ3aWR0aDoxNXB4OyI+MjwvdGQ+PHRkIHZhbGlnbj0idG9wIj48YSBocmVmPSJodHRwOi8vaG9zdGZpbmRlci5pci9WaWV3LmFzcHg/aWQ9MjEiIHRhcmdldD0iX3NlbGYiPtiq2KfYsdiq2YYg2KfYs9m+24zYszwvYT48L3RkPiA8dGQgdmFsaWduPSJ0b3AiID4jMTYxMDwvdGQ+PC90cj48dHIgY2xhc3M9Im9kZCI+PHRkIHZhbGlnbj0idG9wIiAgc3R5bGU9IndpZHRoOjE1cHg7Ij4zPC90ZD48dGQgdmFsaWduPSJ0b3AiPjxhIGhyZWY9Imh0dHA6Ly9ob3N0ZmluZGVyLmlyL1ZpZXcuYXNweD9pZD05IiB0YXJnZXQ9Il9...]
[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) +116
System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +251
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() +220
System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +83
System.Web.UI.Page.LoadAllState() +35
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6978
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.hostingae_aspx.ProcessRequest(HttpContext context) +29
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +303
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
[/FONT] [FONT=Arial, Helvetica, Geneva, SunSans-Regular, sans-serif] Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832 [/FONT]