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

ServerManager constructor crashes in test environment

I am building a control application in MVC 4 and have encountered a really annoying problem. When I debug the project locally it works fine. However, when I deploy the project to the test server (Windows Server 2008 R2) the following line…
adamfinstorp
  • 1,627
  • 3
  • 17
  • 26
10
votes
1 answer

Asp.Net (MVC): Which session timeout is what?

I've made one Asp.net MVC website, and I'm very confused between the different timeout settings. What is the difference between: SessionState Timeout in web.config: Application pool timeout Asp.Net Session timeout property Which one should…
J4N
  • 19,480
  • 39
  • 187
  • 340
10
votes
5 answers

IIS: How to disable Data Execution Prevention in Windows Server 2008?

I've been trying to disable DEP on my windows 2008 dev box and have not succeeded. I've tried: System Properties->Performance Options->Data Execution Prevention->Turn on DEP for essential Windows programs and services only (still happens) System…
Doug
  • 14,387
  • 17
  • 74
  • 104
10
votes
3 answers

How do you force the IIS Application Pool to restart whenever the App Domain is reloaded?

We have an ASP.NET MVC 4 application that links to legacy native code. The problem is that this legacy code has global statics that are constructed at startup, but because native code knows nothing about App Domains, that code is not re-initialized…
Rob Prouse
  • 22,161
  • 4
  • 69
  • 89
10
votes
3 answers

Inno Setup IIS Installation and Configuration

I have been trying to figure out how to install and register IIS using an Inno Setup Script, but I have so far been unsuccessful. I need to create an application, application pool with .Net version 4 and a virtual directory, get the machine's IP and…
Feytality
  • 245
  • 2
  • 4
  • 14
10
votes
2 answers

self signed cert. The underlying connection was closed: Could not establish trust relationship

Trying to set up a self signed certificate, for our intranet's web services site. The certificate itself shows it is "ok" but when trying to invoke a method from the web service it throws an error, and also while adding the web reference it gives a…
adam
  • 2,930
  • 7
  • 54
  • 89
10
votes
2 answers

IIS App Pools & Static Classes

I've always wondered, lets say you have two asp.net websites running in the same app pool. Lets call them Website 1 and Website 2 Both of these websites reference some shared code, lets call it Awesome.dll Lets say that Awesome.dll contains a class…
iamkrillin
  • 6,798
  • 1
  • 24
  • 51
10
votes
2 answers

Setting Up Kudu On IIS

A couple of days ago, Microsoft released the engine they're using to do git deployments to Azure. I've had a task on my TODO list for a while to get that kind of functionality set up on my DEV IIS server, so I'm interested in trying out Kudu for…
J Wynia
  • 10,464
  • 4
  • 40
  • 38
10
votes
5 answers

Force PNG to download instead of opening in browser with IIS

I need to be able to have a subdirectory of images all PNG's to be downloaded instead of opened in the browser window. I am using IIS for the web server. Is there a way to force a PNG to be downloadable?
RedWolves
  • 10,379
  • 12
  • 49
  • 68
9
votes
2 answers

How can I setup reverse proxy on IIS, allowing cross-host communciation between host1.mydomain.com and host2.mydomain.com?

I have a page at host1.mydomain.com/page_from_host1.jsp and an HTML page at host2.mydomain.com/page_from_host2.html. host1 is an IIS7/Tomcat box and host2 is an IIS7 box. I want to allow the first page to submit a form, which displays the second…
user717236
  • 4,959
  • 19
  • 66
  • 102
9
votes
5 answers

Why is My ASP Web Application Attempting to Write to C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files?

I am encountering issues while deploying an ASP web application to HostMySite. The application has previously been deployed to their servers that are on different platforms without issues. However, for the current domain and server I continue to…
Grasshopper
  • 4,717
  • 9
  • 36
  • 62
9
votes
6 answers

IIS 7.5 and Razor Site: 500 errors for CSS and JS

For some reason, when I deploy my Razor MVC web site to my Windows 2008 R2 server, I'm getting 500 internal server errors for all CSS and JS. I'm not sure why, because I've done the following: Enabled static content in IIS Enabled anonymous…
Brian Mains
  • 50,520
  • 35
  • 148
  • 257
9
votes
2 answers

How to convert an application from an IIS7.0 website back to a virtual directory

I can currently convert a virtual directory to an application via the iis7.0 managers interface am I able to convert it back or is the only way to remove and remap
krystan honour
  • 6,523
  • 3
  • 36
  • 63
9
votes
1 answer

"There was no endpoint listening at..."

I'm trying to run a simple WCF Service... My Wcf Service .config:
Vinicius Ottoni
  • 4,631
  • 9
  • 42
  • 64
9
votes
3 answers

Is there a real time IIS traffic viewer (or way to programmatically get it via C#)

I would like to get a feel for the web traffic that I'm having on an IIS box, and was wondering if there is already a good 'real time' IIS tool out there. Ideally this would something I could apply custom scripting logic to. Also, is there a way to…
Dinis Cruz
  • 4,161
  • 2
  • 31
  • 49
1 2 3
99
100