When running IIS 5.1 on some XP Pro machines (but not all), the first
ASP page run after an IIS restart will take about 2 minutes to start
up. Subsequent calls to asp pages run quickly, it's only a problem on
the first asp page after an IIS restart. This is a problem because
I'm a developer who sometimes restarts IIS 40 or 50 times per day.
Windows 2000 Server and Server 2003 machines do not seem to have the
problem and most of our XP machines do not have the problem. We have
3 that do have the issue.

This only occurs on asp pages. HTML or HTM files startup immediately.
Interestingly, when I move to the first aspx page after a IIS
restart, that too takes 2 minutes the very first time even after I
just spent 2 minutes waiting for the first asp.

This occurs on the IISHelp web and on a virtual web that I've created
that only has a single test.asp that looks like:
<html>
Test asp page
</html>

I have tried:
- Uninstalling IIS 5.1, rebooting and re-installing IIS 5.1
- Added and removed all Service Packs and Critical Updates
- Stopped Symantec AntiVirus via their GUI and directly stopping the
Service. Finally just uninstalled Symantec AntiVirus.
- Stopped the SQL Server 2000 Service
- Rebuilt the entire machine from scratch
- Tried using authentication other than Anonymous. Windows
Authentication does the same thing.
- Uninstalled .Net Framework 1.1 and rebooted

Any ideas?

RE: First ASP after IIS restart is very slow by michno_nospam

michno_nospam
Wed Dec 31 16:48:13 CST 2003

Hi Greg,

My name is Michael Noto. Thank you for using the Microsoft IIS Newsgroups.

As I understand, your asp pages serve slowly after a restart of IIS. They
do load but only after a long wait. I am guessing the browser is showing a
white page. But after the first page serves, the performance is normal. The
server is not under heavy load. Is this correct?

I do not recall seeing this before so I have a few questions...

Have you tried a htm page with simple code like that test asp page? What
happens if you do?

Is the web site in High, medium or low application protection? Does
changing to a different level change the behavior?

Are there any errors or warnings in the event logs?

Since this is a dev server I am thinking that there are not any host
headers on the site and browsing local host has the same behavior. Is this
true?

Are there any custom ISAPI filters on the server or the particular
website? (Server Properties - WWW Service Master Properties - ISAPI Filters
tab and Web Site Properties - ISAPI Filters tab)

I hope this helps! If you have additional questions on this topic, please
reply to this posting.

Regards,
Michael Noto
Microsoft IIS Support

This posting is provided 'AS IS' with no warranties, and confers no rights.

Need quick answers to questions like these? The Microsoft Knowledge Base
provides a wealth of information that you can use to troubleshoot a problem
or answer a question! It's located at
http://support.microsoft.com/support/c.asp

From: howag@yahoo.com (Greg H)
Newsgroups: microsoft.public.inetserver.iis
Subject: First ASP after IIS restart is very slow
Date: 31 Dec 2003 11:59:34 -0800

When running IIS 5.1 on some XP Pro machines (but not all), the first
ASP page run after an IIS restart will take about 2 minutes to start
up. Subsequent calls to asp pages run quickly, it's only a problem on
the first asp page after an IIS restart. This is a problem because
I'm a developer who sometimes restarts IIS 40 or 50 times per day.
Windows 2000 Server and Server 2003 machines do not seem to have the
problem and most of our XP machines do not have the problem. We have
3 that do have the issue.

This only occurs on asp pages. HTML or HTM files startup immediately.
Interestingly, when I move to the first aspx page after a IIS
restart, that too takes 2 minutes the very first time even after I
just spent 2 minutes waiting for the first asp.

This occurs on the IISHelp web and on a virtual web that I've created
that only has a single test.asp that looks like:
<html>
Test asp page
</html>

I have tried:
- Uninstalling IIS 5.1, rebooting and re-installing IIS 5.1
- Added and removed all Service Packs and Critical Updates
- Stopped Symantec AntiVirus via their GUI and directly stopping the
Service. Finally just uninstalled Symantec AntiVirus.
- Stopped the SQL Server 2000 Service
- Rebuilt the entire machine from scratch
- Tried using authentication other than Anonymous. Windows
Authentication does the same thing.
- Uninstalled .Net Framework 1.1 and rebooted

