Dilip
Dilip

Reputation: 199

Session Issue for ASP.NET C# Website

I have just released one of my application to production environment. Live environment has two IIS Servers via a Load Balance. The server configuration people has informed that they have implemented something called "Sticky Load Balancing" to carry out the sessions to IIS 1 or 2 via the Load Balance [Sessions are handled via the Load Balance].

Error On accessing the website via IE9, I am getting a view state error. Screen Shot attached.


enter image description here


Exception The exception is not being generated from Chrome Browser. But compliance requires us to tweak the application to IE9 only.

What Needs to be done to resolve the issue ?

Upvotes: 0

Views: 671

Answers (1)

Viswas Menon
Viswas Menon

Reputation: 310

The below post, although the person who asked it is not exactly facing the same situation, The solution which has been posted is valid for this, Especially the second point which says about defining a machine key for the application.

Please refer the below, i hope it helps.

Avoiding invalid viewstate when deploying on a load balanced website without downtime

Upvotes: 2

Related Questions