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

36023 questions
312
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
  • 19,576
  • 12
  • 48
  • 65
311
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
  • 25,420
  • 16
  • 76
  • 102
298
votes
27 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,158
  • 35
  • 123
  • 195
295
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-
  • 97,629
  • 82
  • 259
  • 398
288
votes
19 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
283
votes
10 answers

I just discovered why all ASP.Net websites are slow, and I am trying to work out what to do about it

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,637
  • 6
  • 38
  • 57
273
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
  • 22,430
  • 29
  • 98
  • 137
271
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,257
  • 8
  • 38
  • 63
269
votes
15 answers

What is an IIS application pool?

What exactly is an application pool? What is its purpose?
Xaisoft
  • 42,877
  • 83
  • 270
  • 415
262
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
  • 3,915
  • 3
  • 19
  • 31
254
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,725
  • 3
  • 12
  • 10
235
votes
9 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
  • 14,734
  • 16
  • 77
  • 155
234
votes
16 answers

Best way to run scheduled tasks

Today we have built a console application for running the scheduled tasks for our ASP.NET website. But I think this approach is a bit error prone and difficult to maintain. How do you execute your scheduled task (in an windows/IIS/ASP.NET…
Niels Bosma
  • 11,312
  • 27
  • 86
  • 143
234
votes
19 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
  • 3,565
  • 2
  • 20
  • 20
230
votes
10 answers

Enable IIS7 gzip

How can I enable IIS7 to gzip static files like js and css and how can I test if IIS7 is really gziping them before sending to the client?
Paulo
  • 6,603
  • 10
  • 34
  • 34