IIS 7 and Above
URL Rewrite Module
URL Rewrite Module - IIS Manager takes 10 seconds to open navigate af...
Last post Jan 09, 2014 08:40 AM by brightcedars
Nov 19, 2011 08:12 AM|iisuser111|LINK
We have several IIS server farms all with the same problem - when you open IIS Manager and drill down through the sites, once you click on the little + plus button to navigate and expand the site, it takes over 10 seconds for the list of sites to appear.
Up until now, I had no idea what was causing it. But today I finally found out - it's the URL Rewrite Module!
Try this out -
Build a clean server (2008 R2) and install IIS. Open IIS Manager and drill down to the default site - everything is nice and fast.
Now install the URL Rewrite Module. Open IIS Manager and try to drill down to the default site - notice how it takes 10 seconds to expand the sites navigation.
So at long last I've figured out what was causing the IIS Manager delays but I wonder is there any way to fix it? If I was to guess, I would say perhaps the URL Rewrite Module is trying to connect to the intenet or use DNS and since DNS, HTTP and HTTPS are
blocked on this server, the delay occurs.
Nov 20, 2011 02:58 PM|StormInternet|LINK
Nov 20, 2011 03:01 PM|StormInternet|LINK
In fact IIS 7 output caching provides significant performance improvements for Web applications. Take a look at following link for more information :
Nov 20, 2011 03:27 PM|iisuser111|LINK
Hi, I'm afraid it is the URL rewrite module in this case. It is a clean build 2008 R2 server with only IIS installed with the usual one single default site. With URL rewrite module installed there is a 10 second delay before you can navigate, with it uninstalled
there is no delay. I've installed and reinstalled it a few times to confirm. No errors in the event log. This same behaviour is observed on 18 different servers (some with 1 site and some with 50+ sites) - all of them have outbound DNS/HTTP/HTTPS blocked so
my suspicion lies there...
Nov 22, 2011 08:53 AM|Leo Tang - MSFT|LINK
Could you please open an elevated command prompt, navigate to C:\Windows\System32\inetsrv, then run "InetMgr.exe /reset" to see if address this issue.
If your problem persists, please check the module provider section in administration.config file located in C:\Windows\System32\inetsrv\config, the section for URL Rewrite Module should be:
<add name="Rewrite" type="Microsoft.Web.Management.Iis.Rewrite.RewriteModuleProvider, Microsoft.Web.Management.Rewrite, Version=18.104.22.168, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
You can also run Process Monitor to see if any failed activity captured when there is 10 seconds delay. Thanks.
Nov 22, 2011 11:48 AM|HCamper|LINK
The suggestion by Leo Tang is correct.
This http://forums.iis.net/p/1180208/1990306.aspx#1990306 thread by CarlosAg and replies are related.
Nov 22, 2011 01:16 PM|iisuser111|LINK
thanks for the replies. I ran "inetmgr /reset" but it did not fix the issue. Also confirmed the administration.config is correctly listing the rewritemoduleprovider.
I ran Process Monitor and interestingly when it stops for 10 seconds, process monitor is at this line:
InetMgr.exe RegCloseKey HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections SUCCESS
then after ten seconds continues on.
Just posting this information out of curiosity as waiting 10 seconds is not really a big deal anyway.
Nov 22, 2011 01:43 PM|HCamper|LINK
This "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections" might be permissions
branch of the Registery.
Out of Scope for IIS Forums ( Google or Bing) for restoring registery permissions
http://www.win2008workstation.com/forum/viewtopic.php?f=18&t=675 non MS information.
You might find insights from Technet Magazine
Nov 22, 2011 01:49 PM|iisuser111|LINK
it's not a registry problem though as it can access that key with "success". For some reason it stops for 10 seconds after reading that key. It must be due to there being no internet access on the server - URL Rewrite Module seems to check for it.
Nov 22, 2011 01:58 PM|OWScott|LINK
Great thread iisuser111. I've noticed this for maybe the last year or two too, so it's good to know roughly what causes it. The first IIS open is really slow on fresh machines (and I believe after a reboot).
The \Connections key is tiny but maybe URL Rewrite is trying to establish some sort of connection when it loads. I didn't test to confirm your findings regarding the pause at the \Connections key but I wanted to pipe up and say 'me too', that I notice the
Nov 22, 2011 01:59 PM|HCamper|LINK
I have dealt with some strange registery permissions issues. Ignore the Suggestions.
Registery Access is Success Time is good 10 seconds is ok yes server delay your correct.
If Rewrite is working great.
Nov 22, 2011 02:21 PM|OWScott|LINK
Inspired by this thread I did some testing myself. The issue that I've seen is different than iisuser111's. Watching the registry it doesn't stick for me. Basically each add-on (media, url rewrite, arr, advanced logging, etc) takes some time to load.
It appears that between 1 and 5 load per second, so the total of all of them takes about 7-10 seconds on a new machine or after a reboot. So while I notice the same delay, it's not caused by the same issue.
Feb 25, 2012 07:56 PM|brianecole|LINK
I also see this. As with the earlier writer I am on a network where outbound HTTP is blocked. And, when I ran Process Monitor I see that the InetMgr.exe is making an HTTP request to an akamaitechnologies web server. I too have URL reWrite installed.
So, why the heck is URL Rewrite going to Akamai and slowing down IIS Manager ?
Jan 09, 2014 08:40 AM|brightcedars|LINK
I've installed 5 VMs with IIS 7.5 and ARR 2.0 and they all have this delay as soon as ARR is installed.
We can of course wait 10s but usually when we hit the console it's because there's a pressing need so it would be nice to do without.
Any suggestion out there?
Also, did someone already switch to ARR 3.0 and knows whether that phenomenon is carried on or not?