IIS Lag Time

We're running into a problem with one of our applications running on IIS on Server 2008.  When the first user hit the application website for the first time in th emorning there is a delay of about  1.5 minutes before loading.  After this ther eis no problems unless there is no activity for 30 minutes or so.  The vendor has been less than helpfull on what the issue might be.  My only thought is some settign in IIS is causign this.  Any thoughts on what would cause this?
georgedschneiderAsked:
Who is Participating?
 
georgedschneiderAuthor Commented:
Since I'm not the developer of the application and they keep saying it has to do with the application pool settings in IIS I wront the following vbscript that runs every 15 minutes to hit the webpage to resolve the issue.
Set objIE = CreateObject("InternetExplorer.Application")
objIE.Visible = True
objIE.Navigate "http://localhost/virtualdirectory"
WScript.Sleep 30000
objIE.Quit

Open in new window

0
 
ivan_vaguninCommented:
Hi! It looks like some session cache problem - do you have any code that caches something to session state? Is lag on every page or on specific pages only?
0
 
georgedschneiderAuthor Commented:
Just the first page.  It was mentioned ot try to write a script that hits the webpage every so often to prevent this form happening.
0
 
ivan_vaguninCommented:
As I said it is mostly like a code problem to me (not IIS), so I would advise to debug the code of the page you have problems with.
0
 
georgedschneiderAuthor Commented:
Used my own solution to the issue
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.