IIS is Internet Information Services, the web server included with Microsoft's Windows Server operating systems. This is a generic tag. Wherever possible please use a *version-specific* tag, such as [iis7], [iis7.5], etc.

learn more… | top users | synonyms

36
votes
6answers
111k views

How can I tell what version of IIS is installed?

I've got a box running Win2k3 and some directions from Microsoft KB about SSL certificates, for IIS 5.0 and 6.0. How can I tell which version of IIS is currently installed?
34
votes
3answers
57k views

Can IIS be configure to forward request to another web server?

I have several web site set up on one IIS 6 server distinguished by Host Header. However, I wish to have one of the sites served by a Linux / Apache server on my network. Do I need to use a reverse ...
32
votes
5answers
37k views

How to remove IIS/ASP.NET Response Headers

I have a couple IIS/6.0 servers that security is asking me to remove a couple of response headers that are sent to client browsers on requests. They are concerned about divulging platform information ...
27
votes
3answers
15k views

Is there any harm in disabling the idle timeout for an application pool?

I'm currently fighting an issue with ASP.Net taking minutes to load a page for the first time. Through playing with settings I've found that disabling "Shutdown worker processes after being idle for ...
26
votes
7answers
33k views

On IIS, how do I patch the SSL 3.0 POODLE vulnerability (CVE­-2014­-3566)?

How do I patch CVE­-2014­-3566 on a Windows Server 2012 system running IIS? Is there a patch in Windows Update, or do I have to do a registry change to disable SSL 3.0?
24
votes
7answers
34k views

How can you know what is w3wp.exe doing? (or how to diagnose a performance problem)

I'm having a performance problem in a site we've made, and I'm not exactly sure how to start diagnosing it. The short description is: We have a very small site (http://hearablog.com) with very little ...
24
votes
6answers
9k views

IIS Manager - Connect to Another Server (Win7 to Win2008 server)

I am running Windows 7 Ultimate. If I open up IIS Manager, I see a list of "connections" on the left hand side. In previous versions, I would be able to select an option to "connect to another ...
21
votes
1answer
19k views

What should I do to make sure that IIS does not recycle my application?

I have a WCF service app hosted in IIS. On startup, it goes and fetches a really expensive (in terms of time and cpu) resource to use as local cache. Unfortunately, IIS seems to recycle the process ...
20
votes
5answers
15k views

Why use Kerberos instead of NTLM in IIS?

This is something that I've never really been able to answer as well as I like: What is the real advantage of using Kerberos authentication in IIS instead of NTLM? I've seen a lot of people really ...
20
votes
7answers
13k views

After Windows 7 SP1 IIS errors with “Invalid application path”

I'm getting this new, strange error message in IIS after updating Windows 7 (x64) with SP1. Open the IIS Manager Browse to an exisiting Virtual Application (or create a new one) Open its Basic ...
19
votes
2answers
4k views

Why does the IIS worker process recycle every 29 hours and not every 24 hours?

When you setup a site on IIS it defaults the worker process to recycle every 1740 minutes (29 hours). Why an odd number like 29 hours and not, for example, 24 or 48 hours?
17
votes
6answers
21k views

IIS 7 + ASP.NET 4

I have an ASP.NET application that I am trying to convert to an ASP.NET 4 application. The application is fairly simple. I have created a new web application in IIS 7.5 pointing to the directory that ...
17
votes
2answers
8k views

IIS 7.5 optimizations for a site serving only static content

I'm looking to setup a cookie-free domain intended to serve static content for a web application, similar to the http://sstatic.net/ site that the stack exchange sites use. My question is, what ...
17
votes
1answer
6k views

Web gardens… are they good or bad or what?

Are there any downsides to giving Application Pools multiple Worker Processes in IIS? They seem really easy to enable and (almost) everything I’ve read seems to suggest they’re good... so why doesn’t ...
16
votes
3answers
51k views

What are the IUSR and IWAM accounts for in IIS?

I'm looking for a good explanation of the IUSR and IWAM accounts used by IIS to help me better configure our hosting environment: Why are they there? What's the difference between them? Do the names ...
16
votes
8answers
23k views

IIS7: can't set host name on site with SSL cert and port 443