Any ideas?


Re: First ASP after IIS restart is very slow by Jerry

Jerry
Wed Dec 31 17:35:13 CST 2003

I would focus on what happens only when you restart IIS like this -
initializing the application in global.asa. Could you post that file here?
You're probably doing something that takes a very long time there...

Jerry

"Greg H" <howag@yahoo.com> wrote in message
news:e5b48b89.0312311159.2c44bf59@posting.google.com...
> When running IIS 5.1 on some XP Pro machines (but not all), the first
> ASP page run after an IIS restart will take about 2 minutes to start
> up. Subsequent calls to asp pages run quickly, it's only a problem on
> the first asp page after an IIS restart. This is a problem because
> I'm a developer who sometimes restarts IIS 40 or 50 times per day.
> Windows 2000 Server and Server 2003 machines do not seem to have the
> problem and most of our XP machines do not have the problem. We have
> 3 that do have the issue.
>
> This only occurs on asp pages. HTML or HTM files startup immediately.
> Interestingly, when I move to the first aspx page after a IIS
> restart, that too takes 2 minutes the very first time even after I
> just spent 2 minutes waiting for the first asp.
>
> This occurs on the IISHelp web and on a virtual web that I've created
> that only has a single test.asp that looks like:
> <html>
> Test asp page
> </html>
>
> I have tried:
> - Uninstalling IIS 5.1, rebooting and re-installing IIS 5.1
> - Added and removed all Service Packs and Critical Updates
> - Stopped Symantec AntiVirus via their GUI and directly stopping the
> Service. Finally just uninstalled Symantec AntiVirus.
> - Stopped the SQL Server 2000 Service
> - Rebuilt the entire machine from scratch
> - Tried using authentication other than Anonymous. Windows
> Authentication does the same thing.
> - Uninstalled .Net Framework 1.1 and rebooted
>
> Any ideas?



Re: First ASP after IIS restart is very slow by nospam_howag_nospam

nospam_howag_nospam
Fri Jan 02 11:24:43 CST 2004

Thank you for your suggestions, here are my responses:

- While I wait, I get a "Opening page http://localhost/Test/test.asp"
in the browser status bar. After the wait, the page comes up and the
website runs normally. Subsequent restarts are very quick, it's only
after an IIS restart that it is slow the first time.

- This website is only a single asp page called test.asp with no
global.asa. The asp is:
<html>
Test asp page
</html>

- No heavy load, it is on my personal Windows XP Pro machine

- Like I stated in the original post, simple htm or html pages come up
instantly, only asp or aspx pages have a problem.

- Yes, I have tried a simple test asp page, that's what I stated in my
original post. it is just a test.asp. Problem also occurs on the
built-in IISHelp site that is installed with IIS.

- Like I stated in the original post, it is not a dev server, it is a
single dev machine with Windows XP Pro and IIS on it.

- Once again, if I take this single ASP page to most machines in our
organization, it works just fine at startup, but we

have 3 XP Pro machines that take a very long time to start up with
this test.asp.

- No custom ISAPI filters that I put in. The ones I see are:
sspifilt, priority high at C:\WINDOWS\System32\inetsrv\sspifilt.dll
Compression, priority high at C:\WINDOWS\System32\inetsrv\compfilt.dll
md5filt, priority high at C:\WINDOWS\System32\inetsrv\md5filt.dll
pwsdata, priority low at C:\WINDOWS\System32\inetsrv\pwsdata.dll

I removed all 4, restarted IIS and problem still exists.


Completely uninstalled and re-installed IIS as part of the process of
figuring this out.

- As a test, I actually put a simplistic global.asa up and had it
write a trace file in the application startup event.

Application startup didn't get executed for 2 minutes after iis
restart. So the problem is definitely occuring outside my

application prior to any execution of the global.asa.

Thanks,
Greg

Re: First ASP after IIS restart is very slow by Jerry

Jerry
Fri Jan 02 14:48:40 CST 2004

