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
339
votes
27 answers

How can I get my webapp's base URL in ASP.NET MVC?

How can I quickly determine what the root URL is for my ASP.NET MVC application? I.e., if IIS is set to serve my application at http://example.com/foo/bar, then I'd like to be able to get that URL in a reliable way that doesn't involve getting the…
Benjamin Pollack
  • 27,594
  • 16
  • 81
  • 105
326
votes
28 answers

The Web Application Project [...] is configured to use IIS. The Web server [...] could not be found.

I have a web project in my solution file that is "unavailable" when I open the solution. When I right-click on the web project and reload the project, I get the following error: The Web Application Project mycompany.myapp.mywebproject is configured…
dotnet-practitioner
  • 13,968
  • 36
  • 127
  • 200
324
votes
15 answers

Using Custom Domains With IIS Express

Traditionally I use custom domains with my localhost development server. Something along the lines of: dev.example.com dev.api.example.com This has provided me a ton of flexibility when working with external APIs such as Facebook. This has worked…
Nick Berardi
  • 54,393
  • 15
  • 113
  • 135
320
votes
18 answers

Dots in URL causes 404 with ASP.NET mvc and IIS

I have a project that requires my URLs have dots in the path. For example I may have a URL such as www.example.com/people/michael.phelps URLs with the dot generate a 404. My routing is fine. If I pass in michaelphelps, without the dot, then…
Mark
  • 21,067
  • 14
  • 53
  • 71
319
votes
1 answer

What are all the user accounts for IIS/ASP.NET and how do they differ?

Under Windows Server 2008 with ASP.NET 4.0 installed there is a whole slew of related user accounts, and I can't understand which one is which, how to they differ, and which one is REALLY the one that my app runs under. Here's a list: IIS_IUSRS…
Vilx-
  • 104,512
  • 87
  • 279
  • 422
311
votes
20 answers

"The page you are requesting cannot be served because of the extension configuration." error message

I'm getting this error message when trying to run my application. I don't know how to fix it: HTTP Error 404.3 - Not Found The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a…
delete
300
votes
12 answers

Session lock causes ASP.Net websites to be slow

I just discovered that every request in an ASP.Net web application gets a Session lock at the beginning of a request, and then releases it at the end of the request! In case the implications of this are lost on you, as it was for me at first, this…
James
  • 7,877
  • 7
  • 42
  • 57
284
votes
15 answers

What is an IIS application pool?

What exactly is an application pool? What is its purpose?
Xaisoft
  • 45,655
  • 87
  • 279
  • 432
281
votes
22 answers

Handler "ExtensionlessUrlHandler-Integrated-4.0" has a bad module "ManagedPipelineHandler" in its module list

To be honest, I've tried to turn a dirty trick on IIS and just when I thought that I was going to get away with it, I realized my workaround doesn't work. Here's what I've tried to do: 1) I have ASP.NET application which has Preloader class that…
Ivan Peric
  • 4,263
  • 3
  • 23
  • 32
277
votes
21 answers

How to get the current user in ASP.NET MVC

In a forms model, I used to get the current logged-in user by: Page.CurrentUser How do I get the current user inside a controller class in ASP.NET MVC?
Serhat Ozgel
  • 23,496
  • 29
  • 102
  • 138
272
votes
5 answers

When should I use OWIN Katana?

I am new to OWIN and Katana. I really don't get why I should use OWIN, while I can use IIS. To simplify, my question is: What do I lose if I skip learning OWIN and use IIS for my websites? I googled but there is not a simple explanation. There is…
Seyed Morteza Mousavi
  • 6,855
  • 8
  • 43
  • 69
268
votes
21 answers

HTTP Error 500.19 and error code : 0x80070021

I have a simple webAPI build by Visual Studio 2013. It works well when I run it from VS13 but when I copy the project in local IIS it gives me the following error. HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed…
Umar Abbas
  • 4,041
  • 2
  • 23
  • 21
260
votes
12 answers

Specified argument was out of the range of valid values. Parameter name: site

I am getting this Kind of Error like:: Specified argument was out of the range of valid values.Parameter name: site while Debugging any of my Project. I have also tried after Reinstalling My Visual Studio 2012. But again the same kind of problem I…
Rahul_RJ
  • 2,795
  • 3
  • 14
  • 10
251
votes
10 answers

How to force HTTPS using a web.config file

I have searched around Google and StackOverflow trying to find a solution to this, but they all seem to relate to ASP.NET etc. I usually run Linux on my servers but for this one client I am using Windows with IIS 7.5 (and Plesk 10). This being the…
Ben Carey
  • 16,540
  • 19
  • 87
  • 169
244
votes
4 answers

What is Kestrel (vs IIS / Express)

What is the kestrel web server and how does it relate to IIS / IIS Express? I come from developing apps on IIS Express and hosting them on an IIS web server. With ASP.NET Core I have a dependency on Microsoft.AspNetCore.Server.Kestrel and my startup…
Sean
  • 14,359
  • 13
  • 74
  • 124