473,395 Members | 1,653 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,395 software developers and data experts.

Changing machineKey in live production site

In an effort to address ViewState invalid errors, I want to set the
machineKey element in web.config on my two web servers. (The load balancer
should be keeping a client on a single web server throughout a single
session, but there are always ways a user can end up switching servers -
e.g. a server comes out of load balance for any reason - so I want to
configure my web farm to handle that scenario.) My question is, when I add
the machineKey setting to web.config (overriding the machine.config settings
of AutoGenerate, IsolateApps) will all of my current users get a flurry of
ViewState invalid errors because of the change in machineKey settings. Is
there a way to avoid this? Obviously I can try to minimize it by making the
change during a relatively "quiet" period, but is there anything else I can
do?

Thanks,
Zoe Hart
Competitive Computing
Nov 18 '05 #1
2 1491
I'm not aware of any strategy that would work.

--
Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

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

"Zoe Hart" <Zo*************@Competitive.com> wrote in message
news:Op**************@tk2msftngp13.phx.gbl...
In an effort to address ViewState invalid errors, I want to set the
machineKey element in web.config on my two web servers. (The load balancer
should be keeping a client on a single web server throughout a single
session, but there are always ways a user can end up switching servers -
e.g. a server comes out of load balance for any reason - so I want to
configure my web farm to handle that scenario.) My question is, when I add
the machineKey setting to web.config (overriding the machine.config settings of AutoGenerate, IsolateApps) will all of my current users get a flurry of
ViewState invalid errors because of the change in machineKey settings. Is
there a way to avoid this? Obviously I can try to minimize it by making the change during a relatively "quiet" period, but is there anything else I can do?

Thanks,
Zoe Hart
Competitive Computing

Nov 18 '05 #2
OK, I'll just do it at as quiet a time as I can. Thanks anyway.

"Eric Lawrence [MSFT]" <e_********@hotmail.com> wrote in message
news:uN**************@TK2MSFTNGP11.phx.gbl...
I'm not aware of any strategy that would work.

--
Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no rights.
"Zoe Hart" <Zo*************@Competitive.com> wrote in message
news:Op**************@tk2msftngp13.phx.gbl...
In an effort to address ViewState invalid errors, I want to set the
machineKey element in web.config on my two web servers. (The load balancer should be keeping a client on a single web server throughout a single
session, but there are always ways a user can end up switching servers -
e.g. a server comes out of load balance for any reason - so I want to
configure my web farm to handle that scenario.) My question is, when I add the machineKey setting to web.config (overriding the machine.config

settings
of AutoGenerate, IsolateApps) will all of my current users get a flurry of ViewState invalid errors because of the change in machineKey settings. Is there a way to avoid this? Obviously I can try to minimize it by making

the
change during a relatively "quiet" period, but is there anything else I

can
do?

Thanks,
Zoe Hart
Competitive Computing



Nov 18 '05 #3

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

Similar topics

7
by: Frostillicus | last post by:
Hi, I've written some javascript to randomly choose a classical music composer's picture and sample audio and display it on my home page (http://marc.fearby.com/), and this works fine in Mozilla...
0
by: Steve - DND | last post by:
I have a web project which references some assemblies from other projects I have worked on in different solutions, and am running into some quirky behavior. My web project assembly is...
7
by: Ron | last post by:
Error Message:Unable to validate data. Stack Trace: at System.Web.Configuration.MachineKey.GetDecodedData(Byte buf, Byte modifier, Int32 start, Int32 length, Int32& dataLength) at...
0
by: Komil | last post by:
Hey Guys, We are using a webfarm environment to host our current site. There are three machine involved in this webfarm. I have copied the same machinekey information that was generated from...
5
by: Nick | last post by:
my web servers had .NET 1.1 on them and today we installed .NET 2.0 to deploy a few new applications. After running aspnet_resiis.exe -i under the 2.0 framework directory all my single signon 1.1...
4
by: Matt Colegrove | last post by:
I'm working on a web app that is published to a hosting service. I'm developing it on my local PC with VS 2005 and SQL Express. The hosting service DB is SQL Server 2000. I have two...
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....
5
by: John | last post by:
Hi I am trying to set a new password using the following code; Dim u As MembershipUser = Membership.GetUser(UserName) Dim OldPassword As String OldPassword = u.GetPassword If...
9
by: gstar | last post by:
Hi, Not sure I am in the right place here but thought I would ask an open question. We have an IIS website, mainly ASP files, .NET 1 & 2, this is located in our DMZ. It connects back into the LAN...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...

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.