How about a virus scanner? That (especially if it's scanning scripts) might
slow things down (and should have nothing to do on a production server)...

Jerry

"Greg H" <nospam_howag_nospam@yahoo.com> wrote in message
news:279f6a9b.0401020924.4bc58af8@posting.google.com...
> Thank you for your suggestions, here are my responses:
>
> - While I wait, I get a "Opening page http://localhost/Test/test.asp"
> in the browser status bar. After the wait, the page comes up and the
> website runs normally. Subsequent restarts are very quick, it's only
> after an IIS restart that it is slow the first time.
>
> - This website is only a single asp page called test.asp with no
> global.asa. The asp is:
> <html>
> Test asp page
> </html>
>
> - No heavy load, it is on my personal Windows XP Pro machine
>
> - Like I stated in the original post, simple htm or html pages come up
> instantly, only asp or aspx pages have a problem.
>
> - Yes, I have tried a simple test asp page, that's what I stated in my
> original post. it is just a test.asp. Problem also occurs on the
> built-in IISHelp site that is installed with IIS.
>
> - Like I stated in the original post, it is not a dev server, it is a
> single dev machine with Windows XP Pro and IIS on it.
>
> - Once again, if I take this single ASP page to most machines in our
> organization, it works just fine at startup, but we
>
> have 3 XP Pro machines that take a very long time to start up with
> this test.asp.
>
> - No custom ISAPI filters that I put in. The ones I see are:
> sspifilt, priority high at C:\WINDOWS\System32\inetsrv\sspifilt.dll
> Compression, priority high at C:\WINDOWS\System32\inetsrv\compfilt.dll
> md5filt, priority high at C:\WINDOWS\System32\inetsrv\md5filt.dll
> pwsdata, priority low at C:\WINDOWS\System32\inetsrv\pwsdata.dll
>
> I removed all 4, restarted IIS and problem still exists.
>
>
> Completely uninstalled and re-installed IIS as part of the process of
> figuring this out.
>
> - As a test, I actually put a simplistic global.asa up and had it
> write a trace file in the application startup event.
>
> Application startup didn't get executed for 2 minutes after iis
> restart. So the problem is definitely occuring outside my
>
> application prior to any execution of the global.asa.
>
> Thanks,
> Greg



Re: First ASP after IIS restart is very slow by michno_nospam

michno_nospam
Fri Jan 02 15:59:18 CST 2004

Hi ,

What do we have in the master properties script mappiong for asp. Is asp
mapped toC:\WINDOWS\System32\inetsrv\asp.dll? What is selected ion the
verbs section and are any boxes checked?

Are these win XP all installed from a share? How is OS and IIS installed?


I hope this helps! If you have additional questions on this topic, please
reply to this posting.

Regards,
Michael Noto
Microsoft IIS Support

This posting is provided 'AS IS' with no warranties, and confers no rights.

Please do not send email directly to this alias. This is our online account
name for newsgroup participation only.

Need quick answers to questions like these? The Microsoft Knowledge Base
provides a wealth of information that you can use to troubleshoot a problem
or answer a question! It's located at
http://support.microsoft.com/support/c.asp


Re: First ASP after IIS restart is very slow by nospam_howag_nospam

nospam_howag_nospam
Mon Jan 05 13:05:25 CST 2004

Jerry III,

I do appreciate your responses, but you really need to look at my
original post before responding. I have gone through a long list of
things to try and resolve this problem already. It does me no good to
have you suggest things I've already tried and detailed in my original
post.

As I stated in my previous posts:

- Tried stopping the Virus Scanner service and that did nothing. I
then uninstalled the only virus scanner I had on the machine and
restarted. That, too, did nothing.

- You also asked me to post my global.asa. As I stated this is a
single asp site with no global.asa.

Re: First ASP after IIS restart is very slow by nospam_howag_nospam

nospam_howag_nospam
Mon Jan 05 13:16:40 CST 2004

Michael,

Thank you for your reponse.

Yes, it is mapped to C:\WINDOWS\System32\inetsrv\asp.dll

The Verbs is select for Limit to:
GET,HEAD,POST,TRACE

Script Engine is checked
Check that file exists is unchecked.

I've uninstalled and re-installed IIS always taking all the defaults.

Not installed from a share. OS and IIS are installed from MSDN ISO
images. It's XP SP1a. The other machine we have with the problem
was installed from a retail XP Pro.

-Greg