HighTechTalks DotNet Forums  

Viewstate errors

Dotnet Framework (Compact Framework) microsoft.public.dotnet.framework.compactframework


Discuss Viewstate errors in the Dotnet Framework (Compact Framework) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Isiah Taylor
 
Posts: n/a

Default Viewstate errors - 07-01-2003 , 05:19 AM






Hi There
I dont know which category this fits in best as its kind
of a mix of a few...(ack!!)
Im getting "The viewstate is invalid for this page and
might be corrupted" when viewing a aspx page on a WinCE
PDA. This only seems to happen when a datagrid is used
and the paging is sent to go to the next page of data.
Its quite weird as from what I can gather its when the
viewstate data goes beyond a certain size.
I can't use mobileinternetcontrols on this app as there
just has to be unified page for everything and we dont
want to rewrite the entire site just for mobile. It was
going so good up until this stubbling block as the rest
of the app is 95% there.
Any ideas or ways around this

Stack trace:
HttpException (0x80004005): The viewstate is invalid for
this page and might be corrupted.
system.web.ui.page.loadpagestatefrompersistenceMed ium()
system.web.ui.page.loadpageviewstate()
system.web.ui.page.processRequestMain()


Reply With Quote
  #2  
Old   
Anatoly
 
Posts: n/a

Default Re: Viewstate errors - 07-01-2003 , 08:18 AM






Did you try to add enableViewStateMac="False" in Page attributes?


"Isiah Taylor" <isiah (AT) panantha (DOT) com> wrote

Quote:
Hi There
I dont know which category this fits in best as its kind
of a mix of a few...(ack!!)
Im getting "The viewstate is invalid for this page and
might be corrupted" when viewing a aspx page on a WinCE
PDA. This only seems to happen when a datagrid is used
and the paging is sent to go to the next page of data.
Its quite weird as from what I can gather its when the
viewstate data goes beyond a certain size.
I can't use mobileinternetcontrols on this app as there
just has to be unified page for everything and we dont
want to rewrite the entire site just for mobile. It was
going so good up until this stubbling block as the rest
of the app is 95% there.
Any ideas or ways around this

Stack trace:
HttpException (0x80004005): The viewstate is invalid for
this page and might be corrupted.
system.web.ui.page.loadpagestatefrompersistenceMed ium()
system.web.ui.page.loadpageviewstate()
system.web.ui.page.processRequestMain()




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.