Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / October 2005

Tip: Looking for answers? Try searching our database.

viewstate - datagrid - intermittent error....help

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
deevoy@gmail.com - 29 Oct 2005 09:51 GMT
Hi-
I'm developing a asp.net 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.LoadPageStateFromPersistenceMedium()
________________

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:
enableViewStateMac="false"
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

devo
deevoy@gmail.com - 29 Oct 2005 10:16 GMT
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.

thanks
devo

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.