Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > viewstate - datagrid - intermittent

Thread Tools

viewstate - datagrid - intermittent
Posts: n/a
I'm developing a web application and everything has proven fine

on the dev and acceptance environment.
We've moved the code up to our windows server 2003 prod environment and

get the following intermittent error when browsing the web page through

a client browser (the action causing this is paging though a datagrid-
although it randomly errors, rather than erroring all the time):
Invalid character in a Base-64 string
at System.Convert.FromBase64String(String s) at
System.Web.UI.LosFormatter.Deserialize(String input) at
System.Web.UI.Page.LoadPageStateFromPersistenceMed ium()

However if I run the application on the server itself I never get this
intermittent error. Whilst it is a load balanced environment I've
directed (within my host file) the browser to hit a specific server.
Also for good measure I've set the following:
within the page in question.

Does anyone have any ideas on what is causing this. The intermittent
nature makes it all the more confusing.

many thanks


Reply With Quote
Posts: n/a
Just one more bit of info- I mentioned that this error didn't occur
when running the browser on the server. I've just discovered that the
error does not occur when running accessing through a browser from
home. Hence the only time the error occurs is when I'm running the site
through a browser at work.
The web servers live in our DMZ and at work I access it behind the
company firewall.
Is this making any sense?

One other thing the viewstate is rather large at 16kb.


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with ViewState: "function 'ViewState.get_Item' evaluated and returned null" Steph ASP .Net 2 05-11-2011 02:35 PM
Errors: Failed to load viewstate. & Validation of viewstate MAC failed. sck10 ASP .Net 6 09-01-2006 05:59 PM
Can Norton antivirus cause intermittent Viewstate errors? Ray Stevens ASP .Net 3 03-27-2006 03:50 PM
Loading usercontrols, viewstate problem, slighly different from all others "viewstate uc problems" please help... ujjc001 ASP .Net 0 07-27-2005 01:52 PM
Corrupted ViewState (Yes, another issue concerning viewstate) Ben Rush ASP .Net 2 12-05-2003 04:17 PM