471,066 Members | 2,001 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Validation of viewstate MAC failed

We have a web application running on a server farm that is behind a CISCO
CSS switch. This switch has been configured to support sticky sessions so I
am at a loss as to what might be causing this error.

Does anyone have any ideas?
Nov 19 '05 #1
4 5023
Hi Ray,

Most likely it's not working 100% and not completely sticky <g>...

The best thing to do for ViewState at least is to set the machinekey in
machine.config to the same value on each machine so all machines use the
same viewstate encoding which prevents corruption should the session end up
on another box.

The non-sticky issue may have to do with varying URL formatting schemes (IP
vs. domain, different spelling ofthe protocol or http/https traversal>

+++ Rick ---

--

Rick Strahl
West Wind Technologies
www.west-wind.com
www.west-wind.com/weblog


"Ray Stevens" <nf*@nospam.com> wrote in message
news:OJ**************@TK2MSFTNGP10.phx.gbl...
We have a web application running on a server farm that is behind a CISCO
CSS switch. This switch has been configured to support sticky sessions so
I am at a loss as to what might be causing this error.

Does anyone have any ideas?

Nov 19 '05 #2
> The best thing to do for ViewState at least is to set the machinekey
in machine.config to the same value on each machine so all machines
use the same viewstate encoding which prevents corruption should the
session end up on another box.


This allows you to get rid of sticky sessions too.

-Brock
DevelopMentor
http://staff.develop.com/ballen

Nov 19 '05 #3
Not quite... we are storing state on the server.

But it does sound like the CISCO CSS sticky sessions do have an occasional
hic-up, which is not good. This may force us to use SQL Server or ASP.NET
State Server service.

"Brock Allen" <ba****@NOSPAMdevelop.com> wrote in message
news:10***********************@msnews.microsoft.co m...
The best thing to do for ViewState at least is to set the machinekey
in machine.config to the same value on each machine so all machines
use the same viewstate encoding which prevents corruption should the
session end up on another box.


This allows you to get rid of sticky sessions too.

-Brock
DevelopMentor
http://staff.develop.com/ballen

Nov 19 '05 #4
>> This allows you to get rid of sticky sessions too.

Not quite... we are storing state on the server.

Oh, bummer :(

Regardless, I will continue my plight to rid the world of session state :)

-Brock
DevelopMentor
http://staff.develop.com/ballen


Nov 19 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Sergej Grickov | last post: by
5 posts views Thread by russell.lane | last post: by
6 posts views Thread by Gibble | last post: by
5 posts views Thread by SpaceMarine | last post: by
3 posts views Thread by sck10 | last post: by
1 post views Thread by daveh551 | last post: by

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.