?
Solved

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

Posted on 2010-09-15
7
Medium Priority
?
3,982 Views
Last Modified: 2012-05-10
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.
0
Comment
Question by:chameleon84
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 30

Expert Comment

by:Brad Howe
ID: 33687576
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
0
 

Author Comment

by:chameleon84
ID: 33696736
No dice.  Doing the same thing.  I'll try anything but I'm out of ideas.
0
 

Author Comment

by:chameleon84
ID: 33697400
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.
0
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
LVL 30

Expert Comment

by:Brad Howe
ID: 33697435
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
0
 

Author Comment

by:chameleon84
ID: 33701811
There is no WERCOn on 64bit server 2008.  Any other ideas?
0
 
LVL 30

Accepted Solution

by:
Brad Howe earned 1500 total points
ID: 33702092
Yes, my mistake.
WER Dump regsitry configs
http://msdn.microsoft.com/en-us/library/bb787181.aspx
http://msdn.microsoft.com/en-us/library/bb513638(VS.85).aspx
 Once the crash is created, you will need to use WinDebug to decode.
You can also use ADPlus with Debugging Tools for Windows (either 32bit or 64bit versions).  
You can also use debugdiag 1.1 (either 32 bit version or 64 bit version) onceh the crash dump is available from WER or ADPlus
You will need to have the correct symbols for your server to to decode it. Most of the time i just use the same server to install the debugger.
How to use ADPlus to troubleshoot "hangs" and "crashes"
http://support.microsoft.com/kb/286350
 Cheers, Hades666
0
 

Author Closing Comment

by:chameleon84
ID: 34003819
found the issue
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question