We've migrated our webapplication from .net runtime 2 (v 3.5) to .net runtime 4 (v 4.5) and I have a question for deployment to our production servers.
Our sessionstate server is a "stateserver" that all our webservers use in common, and runs aspnetsession from framework 2 on a separate server.
When we deploy and change the application pool to .net 4 to one of our webservers in test, it seems that the session expires or is dropped somehow as we're redirected to the logon page of our application.
Is there any way of deploying our new version of the app (while also upgrading the app pool) without our users losing session in the process? Are the sessioncookie created by application pools runnning in .net 2 not compatible with .net 4? I cannot see anything
about this in the breaking changes whitepaper
None
0 Points
4 Posts
Migrating web farm to runtime version 4 of asp.net while maintaining session
Sep 04, 2013 04:43 AM|ElChe77|LINK
Hi.
I've also asked this question on stackoverflow.com
We've migrated our webapplication from .net runtime 2 (v 3.5) to .net runtime 4 (v 4.5) and I have a question for deployment to our production servers.
Our sessionstate server is a "stateserver" that all our webservers use in common, and runs aspnetsession from framework 2 on a separate server.
When we deploy and change the application pool to .net 4 to one of our webservers in test, it seems that the session expires or is dropped somehow as we're redirected to the logon page of our application.
Is there any way of deploying our new version of the app (while also upgrading the app pool) without our users losing session in the process? Are the sessioncookie created by application pools runnning in .net 2 not compatible with .net 4? I cannot see anything about this in the breaking changes whitepaper
In advance, thank you for any pointers
sessionstate asp.net iis framework4
Participant
1061 Points
332 Posts
Re: Migrating web farm to runtime version 4 of asp.net while maintaining session
Sep 08, 2013 02:49 AM|MSDN_ice|LINK
Hi ElChe77,
According to your description, I see that you are suffering with the state server session expires when upgrade the .net iframework.
For this issue, i suggest you notice below points.
# Be sure the ASP.NET state service is running on the server.
# Have the same encryption keys specified in the machineKey element of your Web configuration for all applications that are part of the Web farm.
How to use state server session
http://msdn.microsoft.com/en-us/library/ms178586.aspx
Similar issue with solution.
http://stackoverflow.com/questions/5678772/unable-to-use-session-state-server-because-this-version-of-asp-net-requires-sess
Hope this helps, thanks.
sessionstate asp.net iis framework4
None
0 Points
4 Posts
Re: Migrating web farm to runtime version 4 of asp.net while maintaining session
Sep 09, 2013 01:54 AM|ElChe77|LINK
Hi, this is not very helpful.
We're of course running the service, and are well aware of machinekeys etc.
sessionstate asp.net iis framework4