469,148 Members | 1,278 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,148 developers. It's quick & easy.

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 1180
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Anup Jishnu | last post: by
4 posts views Thread by Rob Reckless | last post: by
5 posts views Thread by Anup Jishnu | last post: by
2 posts views Thread by Magdelin | last post: by
1 post views Thread by Hillary Hill | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by Mortomer39 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.