viewstate getting corrupted

T

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
 
K

Kevin Yu [MSFT]

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."
 
S

Steven Cheng[MSFT]

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" <[email protected]>
| 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: <#YVG#[email protected]>
| 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!TK2MSFTNGP12.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
|
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,999
Messages
2,570,243
Members
46,836
Latest member
login dogas

Latest Threads

Top