View State is invalid Error on webfarm!

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

  1. #1

    Default Re: View State is invalid Error on webfarm!

    Are the pages 100% idential on both servers?

    "David Grubbs" <dgrubbs@yahoo-inc.com> wrote in message
    news:%23PnjmUITDHA.1320@TK2MSFTNGP12.phx.gbl...
    > I have a 2 server webfarm and a very simple aspx page that contains
    panels,
    > buttons and hyperlinks to create a menu. every so often when clicking on a
    > button link the page is submitted and I get the response error posted at
    the
    > bottom! I had this problem a while back but I fixed it using a <machinekey
    > /> in the web.config, but the machine keys match on both servers and this
    is
    > hapening again, anyone else deal with this problem!
    >
    > Thanks, David
    >
    > Server Error in '/DataServices' Application.
    > --------------------------------------------------------------------------
    --
    > ----
    >
    > The View State 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 View State 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 View State is invalid for this page and
    > might be corrupted.]
    > System.Web.UI.Page.LoadPageStateFromPersistenceMed ium() +151
    > System.Web.UI.Page.LoadPageViewState() +16
    > System.Web.UI.Page.ProcessRequestMain() +421
    >
    >
    >
    >
    > --------------------------------------------------------------------------
    --
    > ----
    > Version Information: Microsoft .NET Framework Version:1.0.3705.288;
    ASP.NET
    > Version:1.0.3705.288
    >
    >
    >

    Marina Guest

  2. Similar Questions and Discussions

    1. View state help
      Do you modify the page at all? Sometimes modifying the page causes the error you described. Alternatively, you do not have to use ViewState in...
    2. view state question
      In many custom controls examples I see the following code: public string Text { get { return (string)ViewState; } set {
    3. View State Help !!!
      hi I have a datagrid bound to a datasource. I am generating the columns in the datagrid dynamically. I override the loadviewstate method and...
    4. Invalid View State Problem
      I am trying to migrate an ASP.NET web application from one server to another. The web app works fine on the original web server, but gives me the...
    5. The View State Is Invalid for This Page and Might Be Corrupted
      Can anyone provide some help on this issue? Our code works fine on a single machine but in a web farm environment we get the following error. ...
  3. #2

    Default Re: View State is invalid Error on webfarm!

    Check out this support links, this might help you
    [url]http://support.microsoft.com/default.aspx?scid=KB;en-us;q316920[/url]
    [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;323744[/url]
    [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;812399[/url]

    --
    Saravana
    Microsoft India Community Star,
    MCAD,SE,SD,DBA.


    "David Grubbs" <dgrubbs@yahoo-inc.com> wrote in message
    news:#PnjmUITDHA.1320@TK2MSFTNGP12.phx.gbl...
    > I have a 2 server webfarm and a very simple aspx page that contains
    panels,
    > buttons and hyperlinks to create a menu. every so often when clicking on a
    > button link the page is submitted and I get the response error posted at
    the
    > bottom! I had this problem a while back but I fixed it using a <machinekey
    > /> in the web.config, but the machine keys match on both servers and this
    is
    > hapening again, anyone else deal with this problem!
    >
    > Thanks, David
    >
    > Server Error in '/DataServices' Application.
    > --------------------------------------------------------------------------
    --
    > ----
    >
    > The View State 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 View State 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 View State is invalid for this page and
    > might be corrupted.]
    > System.Web.UI.Page.LoadPageStateFromPersistenceMed ium() +151
    > System.Web.UI.Page.LoadPageViewState() +16
    > System.Web.UI.Page.ProcessRequestMain() +421
    >
    >
    >
    >
    > --------------------------------------------------------------------------
    --
    > ----
    > Version Information: Microsoft .NET Framework Version:1.0.3705.288;
    ASP.NET
    > Version:1.0.3705.288
    >
    >
    >

    Saravana Guest

  4. #3

    Default Re: View State is invalid Error on webfarm!

    Hi David,
    I encountered exactly the same problem as yours, and you must have studied
    the Microsoft KB article Q323744, haven't you? According to your
    descriptions,
    I wonder whether you've applied the hotfix mentioned in the "RESOLUTION"
    section of that article or not? If not, try to get one to apply!

    Cheers,
    Jackal


    "David Grubbs" <dgrubbs@yahoo-inc.com> ¼¶¼g©ó¶l¥ó·s»D
    :#PnjmUITDHA.1320@TK2MSFTNGP12.phx.gbl...
    > I have a 2 server webfarm and a very simple aspx page that contains
    panels,
    > buttons and hyperlinks to create a menu. every so often when clicking on a
    > button link the page is submitted and I get the response error posted at
    the
    > bottom! I had this problem a while back but I fixed it using a <machinekey
    > /> in the web.config, but the machine keys match on both servers and this
    is
    > hapening again, anyone else deal with this problem!
    >
    > Thanks, David
    >
    > Server Error in '/DataServices' Application.
    > --------------------------------------------------------------------------
    --
    > ----
    >
    > The View State 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 View State 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 View State is invalid for this page and
    > might be corrupted.]
    > System.Web.UI.Page.LoadPageStateFromPersistenceMed ium() +151
    > System.Web.UI.Page.LoadPageViewState() +16
    > System.Web.UI.Page.ProcessRequestMain() +421
    >
    >
    >
    >
    > --------------------------------------------------------------------------
    --
    > ----
    > Version Information: Microsoft .NET Framework Version:1.0.3705.288;
    ASP.NET
    > Version:1.0.3705.288
    >
    >
    >

    Jackal 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