Invalid View state.

Discussion in 'Site Programming, Development and Design' started by kennethdas25, Feb 26, 2012.

  1. Hai,
    I urgently need help for solving view state issue in my site.My site viewstate is lost after every 20 minits.My sessions is stored in sql session state and it is working fine...but when i log into my site and when i am idle for 20 mints i am getting a message a s invalid view state...i had created a machine key in the following format in web config
    <machineKey validationKey="621189E8D48B7D0192844140FEAE970390F9D456E752617AD9F8196D7A2FAB137FFF08227EF009B7CA3D68D0B69A7696D696FE91EA1EFAB48267D138C214E05E,IsolateApps" validation="SHA1" decryption="AES" decryptionKey="B3B4AAE666BDA97ABBCCC7B37B29EB237E3DC1E548278E79,IsolateApps" />
    and in web config i had given
    <pages maxPageStateFieldLength="30" enableEventValidation="false" enableViewStateMac="false" viewStateEncryptionMode="Never" >
    ...i had tryed a lot of stuff like storing viewstate in a session and all but it still gives the same error....Hope you can guide me in right direction.
    Thanks in Advance,
    Roopesh
     

Share This Page