468,733 Members | 1,474 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,733 developers. It's quick & easy.

The viewstate is invalid for this page and might be corrup

Can anybody help on 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.LoadPageStateFromPersistenceMed ium() +150
.................................

Jason
Nov 18 '05 #1
7 1269
Is there any JavaScript that might be altering values that the server doesn't
know about?

"Jason" wrote:
Can anybody help on 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.LoadPageStateFromPersistenceMed ium() +150
.................................

Jason

Nov 18 '05 #2
I think no....
"Ken Cox [Microsoft MVP]" <BA************@sympatico.ca> wrote in message
news:3A**********************************@microsof t.com...
Is there any JavaScript that might be altering values that the server
doesn't
know about?

"Jason" wrote:
Can anybody help on 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.LoadPageStateFromPersistenceMed ium() +150
.................................

Jason

Nov 18 '05 #3
I've read different theories on this. One says that it is caused when you
have enabledViewStateMac= "true" in web.config (the default) and you cause a
postback after session expires.

I've added
<system.web>
....
<pages enableViewStateMac="false" />
</system.web>

to my web.config and I've seen this error much, much less frequently in my
logs.

Just my .02
Greg

"Jason" <hw****@idigi.net.my> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
Can anybody help on 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.LoadPageStateFromPersistenceMed ium() +150
................................

Jason

Nov 18 '05 #4
I have try setting enableViewStateMac="false" but error still came out....

"Greg Burns" <greg_burns@DONT_SPAM_ME_hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
I've read different theories on this. One says that it is caused when you
have enabledViewStateMac= "true" in web.config (the default) and you cause
a postback after session expires.

I've added
<system.web>
...
<pages enableViewStateMac="false" />
</system.web>

to my web.config and I've seen this error much, much less frequently in my
logs.

Just my .02
Greg

"Jason" <hw****@idigi.net.my> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
Can anybody help on 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.LoadPageStateFromPersistenceMed ium() +150
................................

Jason


Nov 18 '05 #5
Give us some more details. Does this happen on your development PC or when
you post it to your server?

Does it happen immediately? Is it just one page that has the problem?

Does this help any...
http://support.microsoft.com/default...b;en-us;323744

Greg

"Jason" <hw****@idigi.net.my> wrote in message
news:OR**************@TK2MSFTNGP12.phx.gbl...
I have try setting enableViewStateMac="false" but error still came out....

"Greg Burns" <greg_burns@DONT_SPAM_ME_hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
I've read different theories on this. One says that it is caused when
you have enabledViewStateMac= "true" in web.config (the default) and you
cause a postback after session expires.

I've added
<system.web>
...
<pages enableViewStateMac="false" />
</system.web>

to my web.config and I've seen this error much, much less frequently in
my logs.

Just my .02
Greg

"Jason" <hw****@idigi.net.my> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
Can anybody help on 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.LoadPageStateFromPersistenceMed ium() +150
................................

Jason



Nov 18 '05 #6
First of all it didn't happen in my developement PC and it only happen in my
server after i uploaded into it..
It started happen when i open the page with nearly 500 controls which
include <asp:button> and <asp:checkbox>
It also happen in the page which only has around 20 controls..
Please help.. Even though i upgraded the dot net framework 1.1 SP1 in the
server but it still happen...
"Greg Burns" <greg_burns@DONT_SPAM_ME_hotmail.com> wrote in message
news:Oo**************@TK2MSFTNGP12.phx.gbl...
Give us some more details. Does this happen on your development PC or
when you post it to your server?

Does it happen immediately? Is it just one page that has the problem?

Does this help any...
http://support.microsoft.com/default...b;en-us;323744

Greg

"Jason" <hw****@idigi.net.my> wrote in message
news:OR**************@TK2MSFTNGP12.phx.gbl...
I have try setting enableViewStateMac="false" but error still came out....

"Greg Burns" <greg_burns@DONT_SPAM_ME_hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
I've read different theories on this. One says that it is caused when
you have enabledViewStateMac= "true" in web.config (the default) and you
cause a postback after session expires.

I've added
<system.web>
...
<pages enableViewStateMac="false" />
</system.web>

to my web.config and I've seen this error much, much less frequently in
my logs.

Just my .02
Greg

"Jason" <hw****@idigi.net.my> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
Can anybody help on 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.LoadPageStateFromPersistenceMed ium() +150
................................

Jason



Nov 18 '05 #7
Hi,
I have the same error when running my application on my local PC or Web
server. My javascript does change the action of the form when being
submitted, as I have to submit the same page to various other pages depending
on conditions.
Is there any fix so that I can change the form values using Javascript and
avoid this error?
Thanks,
Rajiv

"Ken Cox [Microsoft MVP]" wrote:
Is there any JavaScript that might be altering values that the server doesn't
know about?

"Jason" wrote:
Can anybody help on 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.LoadPageStateFromPersistenceMed ium() +150
.................................

Jason

Nov 18 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Anup Jishnu | last post: by
2 posts views Thread by sarvjeet Saini | last post: by
1 post views Thread by Mind Dragon | last post: by
1 post views Thread by S S Venkatesh | last post: by
1 post views Thread by Hillary Hill | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.