E
Eamonn O'Connell
Hi,
We have an ASP.net application, where we dynamically add controls, in the
Page_Load. Occasionally, when the user posts back the page (e.g. clicks Save
button on the page), we get a "Failed to load viewstate" error. This happens
on Windows Server 2003. It happens erratically, and appears to happen after
the application has been running (and in use) for some time. When the
problem arises, it appears to happen more frequently for a while, then
everything works perfectly for another long period...and so on.
We have not been able to re-produce the error on an XP pc yet (so not sure
if it is OS dependant, or some other issue).
The dynamically-added controls are always added in the same order, in the
Page_Load.
Any suggestions would be much appreciated.
Regards,
Eamonn.
We have an ASP.net application, where we dynamically add controls, in the
Page_Load. Occasionally, when the user posts back the page (e.g. clicks Save
button on the page), we get a "Failed to load viewstate" error. This happens
on Windows Server 2003. It happens erratically, and appears to happen after
the application has been running (and in use) for some time. When the
problem arises, it appears to happen more frequently for a while, then
everything works perfectly for another long period...and so on.
We have not been able to re-produce the error on an XP pc yet (so not sure
if it is OS dependant, or some other issue).
The dynamically-added controls are always added in the same order, in the
Page_Load.
Any suggestions would be much appreciated.
Regards,
Eamonn.