Questions tagged [iis]

Internet Information Services (IIS) is a web server created by Microsoft for use with Microsoft Windows. Please mention which version of IIS you're running either in your question or by adding a version specific tag.

Wiki

IIS stands for Internet Information Services (IIS, formerly Internet Information Server) which is an extensible web server created by Microsoft for use with Microsoft Windows.

Several versions of IIS have shipped over the years, the most recent being:

  • IIS 10.0 - shipped with Windows 10 Fall Creators Update and Windows Server 2016
  • IIS 8.5 - shipped with Windows 8.1/Windows Server 2012 R2
  • IIS 8.0 - shipped with Windows 8/Windows Server 2012
  • IIS 7.5 - shipped with Windows 7/Windows Server 2008 R2
  • IIS 7.0 - shipped with Windows Vista/Windows Server 2008
  • IIS 6.0 - shipped with Windows 2003
  • IIS 5.1 - shipped with Windows XP Professional
  • IIS 5.0 - shipped with Windows 2000
  • IIS 4.0 - shipped with Windows NT Server/Workstation 4.0

Tag usage

The tag can be used for programming related problems when configuring IIS server for web development purposes. The tag can also be used for programming problems in implementing IIS services using IIS server.

Please note that https://serverfault.com/ is another StackExchange website, which can be used for more specific server installation and configuration related problems.

Important: Please ensure that you mention which version of IIS you're working with when asking a question. For example, there is a world of difference between IIS6 and IIS7+ and these products are very different, operationally and architecturally.

External Links

Related Tags

38900 questions
10
votes
1 answer

IIS Server 7.0 returning a 401 Unauthorized access on Firefox (MacOs) only

I am running a PHP site which requires windows authentication on IIS Server. The authentication is fed via Active Directory. For some reason the site is not prompting users to login only on Firefox and only on MacOS and I am getting this page…
Yannick Y
  • 2,778
  • 1
  • 16
  • 22
10
votes
5 answers

How do I prevent IIS from compiling website?

I have an ASP .NET web application which on the backend is talking to an ASMX web service. We have counted and the average wait time for the initial request is 20s. I am wondering if there is a way I can send the web service up to the server…
xximjasonxx
  • 1,192
  • 2
  • 11
  • 27
10
votes
1 answer

CSS, Javascript and Images have zero length

I'm trying to port an ASP.NET MVC 1.0 / Visual Studio 2008 project to ASP.NET MVC RC 2 / Visual Studio 2010. The project is (and has always been) running on IIS 7. Dynamic content (everything that's being delivered by controllers) works fine, but…
Adrian Grigore
  • 33,034
  • 36
  • 130
  • 210
10
votes
1 answer

Installing Web Deploy on IIS 7+ with Shared Configuration enabled

We have a web farm environment running IIS 7.5 on Windows 2008R2. We use shared configuration and web storage replication. We tried to install Web Deploy (v3.5) on one of the servers but receive an error message saying that Web Deploy is not…
Kelsey
  • 47,246
  • 16
  • 124
  • 162
10
votes
4 answers

Getting "This type of page is not served", How to run classic asp in VisualStudio on local machine?

I have an ASP.NET project in Visual Studio and have added a classic asp forum application. When I run this on my localhost machine (XP Pro with IIS), I get "This type of page is not served because it has been explicitly forbiidden". This project…
James
  • 305
  • 4
  • 10
  • 23
10
votes
9 answers

DELETE/PUT verbs result in 404 Not Found in WebAPI, only when running locally

I know this is a commonly addressed issue, and I've done everything that many posts here on SO suggest. When I try to delete a record using WebAPI (version 2) from my MVC5 front end running under local IIS, I get a 404 Not Found response. Here are…
Mike Marks
  • 10,017
  • 17
  • 69
  • 128
10
votes
2 answers

iis only Add Expires headers to images

Add expires headers in iis is very Easy,but this cache all the static files. now i want only add expires headers to images,how can i do that? even i want cached specific file?
Dudu
  • 1,184
  • 1
  • 10
  • 26
10
votes
1 answer

IIS Windows Authentication before Anonymous

I have a website that I would like to allow both Forms and Windows Auth for. My problem is that it seems that when you setup IIS to allow both anonymous (Required for forms auth) and Windows auth that the browser won't send the user's network…
Phill
  • 101
  • 1
  • 3
10
votes
5 answers

PowerShell: retrieve number of applications in AppPool

How to retrieve the number of applications associated with a specific IIS AppPool via PowerShell command? We can see the associated applications manually using: Get-Item IIS:\AppPools\AppPoolName However, if we manually want to select the…
D.R.
  • 20,268
  • 21
  • 102
  • 205
10
votes
5 answers

IIS 7.0 Error - 500.19 Internal Server Error

I am currently on a shared hosting plan with iis 7.0 I have an asp.net mvc application in the wwwroot of my hosting. Now I made a virtual directory to store my webservice in(I don't want to have to host this on a sub domain and pay extra) However…
chobo2
  • 83,322
  • 195
  • 530
  • 832
10
votes
1 answer

How do you turn on gzip compression for SVG files in IIS?

I have created a web.config file that successfully turns on static compression for text and message resources. However, the obvious solution shown below does not seem to have any affect on .svg compression (validated that gzip content encoding not…
user3072310
  • 101
  • 1
  • 5
10
votes
4 answers

How to get "Browse" URL for web site in IIS using C#?

Say, I have the "Site Name" web site in the IIS. I can access most of its functions via the ServerManager class from my C# code. What I can't seem to figure out is how to get the "Browse" URL for it, like I showed on the screenshot below? If I go…
c00000fd
  • 20,994
  • 29
  • 177
  • 400
10
votes
1 answer

ISAPI vs httphandler

In IIS6 was there a reason for using ISAPI filters/ extensions?. Can the same not be achieved using httphandler/ http modules. Also in IIS7 has ISAPI been removed completely ?. Is the entire code of IIS7 written in .Net. I want to know should one…
Prashant
  • 2,190
  • 4
  • 33
  • 64
10
votes
5 answers

Windows 8 - IE cannot reach sites listed in hosts file

I have many local websites set up in IIS and have entries in my hosts file to make the websites available locally. I've come from a Windows 7 machine where everything was working correctly in all browsers. The move to Windows 8, using the same hosts…
10
votes
6 answers

Using IIS virtual directories in Visual Studio Web Application projects

I have an ASP.NET project that has the following directories \ads \photos both these folders have thousands of files in them that get updated frequently. I currently have my IIS set up…
kenwarner
  • 28,650
  • 28
  • 130
  • 173