Server Error in '/Webpart' Application ????

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bansari
    New Member
    • Jul 2010
    • 20

    Server Error in '/Webpart' Application ????

    my simple page redirects to the page wich contains webparts in it.
    i m getting such error.plz help me.
    -----------------------------------------
    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.
  • bansari
    New Member
    • Jul 2010
    • 20

    #2
    I got it's solution:It may helpful to others having same problem.

    Do the following changes in your web.config file.
    before change it was like this:

    Code:
    <pages>
     <controls>
      <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
     <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
      </controls>
    </pages>
    and remove this page tag and insert following:

    Code:
    <pages enableViewStateMac="false"></pages>
    the problem will be solved. :)

    Comment

    Working...