with multiple load balanced servers, document viewer control throws "Session has expired" error
Problem reported by Vinay B R - May 20, 2017 at 1:02 AM
I am trying to use the document viewer control in my website. The control works fine on a single server but fails when i tried with 2 load balanced webservers "session has expired, the page will be refreshed in 10 seconds" message and keeps refreshing a few times till it eventually fails with "Invalid XPZ file: Zip end header data is wrong size!" error message. 
Server details -
Windows Server 2012 with iis8.1
Asp.Net 4.6.2 in SessionStateMode SQLServer
Can you please let me know what needs to be done to get the control working. 

1 Reply

Reply to Thread
Cem Alacayir Replied
Employee Post
FYI this is fixed in v3.1.0:
Added: Load balancer support. DocumentViewer can now work properly in multi-server environments or cloud (e.g. Azure) where in-memory session is not available. Session serialization is fixed to support all session modules. You still need to have a shared cache folder between multiple instances/servers.

Reply to Thread