Hi,
We can't load balance two eB Web Servers. We tried many different configuration options for sharing the session state but none works.
This is the error we get:
Exception: System.Web.HttpExceptionMessage: Unable to serialize the session state. In ‘StateServer’ and ‘SQLServer’ mode, ASP.NET will serialize the session state objects, and as a result non-serializable objects or MarshalByRef objects are not permitted. The same restriction applies if similar serialization is done by the custom session state store in ‘Custom’ mode...
Please advice ASAP, thanks a lot,Sebastian.
I have a same problem when i try manage the session with ASP session state server, how I must configure the session state so that it works fine?
Hi Sebastian,
Could you please reply to the following:
What did they try? DNS round robin? Hardware load balancer Microsoft load balancing? Looks like whatever they are doing is throwing the one user between multiple web servers for a single session rather than throwing the one user at a single web server and holding that user against that single web server for their session.
Hi Carma.
I'm using hardware appliance citrix NetScaler to balance the request, this used round robin to two servers iis with eB web client, i try use ASP state server but the session not keep when the web server change, my question is, how must? In the balancer I try insert cookie and keep session to source ip but any not works. I'm staying waiting your answer. Thanks
Hi Carma, how you doing?
I fully agree with your description indeed. They are using a hardware load balancer but at the end of the day works like a DNS round robin.
So, I have two questions:
Could you confirm that the only way to load balance two eB v15.4.1 web servers is by setting the load balance method to hold the user against the web server that received the first request?
And would It work the same way for two eB v15.6.1 or in that version we have more options?
Thanks in advance, kind regards,Sebastian.
The answer to both 1 and 2 is Yes. Reply from Ron Seydler.
The customer is not "confortable" with the imposibility of eB Web to share session states across multiple web servers and is going to upgrade to v15.6.1 + lastest HF in a couple of months, so these are the only two things I'm not sure about:
1-Could you confirm that the only way to load balance two eB v15.4.1 web servers is by setting the load balance method to hold the user against the web server that received the first request? If is the only way, no problem, I'll talk to them to manage the expectations but I need to be sure.
2-And would It work the same way for eB v15.6.1 or in that version we have the option to share sessions between both web servers by using standard .NET feature/settings?
Thanks a lot for your outstanding support, kind regards,
Sebastian.
Answer Verified By: Sebastian Fernandez Pacheco
Understood Carma, thanks a lot for your outstanding support, kind regards, Sebastian.