none
The anti-forgery token could not be decrypted RRS feed

  • Pergunta

  • Olá, 

    Alguém pode dar uma sugestão?

    Na minha aplicação local eu não estou tendo problema para salvar um formulário no banco do servidor, mas na aplicação do servidor retorna o erro abaixo:

    Server Error in '/' Application.

    The anti-forgery token could not be decrypted. If this application is hosted by a Web Farm or cluster, ensure that all machines are running the same version of ASP.NET Web Pages and that the <machineKey> configuration specifies explicit encryption and validation keys. 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.Mvc.HttpAntiForgeryException: The anti-forgery token could not be decrypted. If this application is hosted by a Web Farm or cluster, ensure that all machines are running the same version of ASP.NET Web Pages and that the <machineKey> configuration specifies explicit encryption and validation keys. AutoGenerate cannot be used in a cluster.
     
    quinta-feira, 17 de setembro de 2015 17:11

Respostas

Todas as Respostas