Errore MAC

venerdì 07 novembre 2008 - 17.21

squilibrio Profilo | Expert

Secondo voi da cosa dipende questo errore: (solo in una pagina dell'applicazione)

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\Temporary ASP.NET Files\root\8c8954ee\c71ff8fb\App_Web_ufi9dkjl.4.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) +2546748
System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +214

[ViewStateException: Invalid viewstate.
Client IP: 89.96.108.164
Port: 11050
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; it; rv:1.9.0.3) Gecko/2008092414 Firefox/3.0.3
ViewState: M0wRZw6+rwAFaPdLQrSEUK1aBR74J8klw4qEdCzokHeyjtIUHJxdiPjghKcmh+W+BI6ISFhFm8i7LXMLgcc1m+XoJxQHPWWeUQi9ZBHTGXkzI5Juq0e31lwI5k8rtO3SdqIXihO1zSlNibuUM02wXgkBwc5ZICBaVRBmOYkKJUCza4uN4GB57o1avkATehr19crgrD3JEkjPeRyJY80K7T5OwUjpnnEwejaraclovIGndbJBg7e1b15/duVFf6S35Fak4nXOQbCMzoVHNLfQgPWPsVKMfBJfwqz7ANktuEtMUjNO1GyfCum+PEDQJ9OaIWs56l7JS0QFowz+mGPb7wHISWwMQTKIbnWC1rjpjYmBCg5UXx4dpuAHVG5vEOsT2TOcjn+UM78yUSKZh/MoXqCnvtXyhlovvJXcpQyldo9DIWQAiQd+grupzHZZT2jXnwvKApO8qeSj1wBjepCo/8LfL/OuPwBym5QYWWmx3Rm6fSX4d50QOVQsPyME9bNMVch4dSBlaiaxOKNJh95D3EMyfHhA3wNZPa9rAfjGCDPAYtpjtk3Qfgzd2Idt5Vyhumq+m+78oRicKQVrJ+PhaMJPy8lMZL0RnSWo7taFQxVmF5VNpLU6lYy4+uqygnsIETjGUkneqTe3kbN11ki3IfI5yYIwXq3mFOo1rWDanaFftqJItrGU201vpq010Tlp+kdNX5xRq+8Dbf/CpS/6AduuupdZlVtS8IKuVmYQ/FcCrDIPSe1aHFoeS8DqSvIXwJbLMqgAkwDnMPAAA+Khogx4c87vHGYdCXrV3XPCD+fBxAmMBSBCUCYxzVV+Ayloy9TXoLOBUYAlmOHUkv8807PAm...]

[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

alx_81 Profilo | Guru

>Secondo voi da cosa dipende questo errore: (solo in una pagina
>dell'applicazione)
vedi se risolvi leggendo qui

http://forums.asp.net/p/1059603/1525462.aspx

ciao!
--

Alessandro Alpi | SQL Server MVP

http://www.alessandroalpi.net
http://blogs.dotnethell.it/suxstellino
http://mvp.support.microsoft.com/profile/Alessandro.Alpi
http://italy.mvps.org
Partecipa anche tu! Registrati!
Hai bisogno di aiuto ?
Perchè non ti registri subito?

Dopo esserti registrato potrai chiedere
aiuto sul nostro Forum oppure aiutare gli altri

Consulta le Stanze disponibili.

Registrati ora !
Copyright © dotNetHell.it 2002-2023
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5