Solved

IIS Lag Time

Posted on 2011-09-12
5
529 Views
Last Modified: 2012-05-12
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?
0
Comment
Question by:georgedschneider
  • 3
  • 2
5 Comments
 
LVL 18

Expert Comment

by:ivan_vagunin
ID: 36524745
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
 

Author Comment

by:georgedschneider
ID: 36531899
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
 
LVL 18

Expert Comment

by:ivan_vagunin
ID: 36541033
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
 

Accepted Solution

by:
georgedschneider earned 0 total points
ID: 36600984
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
 

Author Closing Comment

by:georgedschneider
ID: 36895878
Used my own solution to the issue
0

Featured Post

Integrate social media with email signatures

Is your company active on social media? Do you also use email signatures? Including social media icons in your email signature is a great way to get fans for free. Let all your email users know you’re on social media quickly and easily, in a single click.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SPAM and Ransomware and Backup 11 87
Upgrade 2008R2 to 2016 with Hyper-V 4 50
Not showing JavaScript in the list 5 36
Reset asp.net login password 4 28
One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

911 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now