Link to home
Start Free TrialLog in
Avatar of chameleon84
chameleon84

asked on

Lost session variables in iis 7 on a 64 bit windows server 2008

We transferred our existing website which is running on a Server 2003 machine using iis6 and coded with classic asp to a Server 2008 64 bit machine using iis7 and classic asp.  The only changes to the pages were for our calls to a Universe db, which need a new connection string .  We tested all the pages within the department running 4-5 users and all went well.  When we made it live for everyone (between 40 and 100 users) users were losing their session variables some immediately and others after 3 minutes.

Is there a setting in iis7 that could be throttling the amout of memory allotted for session variables?  Or does anyone have any other ideas as to what may be happening.  Thank you.
Avatar of Brad Howe
Brad Howe
Flag of Canada image

Hi,
This sould odd.  Typical reasons for Classic ASP session lost is Application Pool is recycled, IIS/worker process is restarted or Application Domain is restarted.
Try the following.
Event Logs
Check the system Logs for any W3SVC entries or recycling.
Application Pool : Idle Time-out
Is the  Application pool to Classic and .NET framework to "No managed code". As well, Is it isolated from your other applications.
global.asa file
Make sure that you do not have a “global.asa” file on your site that is overriding the default session timeout value.  
ex: Sub Session_OnStart
    ' Change Session Timeout to 20 minutes
            Session.Timeout = 20
End Sub
IIS Settings
If you are using the Classic .NET AppPool. Make sure the recycling value settings are set to PML = 0, VML = 0, Regular Interval = 0.
Let us know, Hades666
Avatar of chameleon84
chameleon84

ASKER

No dice.  Doing the same thing.  I'll try anything but I'm out of ideas.
Looking through the event viewer the app pool is restarting every time this happens.  The event viewer has several errors that say "A process serving application pool 'WWW' suffered a fatal communication error with the Windows Process Activation Service. The process id was '1488'. The data field contains the "  I've tried switching to different app pools, different app pool settings.  No matter what we do it crashed under load.
Ok, so you have a IIS dump crash occuring. You will need to use IIS Debuging tools to help diagnosis this further.
IIS Debuging tools- http://support.microsoft.com/kb/919789 
Debuging IIS7 using ADPlus - http://blogs.msdn.com/b/webtopics/archive/2009/11/25/how-to-collect-a-crash-dump-of-an-iis-worker-process-w3wp-exe-on-iis-7-0-and-above.aspx 
EventID 5011 - http://technet.microsoft.com/en-us/library/cc735271(WS.10).aspx 
Hope it helps, Hades666
There is no WERCOn on 64bit server 2008.  Any other ideas?
ASKER CERTIFIED SOLUTION
Avatar of Brad Howe
Brad Howe
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
found the issue