IIS 7 & IIS 8
IIS 7.5 slow to response first time a ASP.NET application
Last post Jan 31, 2012 12:50 PM by HCamper
Jan 23, 2012 04:00 PM|LINK
I'm using IIS 7.5 on Windows 2008 R2 64 bits and the first time a invoke my asp.net application the server delay to response. The initial page of application dont access any database. The other accesses the server response normally.
What can I
do to improve the time the first request?
has been there and can
Jan 23, 2012 05:41 PM|LINK
How to improve the time
the first request. Start Trouble shooting and fix the problems.
You have problems then your can do performace testins.
http://learn.iis.net/page.aspx/113/getting-started-with-iis-manager/ Enable FRT. Look at IIS Server logs.
The first time ASP.NET Application in IIS Server is accessed ?
The initial page of application. Does not access any database. ?
The other accesses the server response normally. ?
Your using IIS 7.5 on Windows 2008 R2 64 and is there a SQL Server and Database ?
http://learn.iis.net/page.aspx/624/application-pool-identities/ Application Pools.
Jan 23, 2012 06:29 PM|LINK
The Topic "IIS 7.5 slow to response first time a ASP.NET application:" WCF Service Application ?
Need more information: The first time you invoke the ASP.NET Application is this WCF and a service ?
"The Server response is normal" -" You do not access any database"- "The IIS Server is slow to respond".
Update the information,
Jan 25, 2012 02:00 AM|LINK
As Martin said, FRT tracings could tell where the long time is taken. Also you may want to warm-up your application if the long time is definitely needed for the first request. Please take reference to the following article to see the details for warm-up
ASP.NET 4.0: How to use application warm-up class
Hope this helps, thanks.
Jan 25, 2012 09:49 AM|LINK
Jan 25, 2012 06:35 PM|LINK
http://learn.iis.net/page.aspx/243/aspnet-integration-with-iis/ IIS Server
Start Testing Wcat
configure and starting testing.
Jan 29, 2012 08:57 AM|LINK
You have discovered the pool is part the of the access delays " Have you configured FRT ?
"The IIS 7.5 Server and ASP.NET application using WCF code or accessing a service ?
Need more information about this topic,
Jan 30, 2012 10:43 AM|LINK
I enabled FRT on the server. It is configured to capture status code 400-999 and elapsed time 2 seconds.
The server generated a xml file but I dont know how to interpret a file and then
find out if there are any errors.
How can I identify the parts that
failed and led to
Jan 30, 2012 01:04 PM|LINK
The FRT is running on the IIS Server. You can capture status code 400-999 the time is 2 seconds.
The server is creating the XML files and the Display is hard to read and understand and find the errors.
"How to enable details of 500 errors on client" Forum post http://forums.iis.net/p/1183344/2003608.aspx#2003608.
You may find the errors are easier to find
http://learn.iis.net/page.aspx/267/how-to-use-http-detailed-errors-in-iis/ more details
about the errors.
If it does not work let me know.
Jan 31, 2012 10:40 AM|LINK
I change to capture errors 200-900 and request delay more than 2 seconds. Apparently I get 200 error code status but I still don't know how to analyse the xml file to found error.