469,963 Members | 1,223 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,963 developers. It's quick & easy.

OutOfMemoryException Invalid_Viewstate

I have:
Application Type: Web application with VB.net 1.1
WebServer: IIS6
Machine Server: Windows 2003
The User opens 4-5 browsers connecting to the application and clicks on the Autorefresh button. This button puts javascript code in the page that will cause the page to Automatically refresh every x amount of minutes. after about 4-5 times of refreshing the browser will come back with this error:
In 2 pages:
[OutOfMemoryException: Exception of type System.OutOfMemoryException was thrown.]
[HttpException (0x80004005): Invalid_Viewstate
Client IP: xxx.xxx.xxx.xxx
Port:4036
User-Agent:Mozilla/4.0(compatible....
Viewstate:dDwyMJEyMTA0M......


The user that is connecting to the webserver had errors with their RAM maxing out and the Page file being overloaded. Could this have anything to do with this error or is this error Server specific? I cannot recreate this error on my development machine or other machines.
Feb 2 '08 #1
1 1666
radcaesar
759 Expert 512MB
In Machine.config file, Set the value of the validationKey attribute to a fixed string that is shared by all the machines on the Web farm. RE If the problem persist with your code.
Feb 5 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by Michael | last post: by
1 post views Thread by SMG - Idealake | last post: by
13 posts views Thread by Venkatachalam | last post: by
1 post views Thread by =?Utf-8?B?UGF1bCBQaGlsbGlwcw==?= | last post: by
1 post views Thread by =?Utf-8?B?UGF1bCBQaGlsbGlwcw==?= | last post: by
1 post views Thread by rainxy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.