Consider a Win 2008 SP2 machine with IIS7. The task is to apply a certificate and host name to the one and only Site on this machine. The site's host headers need to be abc.123.mysite.com The first ...
15
votes
4answers
24k views

Recycle remote IIS app pool from the command line?

Is it possible to recycle an IIS7 app pool from the command line, on a different machine? I've found APPCMD (appcmd recycle apppool my-app-pool), but it only operates on the host it's run on, AFAICT. ...
15
votes
1answer
3k views

IIS: Content-Length 0 for CSS, Javascript and Images

After a clean re-installation of my Windows 7 system, I can't get IIS 7 to properly deliver any static content. Dynmic content (ASPX pages and content served by ASP.NET MVC controllers) works fine, ...
15
votes
4answers
11k views

IIS Log Request Body / POST Data

Does anyone know how I could get IIS to log POST data or the entire HTTP request?
15
votes
10answers
18k views

How to get IIS7 to release a locked file?

During our production builds, a very large (10 megabyte) static content file in the root directory will sometimes be locked by IIS and cannot be deleted by the clean task. This is presumably because ...
15
votes
4answers
1k views

HTTP Compression on IIS 6.0 (Windows Server 2003)

There are many things you have to do/consider when you want to enable HTTP compression on IIS 6.0 (Windows Server 2003). Can somebody please provide a comprehensive list of the actions you have to ...
15
votes
6answers
13k views

How do I setup IIS to rotate logs?

I've used Apache for years and I've taken for granted that it handles log rotation for me. I've been digging through the IIS config and googling, but I can't find an option for IIS to turn on log ...
15
votes
2answers
6k views

What does the “.NET Framework Version” setting in IIS actually do?

This seems like an obvious question, but I'm trying to determine what the "Change .NET Framework Version" button on the top level IIS configuration panel actually changes. On all of my servers, it has ...
14
votes
5answers
4k views

How do you do production IIS website depoys?

So, not sure if this is a Stack Overflow or a Server Fault question. If I have a .NET website that I want to deploy to the production environment, what's the best way to do so. Should I package it ...
14
votes
4answers
10k views

How can I keep IIS log files cleaned up regularly?

I just discovered that IIS builds up logs indefinitely and there don't appear to be any IIS settings that will automatically clean out old log files. What is the best way to keep my IIS logs under ...
14
votes
2answers
25k views

Troubleshooting Windows Authentication problems (no challenge) in IIS 7.5?

I know that there are thousands of reports of people having trouble getting Integrated Windows Authentication to work with IIS, but they all seem to lead to web pages that don't apply or solutions ...
13
votes
2answers
16k views

What is the IIS7 default keepalive time?

What is the IIS7 default time for HTTP keepAlive?
13
votes
3answers
14k views

Where's the management interface for IISExpress?

Is there an interface separate from the regular IIS manager? When I search on IISExpress I find only a link to a folder full of logs related to IISExpress sites that had been spawned by Visual ...
13
votes
6answers
1k views

Who is responsible for maintaining IIS for web apps?

IIS/Web Applications has been a tricky issue in the shops I've worked in over time. On one hand, IIS is a service built into the server (by in large) and is typically the responsibility of the server ...
13
votes
3answers
15k views

IIS 7.0 - SSL certificate - renew or new?

One of my SSL certificates (simple domain verification only) is about to expire on windows 2003 IIS 7.0 server. I got better offer from another vendor, and the guys who originally issued my ...
12
votes
3answers
3k views

Why add additional application pools in IIS?

I have multiple web sites hosted with IIS 6.0 on Windows Server 2003. Some of them use the .Net 1.1 framework while the others use .Net 2.0. I currently have application pools set up for each ...
12
votes
2answers
2k views

Zero downtime uploads / Rollback in IIS

I'm not sure if this is the right way to ask this question, but here's basically what i'd like to do: 1.) Push a changeset to a site in IIS. 2.) Don't interrupt the users. 3.) Be able to roll back ...
12
votes
2answers
8k views

What role does “App Pool Identity” play for an Application Pool?

When talking about IIS 7.5 security, AFAIK: App Pool Identity decides whom my web application runs as. Authentication Method decides whom the clients are authenticated as. I have a virtual folder ...
12
votes
2answers
17k views

