473,419 Members | 1,717 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,419 software developers and data experts.

viewstate - datagrid and intermittent errors.....help

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.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:
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

Nov 17 '05 #1
2 1676
In the NLB setup make sure you are using class c affinity.

--

Derek Davis
dd******@gmail.com

<de****@gmail.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
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.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:
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

Nov 17 '05 #2
many thanks for the reply Derek- I was hoping you could expand a little
on your potential solution.

thanks

devo

carion1 wrote:
In the NLB setup make sure you are using class c affinity.

--

Derek Davis
dd******@gmail.com

<de****@gmail.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
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.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:
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


Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: deevoy | last post by:
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...
9
by: John Kirksey | last post by:
I have a page that uses an in-place editable DataGrid that supports sorting and paging. EnableViewState is turned ON. At the top of the page are several search fields that allow the user to filter...
2
by: Jay Walker | last post by:
I created a custom DataGridColumn based on Marcie Robillard's MSDN Article: Creating Custom Columns for the ASP.NET Datagrid...
1
by: Graham | last post by:
I have created a server control that reads data from an xml file and renders either a datagrid of entries from a database or group of form controls to allow editing of an individual entry from the...
9
by: Jamie | last post by:
I am receiving an Invalid ViewState error after posting back to the same page twice. Consistently the error occurs after the second postback and not after the first. I have looked into creating...
1
by: deevoy | last post by:
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...
6
by: Frank | last post by:
Can someone please tell me when the ViewState is loaded? My understanding, based on http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconControlExecutionLifecycle.asp...
3
by: Ray Stevens | last post by:
We are having a maddening problem with random "validation of viewstate MAC failed" errors, even if the web farm is shut down to a single server. It now susepect that Norton antivirus is causing...
3
by: steven | last post by:
Hi I've got a client who's getting intermittent errors about invalid viewstate. it happens on random pages. I never get these errors myself. I've already done everything Microsoft recommends to...
4
by: JamTech | last post by:
The Script Resource and the Web Resource files are generating intermittent errors in my application. I have been trying to chase the cause of the problem but to no avail. I notice that the “d”...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.