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
178
votes
21 answers

How to solve error message: "Failed to map the path '/'."

I've searched and searched on Google, and I can't find anything that even seems applicable to my situation, let alone solves the problem. It doesn't matter which address in my website I try to navigate to (even addresses that don't exist give this…
Trevor
  • 13,085
  • 13
  • 76
  • 99
176
votes
6 answers

IIS_IUSRS and IUSR permissions in IIS8

I've just moved away from IIS6 on Win2003 to IIS8 on Win2012 for hosting ASP.NET applications. Within one particular folder in my application I need to Create & Delete files. After copying the files to the new server, I kept seeing the following…
EvilDr
  • 8,943
  • 14
  • 73
  • 133
168
votes
21 answers

ASP.NET: HTTP Error 500.19 – Internal Server Error 0x8007000d

I am replicating web application deployment and found several issues related to HTTP Error 500.19. My machine is running Windows 7 while the working development is using Windows 8. We're developing our Web Application using Visual Studio…
David
  • 3,957
  • 2
  • 28
  • 52
165
votes
11 answers

Turn off Visual Studio Attach security warning when debugging IIS

When using Visual Studio 2008 or 2010, every time you attach to IIS w3wp.exe you get the Attach Security Warning: How do you turn this of? It would be cool to know also, how to keep it attached for longer, as this seems to time out after a…
roundcrisis
  • 17,276
  • 14
  • 60
  • 92
164
votes
5 answers

How to find corresponding log files folder for a web site?

There are multiple web sites and multiple folders under inetpub\logs\LogFiles (W3SVC1, W3SVC2, etc). How can I find what folder is used by a given web site?
user626528
  • 13,999
  • 30
  • 78
  • 146
162
votes
22 answers

ASP.NET Web API - PUT & DELETE Verbs Not Allowed - IIS 8

I recently upgraded from Visual Studio 2010 to the Visual Studio 2012 RC. The installer also installs IIS 8 Express which Visual Studio now uses as the default web server. IIS 8 is blocking my WEB API requests that use PUT AND DELETE verbs. IIS…
Mark
  • 21,067
  • 14
  • 53
  • 71
158
votes
6 answers

DefaultInlineConstraintResolver Error in WebAPI 2

I'm using Web API 2 and I'm getting the following error when I send a POST to my API method using IIS 7.5 on my local box. The inline constraint resolver of type 'DefaultInlineConstraintResolver' was unable to resolve the following inline…
Halcyon
  • 14,631
  • 17
  • 68
  • 99
158
votes
15 answers

(413) Request Entity Too Large | uploadReadAheadSize

I've written a WCF service with .NET 4.0, which is hosted on my Windows 7 x64 Ultimate system with IIS 7.5. One of the service methods has an 'object' as argument and I'm trying to send a byte[] which contains a picture. As long as the file size of…
kipusoep
  • 2,174
  • 6
  • 24
  • 34
157
votes
24 answers

Web Application Problems (web.config errors) HTTP 500.19 with IIS7.5 and ASP.NET v2

This is driving the whole team crazy. There must be some simple mis-configured part of IIS or our Web Server, but every time we try to run out ASP.NET Web Application on IIS 7.5 we get the following error... Here's the error in full: HTTP Error…
Chuck Le Butt
  • 47,570
  • 62
  • 203
  • 289
155
votes
27 answers

"405 method not allowed" in IIS7.5 for "PUT" method

I use WebClient type to upload *.cab files to my server. On the server side, I registered a HTTP handler for *.cab file with the PUT method as below:
smwikipedia
  • 61,609
  • 92
  • 309
  • 482
154
votes
7 answers

How to create a self-signed certificate for a domain name for development on Windows 10 and below?

I have subdomain.example.com that I use for development purposes. My web application solution contains a web API etc, that I need to call from external systems, hence I am not using localhost. I now need to test for SSL and need a certificate for my…
Moiz Tankiwala
  • 6,070
  • 7
  • 38
  • 51
153
votes
1 answer

Private vs Public in Cache-Control

Can you please describe an example indicating difference between Public and Private Cache-Control in asp.net applications hosted in IIS. I read in MSDN that the difference is the following: Public: Sets Cache-Control: public to specify that the…
ppolyzos
  • 6,791
  • 6
  • 31
  • 40
152
votes
15 answers

How to check if mod_rewrite is enabled in php?

I was wondering if it is possible to check if mod_rewrite is enabled on Apache AND IIS in PHP. ModRewrite for IIS exists. Check it here. So, I'm looking for a PHP script that checks for mod_rewrite on Apache and IIS. Does anyone know such script or…
Ties
  • 1,776
  • 2
  • 12
  • 17
150
votes
19 answers

How to solve "Could not establish trust relationship for the SSL/TLS secure channel with authority"

I have a WCF service hosted in IIS 7 using HTTPS. When I browse to this site in Internet Explorer, it works like a charm, this is because I have added the certificate to the local root certificate authority store. I'm developing on 1 machine, so…
JL.
  • 78,954
  • 126
  • 311
  • 459
150
votes
9 answers

How do I configure IIS for URL Rewriting an AngularJS application in HTML5 mode?

I have the AngularJS seed project and I've added $locationProvider.html5Mode(true).hashPrefix('!'); to the app.js file. I want to configure IIS 7 to route all requests to http://localhost/app/index.html so that this works for me. How do I do…
Dean
  • 4,554
  • 7
  • 34
  • 45