ViewState Error

R

Rob Reckless

I'm creating a web application using c# and keep getting
the following error:


The viewstate is invalid for this page and might be
corrupted.
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: The viewstate
is invalid for this page and might be corrupted.

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:


[HttpException (0x80004005): The viewstate is invalid for
this page and might be corrupted.]
System.Web.UI.Page.LoadPageStateFromPersistenceMedium()
System.Web.UI.Page.LoadPageViewState()
System.Web.UI.Page.ProcessRequestMain()



Can anybody tell me where i'm going wrong?

Cheers

Rob
 
C

Cowboy \(Gregory A. Beamer\)

Most common reason for corruption is an improper EnableViewState or
EnableViewStateMac setting for the page. The only other time I have
personally seen this is when a developer improperly used ViewState.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

**********************************************************************
Think Outside the Box!
**********************************************************************
 
R

Rob Reckless

I am using the default viewstate, so there should be no
problem, i've never experienced this before
-----Original Message-----
Most common reason for corruption is an improper EnableViewState or
EnableViewStateMac setting for the page. The only other time I have
personally seen this is when a developer improperly used ViewState.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

********************************************************** ************
Think Outside the Box!
********************************************************** ************
I'm creating a web application using c# and keep getting
the following error:


The viewstate is invalid for this page and might be
corrupted.
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: The viewstate
is invalid for this page and might be corrupted.

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:


[HttpException (0x80004005): The viewstate is invalid for
this page and might be corrupted.]
System.Web.UI.Page.LoadPageStateFromPersistenceMedium ()
System.Web.UI.Page.LoadPageViewState()
System.Web.UI.Page.ProcessRequestMain()



Can anybody tell me where i'm going wrong?

Cheers

Rob


.
 
A

Alvin Bruney

start here
http://www.extremeexperts.com/Net/FAQ/ViewStateisCorrupt.aspx

--
Regards,
Alvin Bruney
Got tidbits? Get it here...
http://tinyurl.com/3he3b
Rob Reckless said:
I am using the default viewstate, so there should be no
problem, i've never experienced this before
-----Original Message-----
Most common reason for corruption is an improper EnableViewState or
EnableViewStateMac setting for the page. The only other time I have
personally seen this is when a developer improperly used ViewState.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

********************************************************** ************
Think Outside the Box!
********************************************************** ************
I'm creating a web application using c# and keep getting
the following error:


The viewstate is invalid for this page and might be
corrupted.
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: The viewstate
is invalid for this page and might be corrupted.

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:


[HttpException (0x80004005): The viewstate is invalid for
this page and might be corrupted.]
System.Web.UI.Page.LoadPageStateFromPersistenceMedium ()
System.Web.UI.Page.LoadPageViewState()
System.Web.UI.Page.ProcessRequestMain()



Can anybody tell me where i'm going wrong?

Cheers

Rob


.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top