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
42
votes
7 answers

Chrome returns "Bad Request - Request Too Long" when navigating to local IIS Express

I have a web application that runs perfectly fine when I use the Visual Studio 2010 development server (Cassini). However when I try to use IIS Express to host the site Chrome just displays a "Bad Request - Request Too Long" error. The IIS Express…
Brent Keller
  • 1,385
  • 1
  • 12
  • 17
41
votes
4 answers

How to use ServerManager to read IIS sites, not IIS express, from class library OR how do elevated processes handle class libraries?

I have some utility methods that use Microsoft.Web.Administration.ServerManager that I've been having some issues with. Use the following dead simple code for illustration purposes. using(var mgr = new ServerManager()) { foreach(var site in…
Josh
  • 2,740
  • 3
  • 27
  • 41
41
votes
7 answers

ERR_SSL_PROTOCOL_ERROR for localhost from Visual Studio debug

I am running a simple ASP.net web application. Chrome is showing the below error after running this. localhost sent an invalid response. Try running Windows Network Diagnostics. ERR_SSL_PROTOCOL_ERROR but my application is on http, not https. but…
James123
  • 11,184
  • 66
  • 189
  • 343
41
votes
5 answers

how to run iisexpress app pool under a different identity

is there a way to run iisexpress app pool under a different identity other than the currently logged in user? I am getting around this problem using the "runas" command currently but I would like to know if there is something built-in to iisexpress…
theKing
  • 1,616
  • 4
  • 18
  • 23
41
votes
8 answers

Slow startup with IIS Express

I have a problem with my MVC application and startup. Every time I make a change and one the app its take a long time to start up. I have about 100 lines with ''iisexpress.exe' (CLR v4.0.30319:' Do I have to start iisexpress every time I run my…
Jakobbbb
  • 515
  • 1
  • 4
  • 10
41
votes
14 answers

Running IIS Express with admin privileges

This has been asked before but was closed as "Not a real question" https://stackoverflow.com/questions/7450813/how-to-run-a-site-with-administrative-privileges-in-iis-express-7-5 However I think it is a genuine question as I also need to do this,…
Morvael
  • 3,478
  • 3
  • 36
  • 53
40
votes
17 answers

ASP.NET MVC5/IIS Express unable to debug - Code Not Running

I start a VS2013 VB.Net MVC5 Web Application, set a breakpoint in HomeController About method and run "Start Debugging", navigate to About page and receive the message "Code not running - The current Thread is not currently running or the call stack…
39
votes
4 answers

Using Fiddler with IIS7 Express

I am using IIS7 Express while developing my web application. I need to use fiddler to investigate an issue and cannot figure out how to configure things so I can get the HTTP stream. It seems that IIS7 express will only listen on localhost which…
Brettski
  • 19,351
  • 15
  • 74
  • 97
39
votes
3 answers

Adding entry Causes 500 for Other Static Content on IIS Express

I'm using Visual Studio 2012 with Update 2 and IIS Express. When I add a record to the staticContent section, all other static content (.js, .css, .jpg, etc) returns a 500 error. Any advice would be greatly appreciated. Thanks in advance.
38
votes
2 answers

IIS Express - increase memory limit

I have a VS project in .NET MVC5 which loads an external dll file that uses a lot of memory. In average it uses from 500-1000MB memory. Now when I try to debug my project with default IIS Express server I almost always get OutOfMemory exception. I…
Gapipro
  • 1,913
  • 2
  • 22
  • 34
37
votes
3 answers

Global variables within IIS Express

I've just installed IIS Express, can anyone tell me where it gets the settings for the following variables? %IIS_BIN% %IIS_USER_HOME% %IIS_SITES_HOME% %SYSTEMDRIVE% Thanks
StuffandBlah
  • 1,047
  • 4
  • 13
  • 22
37
votes
2 answers

How to detect IIS Express version?

I have found that our ASP.NET application runs differently on different machines in IIS Express. All have VS 2012, .Net 4.5 and Integrated mode. But some has VS 2012 Update 1, some not. How do I find IIS Express version?
IT Hit WebDAV
  • 5,652
  • 12
  • 61
  • 98
36
votes
5 answers

IIS Express defaulting to port 44300 for HTTPS when enabling SSL

When you initially set up IIS Express to enable SSL, it defaults the port to 44300. Unfortunately, when I try to access my site in on https://localhost/ it doesn't work unless I use the port number 44300 - https://localhost:44300/. The links are…
Dan Atkinson
  • 11,391
  • 14
  • 81
  • 114
36
votes
12 answers

IIS Express 8 - Cannot write configuration file

I am trying to use IIS Express 8 for a MVC site in VS2012. I am getting the following error whenever I attempt to create the site: Filename: \?\C:\Users\xxxxxx\Documents\IISExpress\config\applicationHost.config Error: Cannot write configuration…
Brad Leach
  • 16,857
  • 17
  • 72
  • 88
35
votes
5 answers

How To Disable Https in Visual Studio 2017 Web Proj ASP.NET Core 2.0

I've created a default project in Visual Studio 2017 with ASP.NET Core 2.0. I've chosen the Web App with MVC and with Individual Use Auth. By default, it is coming up configured and working with https. I've tried disabling that by going into…