How can I control which IP address IIS7 uses?

In Win2k3 I used httpcfg to tell IIS to listen to specific IP addresses on the server. I want to run Apache with VisualSVN Server on port 80 on another IP address but IIS7 binds to all ip addresses by ...
12
votes
1answer
922 views

Why do we get a sudden spike in response times?

We have an API that is implemented using ServiceStack which is hosted in IIS. While performing load testing of the API we discovered that the response times are good but that they deteriorate rapidly ...
11
votes
8answers
7k views

Why do 'hackers' setup bots repeatedly fill out web forms?

There is something I don't get, one of my web apps has a small form that allows you to enter you name and email address to "subscribe" to a user list for a site I maintain. The site is very low ...
11
votes
3answers
1k views

How do I keep the ssl key for our website confidential?

I want to keep our SSL key for our website confidential. It's stored on 2 USB sticks, one in a safe deposit box and one I keep secure. And then I'm the only one who applies it to the web server so ...
11
votes
3answers
5k views

Do you use performance counters on production IIS web sites?

Do you keep the counter ON during heavy production loads Which performance counters do you find useful for ASP.Net/IIS 6.0 websites?
11
votes
2answers
417 views

Do unused application pools in IIS affect performance?

Due to a major update in our architecture, we now have a few unused application pools under IIS (there are no web sites mapped to them). I understand how it can a good idea to remove them just to ...
11
votes
2answers
10k views

Removing phantom applications from Application Pools in IIS7

I have an application in one of my application pools that has a virtual path of '/Site/login.aspx'. I want to remove it but it no longer exists on my computer and it's causing me issues setting up ...
11
votes
3answers
444 views

What are possible drawbacks of an IIS 7 site having an NTFS junction as a web root?

I am trying to come up with a way to deploy ASP.NET code with as little site disturbance as possible. One thought was to set up the site to be served from an NTFS junction c:\www\example.com where ...
10
votes
2answers
15k views

IIS 8 on Windows Server 2008 R2

Is it (or will it be) possible to install IIS 8 on Windows Server 2008 (R2) or it's only meant for Windows Server "8"/2012?
10
votes
1answer
6k views

How do I stop IIS from starting up when I turn Windows on? [closed]

I am running Windows 7 and I have installed IIS. I do not want IIS to start automatically when I turn on my computer. How do I change this? Is there a setting in IIS manager? I have looked around in ...
10
votes
2answers
1k views

Is it good practice to use NTFS Compression on IIS Log folders?

Is it a good practice to use NTFS Compression on a IIS Log folders and files? I was able to go down from 20GB to 7GB by doing this. The IIS logs are per day, and have an average size of 20MB but some ...
10
votes
10answers
2k views

How do you deploy your .NET Web Application? (Recommendations, please!)

We've recently upgraded our ASP.NET Website to a Web Application and we're shocked by the sudden leap in difficulty when deploying it. Considering how common a task this must be, I was wondering what ...
10
votes
3answers
14k views

What is the difference between iisreset, recycle, refresh and restart?

In IIS7 there are a buch of things you can do that seem like they restart the website. I am unclear about exactly how they are all related. run iisreset from the command line refresh a website ...
10
votes
2answers
3k views

Sharing Domain name between domain controller and webserver

In our network the name of the network domain is also the domain of the organisation's website (say, example.com). Externally people can enter example.com to visit our website but internally this ...
10
votes
1answer
4k views

Difference Between Private Memory Limit and Virtual Memory Limit in IIS

I want to set the max limit on the physical memory an application can use in IIS 7. Should I set a limit on Private Memory Limit or Virtual Memory Limit? Can some one point me to documentation of all ...
10
votes
6answers
2k views

How do you manage large web farms? [closed]

I have a quickly growing web farm running IIS 7 (30+ servers). All servers are identical copies of each other and all servers are physical. We update the software about once a month, and in the ...
9
votes
4answers
6k views

Properly handle IIS request with percent sign in url (/%)

I am looking for any kind of solution to properly get an IIS request such as http://stackoverflow.com/% and http://bing.com/% to not display a 400 Bad Request page, but display a custom error page ...