![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
|
I searched in the internet and there was no solution that worked for me. The funny thing is, that the same application work fine on a different server. Thanks for every help! Here is the complete Error-Code: 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\v2.0.50727\Temp orary ASP.NET Files\konzessionen-rtvg.gd\104dd2aa\1bab3e30\App_Web_ylotuhwm.30.cs Line: 0 Stack Trace: [HttpException (0x80004005): Unable to validate data.] System.Web.Configuration.MachineKeySection.GetDeco dedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength) +2546764 System.Web.UI.ObjectStateFormatter.Deserialize(Str ing inputString) +214 [ViewStateException: Invalid viewstate. Client IP: 146.159.26.39 Port: 2247 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; ..NET CLR 1.1.4322; .NET CLR 2.0.50727) ViewState: /wEPDwUJMjk2NTc0NzkzZGQn2gvYVk8zb1xIq0Qh0GLgA3/xpA== Referer: http://mekbuda.gd.ad.prod/konzession...px?ReturnUrl=%... Path: /konzessionen-rtvg.gd/Login.aspx] [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) +116 System.Web.UI.ObjectStateFormatter.Deserialize(Str ing inputString) +251 System.Web.UI.ObjectStateFormatter.System.Web.UI.I StateFormatter.DeserializÂ*e(String serializedState) +4 System.Web.UI.Util.DeserializeWithAssert(IStateFor matter formatter, String serializedState) +37 System.Web.UI.HiddenFieldPageStatePersister.Load() +220 System.Web.UI.Page.LoadPageStateFromPersistenceMed ium() +83 System.Web.UI.Page.LoadAllState() +35 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6953 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +154 System.Web.UI.Page.ProcessRequest() +86 System.Web.UI.Page.ProcessRequestWithNoAssert(Http Context context) +18 System.Web.UI.Page.ProcessRequest(HttpContext context) +49 ASP.login_aspx.ProcessRequest(HttpContext context) in c:\windows\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files\konzessionen-rtvg.gd\104dd2aa\1bab3e30\App_Web_ylotuhwm.30.cs:0 System.Web.CallHandlerExecutionStep.System.Web.Htt pApplication.IExecutionStÂ*ep.Execute() +154 System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean& completedSynchronously) +64 ---------------------------------------------------------------------------Â*----- Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42 |
#2
| |||
| |||
|
|
Hi Walo, Please try this fix if.. add the below given code into your web.config or the file that you are executing and see if your issue gets fixed. and let me know if this was helpfull. " system.web pages enableViewStateMac="false" / /system.web " Or edit the page that is getting loaded %@ xyz....xyz...** Inherits="MyAssembly.MyPage" enableViewStateMac="False" % " enableViewStateMac="False" " my mail id is praveen.dm (AT) gmail (DOT) com....bye "Walo" wrote: I searched in the internet and there was no solution that worked for me. The funny thing is, that the same application work fine on a different server. Thanks for every help! Here is the complete Error-Code: 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\v2.0.50727\Temp orary ASP.NET Files\konzessionen-rtvg.gd\104dd2aa\1bab3e30\App_Web_ylotuhwm.30.cs Line: 0 Stack Trace: [HttpException (0x80004005): Unable to validate data.] System.Web.Configuration.MachineKeySection.GetDeco dedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength) +2546764 System.Web.UI.ObjectStateFormatter.Deserialize(Str ing inputString) +214 [ViewStateException: Invalid viewstate. Client IP: 146.159.26.39 Port: 2247 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; ..NET CLR 1.1.4322; .NET CLR 2.0.50727) ViewState: /wEPDwUJMjk2NTc0NzkzZGQn2gvYVk8zb1xIq0Qh0GLgA3/xpA== Referer: http://mekbuda.gd.ad.prod/konzession...px?ReturnUrl=%... Path: /konzessionen-rtvg.gd/Login.aspx] [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) +116 System.Web.UI.ObjectStateFormatter.Deserialize(Str ing inputString) +251 System.Web.UI.ObjectStateFormatter.System.Web.UI.I StateFormatter.DeserializÂ*e(String serializedState) +4 System.Web.UI.Util.DeserializeWithAssert(IStateFor matter formatter, String serializedState) +37 System.Web.UI.HiddenFieldPageStatePersister.Load() +220 System.Web.UI.Page.LoadPageStateFromPersistenceMed ium() +83 System.Web.UI.Page.LoadAllState() +35 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6953 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +154 System.Web.UI.Page.ProcessRequest() +86 System.Web.UI.Page.ProcessRequestWithNoAssert(Http Context context) +18 System.Web.UI.Page.ProcessRequest(HttpContext context) +49 ASP.login_aspx.ProcessRequest(HttpContext context) in c:\windows\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files\konzessionen-rtvg.gd\104dd2aa\1bab3e30\App_Web_ylotuhwm.30.cs:0 System.Web.CallHandlerExecutionStep.System.Web.Htt pApplication.IExecutionStÂ*ep.Execute() +154 System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean& completedSynchronously) +64 ---------------------------------------------------------------------------Â*----- Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42 |
#3
| |||
| |||
|
|
This fixed my problem in not getting the notices everytime a users click on a specific .aspx files that will automaticall generate the message(MAC Failed) but it seems that this will only OFF the notices. what could be the specific problem? (any specific?) Please Help. Thanks ************************************************** ********** "Praveen" wrote: Hi Walo, Please try this fix if.. add the below given code into your web.config or the file that you are executing and see if your issue gets fixed. and let me know if this was helpfull. " system.web pages enableViewStateMac="false" / /system.web " Or edit the page that is getting loaded %@ xyz....xyz...** Inherits="MyAssembly.MyPage" enableViewStateMac="False" % " enableViewStateMac="False" " my mail id is praveen.dm (AT) gmail (DOT) com....bye "Walo" wrote: I searched in the internet and there was no solution that worked for me. The funny thing is, that the same application work fine on a different server. Thanks for every help! Here is the complete Error-Code: 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\v2.0.50727\Temp orary ASP.NET Files\konzessionen-rtvg.gd\104dd2aa\1bab3e30\App_Web_ylotuhwm.30.cs Line: 0 Stack Trace: [HttpException (0x80004005): Unable to validate data.] System.Web.Configuration.MachineKeySection.GetDeco dedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength) +2546764 System.Web.UI.ObjectStateFormatter.Deserialize(Str ing inputString) +214 [ViewStateException: Invalid viewstate. Client IP: 146.159.26.39 Port: 2247 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; ..NET CLR 1.1.4322; .NET CLR 2.0.50727) ViewState: /wEPDwUJMjk2NTc0NzkzZGQn2gvYVk8zb1xIq0Qh0GLgA3/xpA== Referer: http://mekbuda.gd.ad.prod/konzession...px?ReturnUrl=%... Path: /konzessionen-rtvg.gd/Login.aspx] [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) +116 System.Web.UI.ObjectStateFormatter.Deserialize(Str ing inputString) +251 System.Web.UI.ObjectStateFormatter.System.Web.UI.I StateFormatter.Deserializ*e(String serializedState) +4 System.Web.UI.Util.DeserializeWithAssert(IStateFor matter formatter, String serializedState) +37 System.Web.UI.HiddenFieldPageStatePersister.Load() +220 System.Web.UI.Page.LoadPageStateFromPersistenceMed ium() +83 System.Web.UI.Page.LoadAllState() +35 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6953 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +154 System.Web.UI.Page.ProcessRequest() +86 System.Web.UI.Page.ProcessRequestWithNoAssert(Http Context context) +18 System.Web.UI.Page.ProcessRequest(HttpContext context) +49 ASP.login_aspx.ProcessRequest(HttpContext context) in c:\windows\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files\konzessionen-rtvg.gd\104dd2aa\1bab3e30\App_Web_ylotuhwm.30.cs:0 System.Web.CallHandlerExecutionStep.System.Web.Htt pApplication.IExecutionSt*ep.Execute() +154 System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean& completedSynchronously) +64 ---------------------------------------------------------------------------*----- Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42 |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |