Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Validation of viewstate MAC failed.

Validation of viewstate MAC failed.

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netagentic-aidata-structuresdebugging
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    amit sahu20
    wrote on last edited by
    #1

    I got this error on postback the form after 20 minutes , i am using asp.net 3.5 Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [CryptographicException: Padding is invalid and cannot be removed.] .... ...... [ViewStateException: Invalid viewstate. Client IP: 122.162.81.11 Port: 50254 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.0.19) Gecko/2010031422 Firefox/3.0.19 ViewState: O8yx/NB6OwGsouM4ow3..... please any one suggest?

    A 1 Reply Last reply
    0
    • A amit sahu20

      I got this error on postback the form after 20 minutes , i am using asp.net 3.5 Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [CryptographicException: Padding is invalid and cannot be removed.] .... ...... [ViewStateException: Invalid viewstate. Client IP: 122.162.81.11 Port: 50254 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.0.19) Gecko/2010031422 Firefox/3.0.19 ViewState: O8yx/NB6OwGsouM4ow3..... please any one suggest?

      A Offline
      A Offline
      Anurag Gandhi
      wrote on last edited by
      #2

      Try disabling EnableViewStateMac Property from @Page directive. EnableViewStateMac="false" This may work. Just a guess. :)

      Anurag Gandhi.
      http://www.gandhisoft.com
      Life is a computer program and every one is the programmer of his own life.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups