473,320 Members | 1,817 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,320 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 5243
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Sergej Grickov | last post by:
Hello, all! I started to develop my application with ASP.Net 2.0 and got the strange behavior with pages, where user change any form control (i.e. checkbox, button, etc.). Ex.: when I clicked...
1
by: Dhruba Bandopadhyay | last post by:
Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm....
2
by: Jeremy Chapman | last post by:
This is odd behavior. In my aspnet 2.0 app (basic app, nothing out of the ordinary here), if I am using my iPAQ handheld device and I hit the refresh button on my page, I get an error "Validation...
6
by: sck10 | last post by:
Hello, I have applications that produce the following error when they have been open to long without activity. Is there any way to force a re-load of the page or go to another page if the page...
5
by: russell.lane | last post by:
I'm getting the much-hated "validation of viewstate MAC failed" error. This is on an ASP.Net 2.0 app running in IIS with IE 6+ as the browser. The full error text is: Validation of viewstate...
6
by: Gibble | last post by:
We have been receiving 100s of this error: ---------- Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKeyconfiguration specifies...
5
by: SpaceMarine | last post by:
hello, when my page attempts a Telerik RadGrid row insert (AJAX enabled) my page throws this exception: Validation of viewstate MAC failed. If this application is hosted by a Web Farm or...
3
by: sck10 | last post by:
Hello, I have a web project (VS 2008 c#). I have a page that opens, but when I try to call an assembly (managed c++) on a submit event, I get the following error on the web server, but not on...
1
by: daveh551 | last post by:
Okay, I've googled this, and come up with several articles, but none of them seem to apply to my site. I have an eCommerce site with a product category tree in the left navigation bar. The tree...
0
by: skozyk | last post by:
I kept getting the following error: "Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.