Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Distributed Applications / June 2005

Tip: Looking for answers? Try searching our database.

Viewstate invalid when I load the application in load balanced ser

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Raj - 24 Jun 2005 14:36 GMT
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
Raj - 24 Jun 2005 14:48 GMT
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"/>

> Error:
> The viewstate is invalid for this page and might be corrupted.
[quoted text clipped - 19 lines]
> Thanks,
> Raj

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.