PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
Viewstate errors
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
Viewstate errors
![]() |
Viewstate errors |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
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() |
|
|
|
#2 |
|
Guest
Posts: n/a
|
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() > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

