Questions tagged [iis]

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 [iis-7], [iis-7.5], etc.

IIS is Internet Information Services, the web server included with Microsoft's Windows and Windows Server operating systems.

This is a generic tag. Wherever possible please use a version-specific tag such as:

  • on Windows Server 2016 and Windows 10
  • on Windows Server 2012 R2 and Windows 8.1
  • on Windows Server 2012 and Windows 8
  • on Windows Server 2008 R2 and Windows 7
  • on Windows Server 2008 and Windows Vista
  • on Windows Server 2003 and Windows Server 2003 R2; Windows XP x64 Professional (END-OF-LIFE)
  • on Windows 2000 and Windows XP Professional (END-OF-LIFE)

It is also recommended that you tag your questions with the appropriate windows-version tags.


IIS 7 and newer versions are built on a modular architecture, plugging in to the kernel-mode HTTP.SYS listener. User-mode Modules can be added or removed individually so that only modules required for specific functionality have to be installed.

IIS includes these module groups:

  • HTTP (request-processing pipeline, errors, redirects)
  • security
  • content
  • compression
  • caching
  • logging and diagnostics

The IIS Manager (INETMGR) is the IIS administrative GUI.

The command-line utility "AppCmd" provides a scriptable interface to the IIS configuration data.

The PowerShell WebAdministration module is included with IIS 7.5+.

The newer PowerShell IISAdministration module is included in IIS 10+. It is the only IIS PS Admin module supported on Nano server at the time of release.

5327 questions
30
votes
1 answer

Make IIS see updated environment PATH variable

We've installed Oracle Express on a Windows 2003 Server and in the process it updated the PATH. We're trying to get IIS to see this change in the PATH but we can't figure it out. We've recycled the app pool and the IIS site with no success. Is there…
Mark
  • 2,041
  • 6
  • 19
  • 18
29
votes
1 answer

Don't see Failed Request Tracing in IIS Manager

In the "Actions" Pane of IIS Manager (InetMgr), under Configure there is supposed to be a link for Failed Request Tracing. I don't see that... I just have "Limits..."?
JoelFan
  • 2,285
  • 5
  • 26
  • 30
29
votes
1 answer

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 settings in IIS 7
kishore
  • 872
  • 3
  • 13
  • 28
29
votes
3 answers

What is the IIS7 default keepalive time?

What is the IIS7 default time for HTTP keepAlive?
SDReyes
  • 653
  • 2
  • 8
  • 15
29
votes
12 answers

IIS/SMTP - emails are stuck in mailroot/Queue

I'm trying to send e-mails via SMTP within the IIS pickup directory. Unfortunately the e-mails are just going into the mailroot/queue folder and stay there. They never actually get sent. Does anyone know why this would happen and a potential fix…
Jack Marchetti
  • 561
  • 1
  • 6
  • 15
28
votes
6 answers

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. I heard a rumor there might be a way to do it…
Ken
28
votes
4 answers

How do you start/stop IIS 7 app pool from cmd line if there are spaces in the app pool name?

http://technet.microsoft.com/en-us/library/cc732742(WS.10).aspx The above URL describes how to start/stop an IIS 7 app pool. However, I have spaces in my app pool name. Double-quotes doesn't work. Ideas? C:\Windows>C:\Windows\System32\inetsrv\appcmd…
stimpy77
  • 459
  • 1
  • 5
  • 12
27
votes
4 answers

Difference between "Start application pool immediately" and Start Mode AlwaysRunning

In IIS Manager, an application pool has checkbox for "Start application pool immediately" in the basic setting dialog, and an advanced setting called "Start Mode" which can be set to "OnDemand" or "AlwaysRunning". What is the difference between…
Ergwun
  • 371
  • 1
  • 3
  • 6
27
votes
9 answers

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 it is being actively served to one or more clients…
Jarrod Dixon
  • 685
  • 2
  • 13
  • 23
27
votes
1 answer

Is it possible to configure the location of "Temporary ASP.NET Files" folder in IIS?

Under IIS7.5 after switching pool identity to domain user I got this error: "The current identity (domain\username) does not have write access to 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files'." I could grant the user…
PanJanek
  • 373
  • 1
  • 3
  • 5
27
votes
1 answer

Import .pem into IIS 7

I was given two .pem files to import. I did not generate these files. Can I import them into IIS 7 or do they have to be converted into another format? I know that IIS likes .pfx - can .pem's be converted if necessary? Any help is greatly…
divided
  • 367
  • 1
  • 4
  • 11
25
votes
1 answer

IIS 7.5 - Disable Overlapped Recycle property not being obeyed when web.config is updated

I have a site which holds an exclusive lock on some resources. I used the .NET Application_Start and Application_End events to acquire and release the lock on these resources at the appropriate time. For this to work properly, there can only ever be…
John
  • 351
  • 3
  • 4
25
votes
1 answer

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, but static files such as CSS, Javascript and…
Adrian Grigore
  • 1,072
  • 3
  • 21
  • 34
24
votes
2 answers

How to See Detailed 500 Errors?

I have ii8 which I have tried to deploy my asp.net web api to. I guess I am doing something wrong as when I try to see if my api is working I am getting a 500 error. However it does not tell me what the error is. How can I get more detailed…
chobo2
  • 461
  • 1
  • 10
  • 18
24
votes
8 answers

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 rotation. What is the preferred way to configure IIS…
Elijah
  • 537
  • 2
  • 8
  • 17