Estou usando o Magic ajax mas em uma pagina acontece uma coisa mto estranha.. da uma messagem de erro quando tento exxecutar um botão se eu voltar e tentar novamente ele passa. Alguem sabe me dizer o q devo fazer?
o erro:
Erro de Servidor no Aplicativo '/Futura'.
Valor inválido.
Descrição: Ocorreu uma exceção não tratada durante a execução da atual solicitação da Web. Examine o rastreamento de pilha para obter mais informações sobre o erro e onde foi originado no código.
Detalhes da Exceção: System.ArgumentException: Valor inválido.
Erro de Origem:
Exceção não tratada foi gerada durante a execução da atual solicitação da Web. As informações relacionadas à origem e ao local da exceção podem ser identificadas usando-se o rastreamento de pilha de exceção abaixo. |
Rastreamento de Pilha:
[ArgumentException: Valor inválido.]
System.Security.Cryptography.HashAlgorithm.TransformBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[] outputBuffer, Int32 outputOffset) +295
System.Security.Cryptography.HMACSHA1.HashCore(Byte[] rgb, Int32 ib, Int32 cb) +68
System.Web.Configuration.ExtendedHMACSHA1.ComputeHash(HMACBuffer[] buffers) +66
System.Web.Configuration.MachineKey.HMACSHA1HashForData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length) +131
System.Web.Configuration.MachineKey.HashData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length) +73
System.Web.Configuration.MachineKey.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength) +57
System.Web.UI.LosFormatter.Deserialize(String input) +60
[HttpException (0x80004005): Authentication of viewstate failed. 1) If this is a cluster, edit <machineKey> configuration so all servers use the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster. 2) Viewstate can only be posted back to the same page. 3) The viewstate for this page might be corrupted.]
System.Web.UI.LosFormatter.Deserialize(String input) +118
System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +101
[HttpException (0x80004005): Invalid_Viewstate
Client IP: 127.0.0.1
Port: 1284
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.590; .NET CLR 3.5.20706)
ViewState:
Http-Referer: http://localhost/Futura/pedido_OK.aspx?id=8889
Path: /Futura/pedido_OK.aspx.]
System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +442
System.Web.UI.Page.LoadPageViewState() +18
System.Web.UI.Page.ProcessRequestMain() +447
|
Informações sobre a Versão: Microsoft .NET Framework Versão:1.1.4322.2407; Versão do ASP.NET:1.1.4322.2407