RE: Viewstate invalid when I load the application in load balanced ser



In the error description below, I copied the wrong machinekey section. But
the machine key values in both the machines match. I replaced the real values
with "value1".
<machineKey validationKey="value1" decryptionKey="value1" validation="SHA1"/>

"Raj" wrote:

> Error:
> The viewstate is invalid for this page and might be corrupted.
>
> When I host the application on one server, I have no problems. The
> application runs fine. But when I host on load balanced - 2 servers, I get
> view state is invalid.
>
> I checked the machine.config (\Microsoft.NET\Framework\v1.1.4322\CONFIG) on
> both the servers and the machine key matches.
>
> <section name="machineKey"
> type="System.Web.Configuration.MachineKeyConfigHandler, System.Web,
> Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b04f5f7f11d70a4a"
> allowDefinition="MachineToApplication" />
>
>
> All the servers I am testing on have the same .NET Framework version-
> 1.1.4322.
>
> Something in the load balanced servers is causing the problem. Any help is
> greatly appreciated.
>
> Thanks,
> Raj
>
.


Quantcast