Questions tagged [iis-express]

IIS Express is the developer version of full IIS that doesn't require Administrator rights to run. See also the [iis] tag.

IIS Express is the developer version of full IIS, that doesn't require Administrator rights to run. It is designed as a replacement for the ASP.NET Development Server (aka Cassini) which ships with some releases of Visual Studio. IIS Express has several releases so far, and can be downloaded as separate installer or part of Visual Studio.

Official documentation is on IIS.net here and here.

See also

2146 questions
136
votes
2 answers

.vs\config\applicationhost.config in source control

Visual Studio 2015 adds a file named .vs\config\applicationhost.config to the root of a solution when an ASP.NET Web application project is created. Should this file be checked in to source control or should it be ignored (so that each user will…
David Gardiner
  • 16,233
  • 16
  • 71
  • 115
129
votes
47 answers

HTTP Error 500.30 - ANCM In-Process Start Failure

I was experimenting with a new feature that comes with .net core sdk 2.2 that is supposedly meant to improve performance by around 400%. Impressive so I tried it out on my ABP (ASP.NET Boilerplate) project Template asp.net core mvc 4.0.2.0 I added…
Jazb
  • 4,332
  • 6
  • 29
  • 34
128
votes
9 answers

Creating virtual directories in IIS express

Is there any way to create a virtual directory in IIS express? I know that Cassini can't do this and it would be nice to be able to do this without using a full version of IIS. I've got it so far that I can browse to my application locally in IIS…
John Hoge
  • 2,269
  • 2
  • 20
  • 24
122
votes
13 answers

How can I change IIS Express port for a site

I want to change the port number on which my website runs while debugging from Visual Studio. I am using Visual Studio 2012, and I am using ASP.NET MVC 4 for my projects I want to change the port. Random port or fixed anyone will work just want to…
Mohit
  • 1,989
  • 4
  • 20
  • 37
121
votes
5 answers

Binding IIS Express to an IP Address

Is it possible to use IIS Express to host pages on a network. Out of the box it can do localhost but I am trying to bind it to an IP address.
jdiaz
  • 6,884
  • 12
  • 39
  • 50
116
votes
3 answers

IISExpress Log File Location

IISExpress writes log and configuration data to pre-determined location out of the box. The directory is an "IISExpress" directory stored in a user's Documents directory. In the directory is stored the following folders files…
Adrian Russell
  • 3,685
  • 5
  • 22
  • 25
108
votes
22 answers

How to solve ERR_CONNECTION_REFUSED when trying to connect to localhost running IISExpress - Error 502 (Cannot debug from Visual Studio)?

This is running on Windows Server 2008 and used to work several months ago. I am just now using this server again for some dev work with VS. This is live web server used to serve up a few test sites as well. This came up when running Visual Studio,…
ElHaix
  • 12,261
  • 24
  • 106
  • 193
107
votes
15 answers

IIS Express gives Access Denied error when debugging ASP.NET MVC

I have created an ASP.NET MVC 3 project, and am using IIS Express as the web server when developing. When I try to debug, I get the error message below. How can this be solved? Server Error in '/' Application. Access is denied. Description: An…
Kris-I
  • 17,560
  • 49
  • 138
  • 221
106
votes
9 answers

Configure IIS Express for external access to VS2010 project

I am developing a project in VS2010 and am able to view my site locally via IIS Express. I would like to enable external access over the network. All my research has sent me to this blog entry:…
snumpy
  • 2,718
  • 5
  • 22
  • 38
103
votes
9 answers

Authentication issue when debugging in VS2013 - iis express

I'm trying to pick up the windows username when debugging in Visual Studio 2013. I am simply using: httpcontext.current.user.identity.name If I run this on my Dev Server it works fine, if I run it in debug mode on any previous version of Visual…
94
votes
17 answers

Creating a virtual directory failed with the error

I can't solve this problem I suggest I have to change c:\Windows\System32\drivers\etc\hosts file and add after # localhost name resolution is handled within DNS itself. the next line: 127.0.0.1 mysite.dev but it doesn't help. Any…
Dmytro
  • 14,708
  • 24
  • 70
  • 120
92
votes
30 answers

Why and how to fix? IIS Express "The specified port is in use"

We know a random port number is assigned to a web application in Visual Studio. It works fine in my office desktop. But when I pull the code onto my laptop (from VisualStudio.com) and run the web app. I got a message, saying, The specified port is…
Blaise
  • 18,108
  • 20
  • 89
  • 154
88
votes
34 answers

localhost refused to connect Error in visual studio

I have copied my solution file from another system and tried to run it on my machine: For this, I have gone to the project folder and deleted the previous solution file and copied the new one. Now, it started giving me error. connection refused etc.…
duke
  • 1,476
  • 1
  • 13
  • 24
86
votes
5 answers

Create SDDL failed, Error: 1332

I'm trying to use IIS Express with Visual Studio 2010 SP1. I'm following this tutorial. When I run this command. netsh http add urlacl url=https://Melnibone:443/ user=everyone I get this message: Create SDDL failed, Error: 1332 What's happening?
VansFannel
  • 41,682
  • 96
  • 329
  • 561
86
votes
10 answers

Connecting to Visual Studio debugging IIS Express server over the lan

I have a test ASP.NET MVC3 application developed in VS2012. When I start debugging the app is accessed from the host machine via the request to http://localhost:. But if I try to access the same application from the remote machine in the…