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
8
votes
4 answers

How do you configure IIS 7 to use a subdirectory as the default document?

So I have a website running on a discount asp.net account, and I put an asp.net mvc app in a subdirectory. If my url is 'www.website.com' and my app is in directory 'sample', then 'www.website.com/sample' will execute the mvc app. My problem is that…
Mark Rogers
  • 279
  • 1
  • 4
  • 14
8
votes
1 answer

How to prevent browser from prompting for a client certificate and allow the IIS to accept it (not require it)?

In a web application, I have a WCF service uses Client Certificate authentication. I checked "Accept Client Certificate" in IIS - SSL Settings and it works fine. But some times, in some browsers, if a certificate is installed on the client machine,…
Homam
  • 253
  • 1
  • 3
  • 7
8
votes
1 answer

App Pool doesn't respect memory limits

I am dealing with a legacy .NET app that has a memory leak. In order to try and mitigate a run away memory situation, I've set the app pool memory limits from anywhere between 500KB to 500000KB (500MB) however the app pool doesn't seem to respect…
lucuma
  • 145
  • 1
  • 7
8
votes
2 answers

IIS no longer trusts any CAs for client authentication

Yesterday the IIS on our build server (running Windows Server 2012) started refusing our clients' certificates. The certificates are signed using our own self-signed CA cert that has been added to Trusted Root Certification Authorities (local…
Yrlec
  • 230
  • 4
  • 12
8
votes
2 answers

F5 Load Balancer Resends Request On Timeout

Let me preface this by saying I am not a systems administrator, I'm a programmer. Recently, our systems administrators installed F5 load balancers. Since then, I've noticed that any time a request times out and ends up throwing a 500, the load…
Jim D
  • 133
  • 1
  • 5
8
votes
1 answer

Logging SSL ciphersuite used in Windows Server 2008 R2

Is there a way to see /log which cipher suites are (actively) being used to establish SSL connections on Windows Server 2008 R2? Ideally on a per request basis, like an extra column in the IIS logs.
Frederik
  • 183
  • 1
  • 6
8
votes
1 answer

How exactly does the HOST/machine SPN work?

Normally when you set up Kerberos for IIS, you would do something like setspn -A HTTP/machine some_account. When IIS 7 is installed, it registers the SPN "HOST/machine" for its kernel-mode authentication. Why does this work? Is "HOST" some kind…
bmm6o
  • 255
  • 2
  • 3
  • 6
8
votes
6 answers

What is the maximum memory that an IIS6 web site/app pool can use?

I have an IIS 6 server running on Windows 2003 SP2 x86. The server has 4GB of RAM and runs consistently with 2GB allocated. I realise that with x86, the server won't utilize all of the 4GB RAM and the application space is also limited but the IIS…
Robin M
  • 453
  • 2
  • 8
  • 14
8
votes
1 answer

Install IIS 6 Management Compatibility on IIS 8 / Windows 2012

I cant access IIS server from console application because i need to install 6 Management Compatibility. I fixed this error on Windows 7, since its easy to find how to install 6 Management Compatibility. Where and how i can do that on Windows 2012 /…
8
votes
2 answers

In IIS, is it better to host multiple applications as independent web sites or as virtual directories in the default site?

Background I have recently developed a MVC application for a client and they would like to host it, along with a few other apps on the same server. I am more of a developer than a server admin, but my instinct was to set up a new site in IIS with…
Matt Cashatt
  • 235
  • 3
  • 7
8
votes
3 answers

IIS 7.5 ignoring HttpCompression settings in web.config

I'm trying to enable dynamic compression for the mime type application/json. In applicationHost.config, I've made the following change:
I also tried…
Ben
  • 243
  • 3
  • 10
8
votes
4 answers

Can I use Active Directory as a CA for creating test SSL certificates for IIS?

We have an internal test version of our website, which is available (via internal DNS zones) as www.mysite.com.test I'd like to create an SSL certificate for www.mysite.com.test, so that our testers don't get an invalid certificate warning (the…
Dylan Beattie
  • 576
  • 3
  • 9
  • 24
8
votes
2 answers

IIS get full error message for failed requests

I have IIS set-up and serving my webservice. Unfortunately if the webservice throws an exception, all I get is a blue box with the title failed request. What options do I have to actually see what went wrong? I'd prefer to get the exception message…
BetaRide
  • 445
  • 2
  • 10
  • 20
8
votes
2 answers

IIS 7.5, need help to understand how app pool recycling works

I am using windows server 2008 R2 to only host one application (asp.net mvc3). The first time the initial page load was really slow. In my app pool recycling setting, only "regular time intervals"(in minutes) is checked and the value is set to…
qinking126
  • 351
  • 1
  • 4
  • 12
8
votes
7 answers

What are the main benefits of Windows 64-bit over 32-bit for ASP.Net apps?

Besides the advantages of 64-bit memory allocation (> 4 GB - see this question on StackOverflow for why 32-bit +4 GB solutions won't work for me), what other reasons do I have for recommending that we should host an ASP.NET website on 64-bit Windows…
Duncan
  • 325
  • 2
  • 6
  • 11