Click here to Skip to main content
15,882,946 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: refresh button Pin
Sonia Gupta4-Oct-07 22:00
Sonia Gupta4-Oct-07 22:00 
GeneralRe: refresh button Pin
Christian Graus4-Oct-07 22:01
protectorChristian Graus4-Oct-07 22:01 
GeneralRe: refresh button Pin
Spunky Coder4-Oct-07 22:10
Spunky Coder4-Oct-07 22:10 
Question.mdf file Pin
bhattiprolu4-Oct-07 21:21
bhattiprolu4-Oct-07 21:21 
Questionasp.net Datagrid can display in row format Pin
Nirmala Jyothi4-Oct-07 21:15
Nirmala Jyothi4-Oct-07 21:15 
AnswerRe: asp.net Datagrid can display in row format Pin
Imran Khan Pathan4-Oct-07 21:27
Imran Khan Pathan4-Oct-07 21:27 
AnswerRe: asp.net Datagrid can display in row format Pin
N a v a n e e t h4-Oct-07 21:28
N a v a n e e t h4-Oct-07 21:28 
QuestionValidation of viewstate MAC failed.. Pin
IamAmit4-Oct-07 21:11
IamAmit4-Oct-07 21:11 
Hello friends, I got this error in my application. What went wrong..and how to resolve it..I am using vs 2005..
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.
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.HttpException: 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.

Source Error:

[No relevant source lines]


Source File: App_Web_adminlogin.aspx.4e1cade6.fhtclyxp.0.cs Line: 0

Stack Trace:

[HttpException (0x80004005): Unable to validate data.]
System.Web.Configuration.MachineKeySection.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength) +2549708
System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +214

[ViewStateException: Invalid viewstate.
Client IP: 10.8.6.6
Port: 1268
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7
ViewState: /wEPDwULLTE1NjYxMDU5OTgPZBYCAgMPZBYCAg0PDxYCHgdWaXNpYmxlaGRkZO2e2+a2WhZCITPLB7L6SRRWmvRV
Referer: http://watergenie.ca/test/webmaster/adminlogin.aspx
Path: /test/webmaster/adminlogin.aspx]

[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) +116
System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +251
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() +220
System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +83
System.Web.UI.Page.LoadAllState() +35
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6953
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +154
System.Web.UI.Page.ProcessRequest() +86
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.test_webmaster_adminlogin_aspx.ProcessRequest(HttpContext context) in App_Web_adminlogin.aspx.4e1cade6.fhtclyxp.0.csBlush | :O
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +154
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
AnswerRe: Validation of viewstate MAC failed.. Pin
DavidNohejl4-Oct-07 21:55
DavidNohejl4-Oct-07 21:55 
Questionsearch in dataset Pin
Sebastian T Xavier4-Oct-07 21:00
Sebastian T Xavier4-Oct-07 21:00 
AnswerRe: search in dataset Pin
N a v a n e e t h4-Oct-07 21:33
N a v a n e e t h4-Oct-07 21:33 
Questiontextbox value gettype() Pin
Sonia Gupta4-Oct-07 20:36
Sonia Gupta4-Oct-07 20:36 
AnswerRe: textbox value gettype() Pin
Christian Graus4-Oct-07 20:39
protectorChristian Graus4-Oct-07 20:39 
GeneralRe: textbox value gettype() Pin
Sonia Gupta4-Oct-07 20:40
Sonia Gupta4-Oct-07 20:40 
AnswerRe: textbox value gettype() Pin
Imran Khan Pathan4-Oct-07 21:01
Imran Khan Pathan4-Oct-07 21:01 
GeneralRe: textbox value gettype() Pin
Sonia Gupta4-Oct-07 21:06
Sonia Gupta4-Oct-07 21:06 
Questionmessagebox Pin
Sonia Gupta4-Oct-07 20:09
Sonia Gupta4-Oct-07 20:09 
AnswerRe: messagebox Pin
N a v a n e e t h4-Oct-07 20:31
N a v a n e e t h4-Oct-07 20:31 
AnswerRe: messagebox Pin
kumareshTMC4-Oct-07 20:31
kumareshTMC4-Oct-07 20:31 
AnswerRe: messagebox Pin
Christian Graus4-Oct-07 20:38
protectorChristian Graus4-Oct-07 20:38 
QuestionRating Tool Pin
M_Menon4-Oct-07 20:06
M_Menon4-Oct-07 20:06 
AnswerRe: Rating Tool Pin
N a v a n e e t h4-Oct-07 20:24
N a v a n e e t h4-Oct-07 20:24 
AnswerRe: Rating Tool Pin
kumareshTMC4-Oct-07 20:33
kumareshTMC4-Oct-07 20:33 
GeneralRe: Rating Tool Pin
M_Menon4-Oct-07 20:37
M_Menon4-Oct-07 20:37 
QuestionSession time out Pin
samerh4-Oct-07 19:25
samerh4-Oct-07 19:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.