PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework Viewstate errors

Reply

Viewstate errors

 
Thread Tools Rate Thread
Old 01-07-2003, 09:19 AM   #1
Isiah Taylor
Guest
 
Posts: n/a
Default Viewstate errors


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.loadpagestatefrompersistenceMedium()
system.web.ui.page.loadpageviewstate()
system.web.ui.page.processRequestMain()

  Reply With Quote
Old 01-07-2003, 12:18 PM   #2
Anatoly
Guest
 
Posts: n/a
Default Re: Viewstate errors

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


"Isiah Taylor" <isiah@panantha.com> wrote in message
news:091f01c33fb1$eae58ee0$a301280a@phx.gbl...
> 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.loadpagestatefrompersistenceMedium()
> system.web.ui.page.loadpageviewstate()
> system.web.ui.page.processRequestMain()
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

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