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

IIS 8.5 Serving Old Files

I have a clickonce application on Windows Server 2012 IIS 8.5. I recently updated it to a new version and it works fine, except for one url used by a second web page to link to it. It links directly to the .application file and when I use that link…
Chris
  • 320
  • 3
  • 14
10
votes
1 answer

How to Host node application in IIS?

I am developing an application in mean-stack. The only the difference is that I want to host my application in IIS rather than express.js. Is it possible or feasible to do so? What are possible advantages and disadvantages? Thanks in advance.
Prashant Mohite
  • 758
  • 2
  • 7
  • 19
10
votes
2 answers

Saving PNG images to a memory stream causes errors

I have a WebAPI endpoint (hosted in IIS) that reads images from a database (byte array) and returns them in the PNG format. This code is simple: Image img = ImageHelper.ReadFromDatabase(…); using (MemoryStream ms = new MemoryStream()) { …
Sylvain
  • 19,099
  • 23
  • 96
  • 145
10
votes
2 answers

HTTP Slow Post and IIS settings to prevent

So we got this report from a Security Company saying our MVC website running on IIS 8.0 was vulnerable to slow HTTP post DoS attack. The report stated we should Limit request attributes is through the element, specifically the…
M Raymaker
  • 1,231
  • 5
  • 14
  • 31
10
votes
7 answers

Compilation Error: [No relevant source lines]

I'm getting this error when trying to view a page in my localhost. Web site worked before. The code files are not pre-compiled. I've cleaned asp.net temporary folders and gave full control permission to IIS_IUSRS account for wwwroot and Temporary…
HasanG
  • 12,734
  • 29
  • 100
  • 154
10
votes
1 answer

IIS URL Rewrite - with multiple domains

I have a website/application where the same pages run many websites (depending on the URL the pages display different logo/css/content etc). I am trying to force each website domain to redirect to the www. verison of the domain. I have used the…
Jammer
  • 2,330
  • 11
  • 48
  • 77
10
votes
3 answers

IIS Express (WebMatrix) open for outside connections

I've already enabled firewall rules for IIS Express (HTTP Traffic In) and IIS Express (HTTPS Traffic In) on ports 80 and 2012 (this one is used in WebMatrix), but I can't connect to the server from my LAN. WebMatrix is running on a virtual Windows 7…
zigomir
  • 985
  • 2
  • 15
  • 30
10
votes
6 answers

Is it possible to debug a ASP.NET Web Application that's not started from within Visual Studio?

The default ASP.NET web server that launches from within Visual Studio (Casini) is a little buggy on my development machine, so I like to publish to a local IIS instance on my dev machine and look at the web application there. However, I'm not…
Ben McCormack
  • 32,086
  • 48
  • 148
  • 223
10
votes
4 answers

Restrict file access -- only read through PHP

I am using a GoDaddy web hosting plan on a Windows platform. This was not my choice -- it has to do with a different part of the actual site using ASP.NET (also not my choice). I have a SQL database with a bunch of entries with some non-sensitive…
altexpape
  • 133
  • 1
  • 8
10
votes
2 answers

IIS Equivalent of "proxy_set_header X-Forwarded-Proto https;"

What is the IIS equivalent of this configuration in NGINX? proxy_set_header X-Forwarded-Proto https; I am running JetBrains YouTrack on Windows server, using IIS as a terminating SSL proxy, and get this error when trying to log in: HTTP ERROR…
invertigo
  • 6,336
  • 5
  • 39
  • 64
10
votes
3 answers

How can we troubleshoot intermittent "An existing connection was forcibly closed" errors caused by a Cisco CSS

We have the "standard" three tier architecture with our middle tier hosted in IIS and accessed via .net remoting. These errors occur between our web and web services servers (front tier) that are remoting to the app servers (middle tier). We'll…
JohnOpincar
  • 5,620
  • 3
  • 35
  • 38
10
votes
10 answers

res.sendFile is not a function Node.js

I am not able to send a HTML file using node.js So first off this is the error I am getting Application has thrown an uncaught exception and is terminated: TypeError: res.sendFile is not a function at Server. (C:\Program…
jLynx
  • 1,111
  • 3
  • 20
  • 36
10
votes
2 answers

automated deployment from bitbucket to iis on windows server

I want to use bitbucket as middle-ware between local server and the live server I'm deploying into. I'm using windows server 2012 and iis 8. I'm working on an ASP.NET MVC 5 project. Basically, i want to recreate the same workflow azure has for…
badr slaoui
  • 1,023
  • 11
  • 27
10
votes
2 answers

Visual Studio 2015 debugger - high performance impact on SqlCommand

After upgrading from VS2013 to VS2015, I was shocked by how slow my web application runs with the debugger attached. So I decided to do a comparison between VS2013 and VS2015 using MiniProfiler to analyze a particularly slow page: Interestingly,…
jonh
  • 233
  • 1
  • 10
10
votes
4 answers

Why does removeServerHeader work in an Azure Web App?

As mentioned in other SO questions Windows Azure Web Apps are running on IIS/8.0, but I have some doubt if that is actually true. First of all, when I check the HTTP response from a web app running on the Azure Web Apps free tier I can see the…
dustinmoris
  • 3,195
  • 3
  • 25
  • 33