473,407 Members | 2,315 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,407 software developers and data experts.

viewstate getting corrupted

TS
I have some inner exceptions on dev and production server saying:
Invalid character in a Base-64 string. OR
Invalid Length of a Base-64 string or something like that.

I cannot recreate this issue and don't know why it is happening. Someone
suggested that it occurs when someone clicks submit on a page then closes
the browser before the response comes back, OR they click the submit button
and before it comes back they click it again.

Any ideas on why it is happening?

thanks
Dec 2 '05 #1
2 1301
Hi,

We have reviewed this issue and are currently researching on it. We will
update you ASAP. Thanks for your patience!

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Dec 3 '05 #2
Hi TS,

As for ViewState getting corrupted problem, based on my experience, this is
likely occuring when our ASP.NET application is running in webgarden mode
or in webfarm environment. Because ASP.NET viewstate bydefault enable
ViewState MAC (to checking viewstate integrited.....), and this
sign/validate is depend on a machine specific key by default, so in webfarm
envionement, the request could to dispatched to different server ,then the
error occurs when machine B try validting a viewstate signed by server A 's
machine key. Here is one web article mentioned this:

http://www.codinghorror.com/blog/archives/000132.html]

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "TS" <ma**********@nospam.nospam>
| Subject: viewstate getting corrupted
| Date: Fri, 2 Dec 2005 16:23:28 -0600
| Lines: 14
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| Message-ID: <#Y*************@TK2MSFTNGP12.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: 101nat080.tea.state.tx.us 198.214.101.80
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP12.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:362440
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| I have some inner exceptions on dev and production server saying:
| Invalid character in a Base-64 string. OR
| Invalid Length of a Base-64 string or something like that.
|
| I cannot recreate this issue and don't know why it is happening. Someone
| suggested that it occurs when someone clicks submit on a page then closes
| the browser before the response comes back, OR they click the submit
button
| and before it comes back they click it again.
|
| Any ideas on why it is happening?
|
| thanks
|
|
|

Dec 5 '05 #3

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

Similar topics

0
by: Anup Jishnu | last post by:
Hi, I have installed ASP.Net application on a system. When accessing the Application from within the LAN, it works fine. However, when I access the application from the Internet, some pages...
4
by: Rob Reckless | last post by:
I'm creating a web application using c# and keep getting the following error: The viewstate is invalid for this page and might be corrupted. Description: An unhandled exception occurred...
2
by: Ben Rush | last post by:
Hello World, Okay, I have spent the day browsing the newsgroups and reading up on article after article concerning ViewState corruption and so forth, and I have a couple questions. We...
2
by: Mike | last post by:
hi to all does any body know or receive this message before and how i can repare this: The viewstate is invalid for this page and might be corrupted. thank's Mike
5
by: Anup Jishnu | last post by:
Hi, I have installed ASP.Net application on a system. When accessing the Application from within the LAN, it works fine. However, when I access the application from the Internet, some pages...
2
by: Magdelin | last post by:
Hi, I get a Viewstate corrupted error on the Web servers(Win2K3, IIS 6.0, Application Center 2K SP1, ASP.NET) configured for NLB with no afinity/sticky sessions. ****Note: The servers are...
1
by: Hillary Hill | last post by:
I am getting the following error. Ths steps are 1. A Page with Datagrid and literal control. 2. View state is the default one for all the controls. (Not changed). 3. When user clicks the HTML...
7
by: GS | last post by:
Hello, I'm receiving The state information is invalid for this page and might be corrupted error message when running code below. This happens on second post back. Why is it happening? My...
1
by: Jerry | last post by:
Hi, I've been getting dozens of the same exceptions every week from our web server (running asp.net v1.1). I looked at the viewstate in the exception, all of them shared the same problem: having...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
0
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.