Subscribe to Subscribers
Talk to Webmaster Tony John

Online Members

s
More...

Forums » .NET » .NET »

Error In Post Method.


Posted Date: 18 Jan 2008      Posted By:: s.sheela     Member Level: Silver    Member Rank: 2202     Points: 2   Responses: 1



Hi All,
I was trying to transfer value from webform1.aspx to webform2.aspx using post method by saving the value in hidden field.But i am facing this error in webform2.aspx page.

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.
Can any one help me to sort out this error?
Thank you all in advance
Sheela





Responses

#179885    Author: bingi      Member Level: Silver      Member Rank: 0     Date: 18/Jan/2008   Rating: 2 out of 52 out of 5     Points: 2

add following code
<system.web>
<pages enableViewStateMac="false" />
</system.web>
"

Or

edit the page that is getting loaded

<%@ xyz....xyz...** Inherits="MyAssembly.MyPage" enableViewStateMac="False" %>

" enableViewStateMac="False" "



 
Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.



Next : Crystal Report
Previous : How to set maxlength of a column of a datagridview in C#.Net?
Return to Discussion Forum
Post New Message
Category:

Related Messages
Active Members
TodayLast 7 Daysmore...

Awards & Gifts
Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India
2005 - 2012 All Rights Reserved.
.NET and other trademarks mentioned in this site belong to Microsoft and other respective trademark owners.
Articles, tutorials and all other content offered here is for educational purpose only.
We are not associated with Microsoft or its partners.