Article Source: Wei.com Motivation (http://www.weiw.com) What can be visible, you can come to this forum http://www.weiw.com/bbs/ Repost Please indicate the source, thank you.
Environmental Description: Development platform is DOTNET B / S .NET Framework 1.1 formal web server and test machine, all of Win2003 has a main website, and load balancing on six web servers. Run is relatively stable. A sub-station is now developed, and the deployment is load balanced on the other three web servers. This load balancing sets the settings of the home website.
Solution Step: 1) The sub-station is passed on the test machine test, and runs properly. Prepare to deploy to the official environment (three web servers)
2) Copy the sub-station program to the three web servers, configure the sub-station-related configuration, and the open site and load balancing start test.
3) When the test is tested, the page is normal, but an exception occurs when the server event is triggered. Error message "ViewState Is Invalid for this Page" does not have enough information to resolve this issue, why is the same program to run without problems in the test machine, put it in a formal environment, there is an exception? In Microsoft's website, you should find this unusual explanation (http://support.microsoft.com/default.aspx?scid=kb;zh-cn; 831150), it is recommended to install Microsoft .NET Framework 1.1 Service Pack 1. So, if you suspect that you don't install this patch, you will check the registration entry: HKEY_LOCAL_MACHINE / SOFTWARE / Microsoft / Net Framework setup / ndp / v1.1.4322sp value is 0, indicating that there is no Framework 1.1 Service Pack, then go to the Microsoft website to download .NET Framework 1.1 Service Pack 1 and .NET Framework 1.1 Service Pack 1 ASP.NET Security Update - Windows Server 2003
4) After installing these two patches, run the sub-station program and still appear during triggering the server event. Abnormal: Abnormal Details: System.Web.httpException: Unable to verify the data. Stack Tracking: [HTTPEXCEPTION (0x80004005): Unable to verify data. ] [HttpException (0x80004005):. Authentication of viewstate failed 1) If this is a cluster, edit
Summary: The programmer is not only to write the program, and the system should be understood properly. This problem does not necessarily meet, as a solution to the problem, for everyone to share.
Attachment: Load balancing is generally three places to ensure continuation of the process. First start the load balancing, then set "Enable Connection Rebind" to True. The last Persistence Type is usually set to Simple to add timeout. Note: I am very little on load balancing studies, I don't know if other similar software is also set, the principle should be almost.