Changing machineKey in live production site

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default 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


    Zoe Hart Guest

  2. Similar Questions and Discussions

    1. my flash site live tv
      http://www.camsohbeti.com
    2. Can't complete connection to production site
      I have a problem setting up a Contribute connection to a live server. I create the FTP connection and provide all the details and then Contribute...
    3. Uploading a site to a live server?
      Hi ... can anyone offer some advice. I'm new to Coldfusion and have successfully installed the developer edition and ran through the getting...
    4. Web Farm and <machineKey>
      I have a Web Farm and I understand that in order to keep ViewState safe I want to modify the <machineKey>. 1) The documentation indicates that...
    5. Last site check before going live
      Hi all Could some of u good ppl in here do a site check for me? There is no real content on it because the clint will put in them self. URL:...
  3. #2

    Default Re: Changing machineKey in live production site

    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" <Zoe.Hart.NoSpam@Competitive.com> wrote in message
    news:Opf8K9iAEHA.2308@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
    >
    >

    Eric Lawrence [MSFT] Guest

  4. #3

    Default Re: Changing machineKey in live production site

    OK, I'll just do it at as quiet a time as I can. Thanks anyway.

    "Eric Lawrence [MSFT]" <e_lawrence@hotmail.com> wrote in message
    news:uN1f8wjAEHA.3316@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" <Zoe.Hart.NoSpam@Competitive.com> wrote in message
    > news:Opf8K9iAEHA.2308@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
    > >
    > >
    >
    >


    Zoe Hart Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139