Ask a Question related to ASP.NET General, Design and Development.

  1. #1

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

    Isiah Taylor Guest

  2. Similar Questions and Discussions

    1. Failed to load viewstate. The control tree into which viewstate...
      Hi to all, I have a webform.aspx and inside i have a dropdown list with autopostback and a place holder... Depending of the selected index...
    2. CF4.5 Errors in logs and Unix 111 errors!
      :confused; Hi All, I have been getting a lot of Unix 111 errors and there are various errors in my coldfusion logs. I can't find any resources...
    3. Viewstate errors... how do I get viewstate working?
      Hi all, Have to say I can't for the life of me get this viewstate business working with collections of classes! The current error I'm getting...
    4. supress errors at the page level? Undefined index errors.
      I'm creating a simple reply form, and if a form item isn't answered I get an error: "Notice: Undefined index: rb_amntspent in...
    5. Pop-up window errors:"translators not loaded due to errors"
      I keep getting pop-up windows when using DWMX....any suggestions as to how to fix this type of error? The pop-up says: at line 16...
  3. #2

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

    Anatoly Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139