Professional Web Applications Themes

Viewstate error when Deploy on Server - ASP.NET General

My application is working fine on our local server.We tried on two local servers for testing purpose. But when we host on our main server ,we got the following error: some it work Fine but not always... ************************************************** ********* Server Error in '/' Application. The viewstate 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 viewstate is invalid for this page and might be corrupted. ...

  1. #1

    Default Viewstate error when Deploy on Server


    My application is working fine on our local server.We
    tried on two local servers for testing purpose. But when
    we host on our main server ,we got the following error:
    some it work Fine but not always...

    ************************************************** *********

    Server Error in '/' Application.

    The viewstate 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 viewstate
    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 viewstate is invalid for
    this page and might be corrupted.]
    System.Web.UI.Page.LoadPageStateFromPersistenceMed ium()
    +149 System.Web.UI.Page.LoadPageViewState() +18
    System.Web.UI.Page.ProcessRequestMain() +423


    Version Information: Microsoft .NET Framework
    Version:1.1.4322.573; ASP.NET Version:1.1.4322.573


    ************************************************** ******
    I TRIED ALOT BY CHANGING THE VIEWSTATE PROPERTY BUT IT
    GIVE ERROR B/C WE ARE USING VIEWSTATE. ALSO I TRIED TO THE
    ADD <MACHINE KEY> IN CONFIG FILES BUT IT ALSO DOESN'T WORK.

    SO COULD ANYBODY CAN GIVE ME THE SOLUTION FOR THIS..ITS
    REALLY URGENT


    sarvjeet Guest

  2. #2

    Default Viewstate error when Deploy on Server

    1. Is there a version difference btw development server
    and production server?
    2. Does the error happen in specific pages or in all pages?
    3. Is the error consistent?

    regards,
    s.ravi sankar
     

    where 
    viewstate 
    THE 
    WORK. 
    ravi Guest

  3. #3

    Default Re: Viewstate error when Deploy on Server

    Check out this faq, this might be useful to you
    http://www.extremeexperts.com/Net/FAQ/ViewStateisCorrupt.aspx

    --
    Saravana
    Microsoft India Community Star,MC**
    www.extremeexperts.com



    "sarvjeet Saini" <com> wrote in message
    news:07db01c36c4b$e5c31420$gbl... 


    Saravana Guest

Similar Threads

  1. How do you deploy your Flex program on the server
    By Developer504 in forum Macromedia Flex General Discussion
    Replies: 31
    Last Post: May 20th, 02:02 AM
  2. How do you deploy custom server controls?
    By Brennan Stehling in forum ASP.NET Building Controls
    Replies: 4
    Last Post: September 28th, 10:31 PM
  3. Deploy web service to staging server - Please see
    By VK in forum ASP.NET Web Services
    Replies: 0
    Last Post: July 13th, 12:50 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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