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

2292 questions
58
votes
27 answers

"Unable to launch the IIS Express Web server" error

I receive this error when trying to launch IIS Express from Visual Studio with a project that's configured to listen to an address other than localhost. Visual Studio freezes for about 30 seconds before giving the error "Unable to launch the IIS…
Trevor Elliott
  • 11,292
  • 11
  • 63
  • 102
54
votes
11 answers

Can't get IIS Express 8 beta to run website as 64-bit process

on x64 Windows 7 I am trying to get hello world MVC 3 website running as 64-bit process (so Environment.Is64BitProcess returns true on a page) using IIS Express 8 latest beta. IIS Express 7.5 is 32 bit but IIS Express 8 does support 64 bit…
bunt
  • 302
  • 2
  • 13
  • 25
53
votes
33 answers

Visual studio 2017 "Unable to connect to web server 'IIS Express'"

If I attempt to launch my .net core app I get this message. I realize there are many posts out there claiming to fix this but I have tried every method they suggest and none are working. If I go into the project properties under debug and change…
DevDevDev
  • 649
  • 1
  • 6
  • 18
53
votes
20 answers

How to solve “Microsoft Visual Studio (VS)” error “Unable to connect to the configured development Web server”

PROBLEM If you start using "Microsoft Internet Information Services Express (IIS)" from "Microsoft Visual Studio (VS)" you may get when you run Build this error message Unable to connect to the configured development Web server. Failed to register…
Bruno
  • 6,623
  • 5
  • 41
  • 47
52
votes
4 answers

IIS Express unable to create the virtual directory

I'm using IIS Express to create a virtual directory at http://localhost:5000/ and received this error: Unable to create the virtual directory. The URL http://localhost:5000/ is already mapped to a different folder... This is because I've used the…
Leon
  • 1,011
  • 1
  • 11
  • 28
51
votes
29 answers

IISExpress 8 Cannot read configuration file redirection.config

I'm running Windows Server 2008 R2 (x64) with IISExpress8 and when navigating to c:\Program Files (x86)\IIS Express>iisexpress.exe it says: Filename: redirection.config Error: Cannot read configuration file Any ideas where to start? I can't…
user1275154
  • 1,120
  • 1
  • 12
  • 24
50
votes
5 answers

Visual Studio 2013 gives "Cannot add duplicate collection entry of type ‘mimeMap’"

I have a site that was built using Visual Studio 2010. When I upgraded to Visual Studio 2013, on some pages I would get an error that said: Cannot add duplicate collection entry of type 'mimeMap' with unique key attribute 'fileExtension' set to…
Eric Barr
  • 3,999
  • 5
  • 29
  • 42
47
votes
14 answers

IIS express: Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to

In Visual studio, Solution->Web.Project->Properties->Web, I have changed my Project Url from http://localhost:51123/ to http://localhost:51123/NewProjectName and I keep getting this error: "Cannot add duplicate collection entry of type 'add'…
Prasath Siva
  • 502
  • 1
  • 4
  • 7
46
votes
3 answers

IIS Express is automatically disabling anonymous authentication for my project, why?

When I switch my ASP.NET MVC project from Cassini web server to IIS Express, this is added to my applicationhost.config file:
Borek Bernard
  • 50,745
  • 59
  • 165
  • 240
46
votes
9 answers

Visual Studio debugging painfully slow when loading symbols

I have an issue which is practically similar to Visual Studio debugging/loading very slow but I haven't managed to find a solution to such a problem. I have tried all what is described within that question and still, the symbol loading for the very…
Mark Cassar
  • 1,842
  • 4
  • 20
  • 27
44
votes
2 answers

Force IIS Express to Classic Pipeline Mode

How can I force IIS Express to run at classic mode? And I need that this configuration stays with .csproj, once that this file that say that a project should be open with IIS Express.
Felipe Pessoto
  • 6,855
  • 10
  • 42
  • 73
44
votes
4 answers

How do I get to IIS Manager?

In trying to reconnect and reconfigure an existing project on a new machine, I find here (The Web Application Project [...] is configured to use IIS. The Web server [...] could not be found. ), based on the err msg I got on opening the project, that…
B. Clay Shannon-B. Crow Raven
  • 8,547
  • 144
  • 472
  • 862
44
votes
3 answers

IISExpress crashes with 0xc0000008 error

Occasionally when running my MVC4 site in VS2012 using IISExpress I get the following error and IISExpress stops: iisexpress.exe: Managed (v4.0.30319)' has exited with code -1073741816 (0xc0000008) 'An invalid handle was specified There is nothing…
Jonesie
  • 6,997
  • 10
  • 48
  • 66
43
votes
4 answers

Visual Studio 2015 / IISExpress change SSL port

I have 2 projects, a Web API and a client angularJS project (that was created using the Empty Project template). My client has asked me to force SSL, so for the Web API I created a filterAttribute. Anyway, I changed both projects to be SSL Enabled.…
r3plica
  • 13,017
  • 23
  • 128
  • 290
43
votes
11 answers

IISExpress cannot find ssl page running localhost with Visual Studio 2013

When I access the site as http://localhost:26049, the site runs fine. If I try to access the site with https://localhost:44319, I get page not found. This is my project properties: This is from my IISExpress application config:
garethb
  • 3,951
  • 6
  • 32
  • 52