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
10
votes
3 answers

IIS: How to tell if a slow time-taken is due to a slow network connection

According to http://support.microsoft.com/kb/944884, "when a large response or large responses are sent to a client over a slow network connection, the value of the time-taken field may be more than expected". I have a situation where a client will…
Jon
  • 481
  • 3
  • 7
  • 14
10
votes
2 answers

Unable to get anything except 403 from a .Net 4.5 website

Scenario: Clean Server 2008 R2 Install with IIS Role. Installed Framework 3.5 (Server Features) Installed Framework 4.5 RC (MS Download) executed C:\Windows\Microsoft.NET\Framework64\v4.0.30319>aspnet_regiis.exe -i (I'd use -iru on existing servers…
Basic
  • 426
  • 2
  • 9
  • 23
10
votes
6 answers

IIS Can't Serve Certain File Extension

I'm serving .JSON files, but even though the file exist, IIS keeps throwing 404 error when any of the file is accessed. I tried renaming one of the file to .JS, and it works. Any pointer what setting can cause this issue?
Adrian Godong
  • 577
  • 4
  • 9
  • 20
10
votes
5 answers

IIS gives wrong certificate for an HTTPS request

I am stuck in a situation which I cannot figure out. Here is my issue. I got an SSL certificate from a trusted authority and installed it in my server. Then, I configured my website to use that certificate in port 443 with an IP address which is…
tugberk
  • 937
  • 4
  • 13
  • 30
10
votes
4 answers

IIS not displaying detailed PHP errors - shows server fault 500 instead

I'm used to serving sites from Apache, but I am now forced to use an IIS server. A number of my PHP pages are returning error 500 and I can't debug because IIS is suppressing the error messages. I've tried ini_set('display_errors',1); in code but…
Andy
  • 317
  • 2
  • 5
  • 16
10
votes
4 answers

Firewall blocking FTP server on Windows 2008 R2

I can access the FTP site without problems from the local machine, but it times out from the remote machine. If I turn the firewall off COMPLETELY, it works. Obviously, this isn't really a satisfactory solution. I've attempted to follow these steps,…
Andrew Shepherd
  • 573
  • 2
  • 6
  • 16
10
votes
1 answer

Is it safe to set validateIntegratedModeConfiguration=false in order to continue using identity impersonate=true?

We have upgraded an ASP.NET web application from IIS6 to IIS7 integrated mode. Our application uses: and therefore we have had to set: Is this sensible? My…
Greg
  • 101
  • 1
  • 3
10
votes
2 answers

How can I set IIS Application Pool recycle times without resorting to the ugly syntax of Add-WebConfiguration?

I have been scripting the configuration of our IIS 7.5 instance and through bits and pieces of other peoples scripts I have come up with a syntax that I like: $WebAppPoolUserName = "domain\user" $WebAppPoolPassword = "password" $WebAppPoolNames =…
Chris Magnuson
  • 3,771
  • 10
  • 42
  • 46
10
votes
2 answers

Stop IIS 7.5 From Sending Out Cache-Control Max-Age on Error Codes

I have some static content with cache control Max-Age headers attached to it so clients will cache the static content. However, IIS 7.5 still sends this header out when there are error responses advising the client to cache this. The has the…
Kyle Brandt
  • 83,619
  • 74
  • 305
  • 448
10
votes
2 answers

Why does Windows 2008 use swap before the memory is full?

I administer a Windows 2008 server (well, on Amazon EC2) running IIS and a .NET4 Web app. I got a memory alert the other day and went and looked, and sure enough the process memory had grown over time via some kind of slow leak. It didn't grow by…
Ernest Mueller
  • 1,199
  • 2
  • 12
  • 25
10
votes
3 answers

Is there a way to make my local AppCmd.exe to refer to a remote server?

I need to remotely administrate IIS via command-line. Is there a way to make my local AppCmd.exe refer to a remote server? So that every command I pass to AppCmd.exe would be executed in another machine?
andrerpena
  • 345
  • 2
  • 3
  • 11
10
votes
3 answers

IIS 7.5 doesn't load static html pages

There is an IIS 7.5 freshly installed on a dedicated server. ASP.NET 4.0 Web app copied to its folder, new website is created on its own IP on post 80, IIS_IUSR and IUSR accounts have read/execute rights on site's folder, the site is assigned to its…
Kizz
  • 203
  • 1
  • 2
  • 4
10
votes
3 answers

Disable IIS service on Windows Server 2008

I have a conflict between Apache and IIS on Windows Server 2008. They both want control over port 80; we don't use IIS for anything so I wanted to disable the service. However I can't find it anywhere! Is this something that can be disabled? I'd…
Duncan
  • 325
  • 2
  • 6
  • 11
10
votes
7 answers

Can't open IIS manager

Folks, Very strange issue here - I simply cannot open the IIS 7 manager by choosing it directly. My OS is Windows 7, and as such, I can see it's opened on the Start Menu aswell as a preview of the window itself when I hover over it. I cannot…
Dave
  • 281
  • 1
  • 3
  • 11
10
votes
5 answers

How to enable directory browsiing in IIS7?

How I enable directory browsing in IIS7? MS technet says this can be done in the IIS console: Open IIS Manager and navigate to the level you want to manage. In Features View, double-click Directory Browsing. In the Actions pane, click Enable if…
frankadelic
  • 337
  • 1
  • 4
  • 16