TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Archana Patil
NA
43
86.4k
Error on submiting page
Mar 19 2011 1:29 AM
Hi,
On submitting the application form i m getting an error
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.
I
am using View state table to store temp data and then submit form with that data
Stack Trace for this :
ViewStateException: Invalid viewstate.
Client IP: ::1
Port: 52648
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.1; .NET4.0C)
ViewState: 99hBe7e8EDAzmECNRXrWwN3XlmJshQcQ//gdcsQXlrf3REtepEM67gxYxsVANehxNQCk7Gnq8aK31bx/PRjoTeFr2nqwbviXsAUVSrJqVc+lnb2m6UshAKb3ZOJhKAJLwmCrAfdLyckLpbBaetlE+W086eOjfZ1CVF03VemTLCv2aiXDkiZSnZkDu4S/e7chCtVMDwVZBUp/LpBZ7bAAQnUrW/nBOJkt9iYopRNCVyaG1TGdIDaJSNRY3irDXruQlYY1BrJaPkUwcEoI4idYDy8wquKgtGTn5GMC4Am/Wxhy4uj8N1LylpYOsofztkSX+IZywdwOv/1vnywaeDGBs4Ico8+iyXh5Y8tv8cc4PlCB3hJ3nw7rxeV/NK4z2eZpeh9G/R7Nnb3PI34dSldw8/zZQwT1QU4fNpsxZcp+Jzvr7LFkPiO7E4QU8oagcaiec08A9svgGVzOQGysvMLZf8Qf6lztuakDxLo6AL+adBmqgvtoRE6xMwA3ZtbIGUOh9kClfckp/1L9MWUPYos4e1fknHH7qlvDKB6AvSCmk9Vr4UAiMoXjZHfb32bOTSDMwv578Dvtzu/UEgM6p1GFy7c/2a83nTuOzqYL3acfENoZzdK8TAldYIkcLxrOizmgk4Zo3J+m3teJv0xWHYwgSnc+zNLffvb+H7RCdFi8gk/LhgtytBLvREtwN2S30MflRJVnYVdsGwb+A0NKpbsati7giY56xxcwtw7E8vJbU9ADEUUxJ1EMIh5UZfy9/e42wdx5v9lOZFvjj4ojakNx...]
[HttpException (0x80004005): 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.]
System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError) +106
System.Web.UI.ViewStateException.ThrowMacValidationError(Exception inner, String persistedState) +14
System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +237
System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Deserialize(String serializedState) +4
System.Web.UI.Util.DeserializeWithAssert(IStateFormatter formatter, String serializedState) +37
System.Web.UI.HiddenFieldPageStatePersister.Load() +207
System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +105
System.Web.UI.Page.LoadAllState() +43
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6785
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +242
System.Web.UI.Page.ProcessRequest() +80
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.career_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\826f1ac0\739bf940\App_Web_60sc6rwf.8.cs:0
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
Please help to solve the problem
Thnks,
Archana
Reply
Answers (
3
)
ASP Life Cycle
attach files using drop down list