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
Filter by
Sorted by
Tagged with
571 votes
54 answers
383k views

Visual Studio debugging/loading very slow

I'm at wit's end. Visual Studio is typically painfully slow to debug or just plain load ("start without debugging") my ASP.NET MVC sites. Not always: at first, the projects will load nice ...
Ber'Zophus's user avatar
  • 7,607
548 votes
27 answers
419k views

How to enable external request in IIS Express?

How can I enable remote requests in IIS Express? Scott Guthrie wrote that is possible but he didn't say how.
TedTel's user avatar
  • 5,495
385 votes
8 answers
289k views

Where is the IIS Express configuration / metabase file found?

Where can the IIS Express configuration / metabase file be found?
Myster's user avatar
  • 17.9k
357 votes
54 answers
594k views

Unable to launch the IIS Express Web server

I have an ASP.NET MVC 4 solution. When I try to open it using Visual Studio 2012, I get following error: Microsoft Visual Studio Configuring Web https://localhost: for ASP.NET 4.5 failed. You must ...
DotnetSparrow's user avatar
353 votes
53 answers
372k views

"Process with an Id of #### is not running" in Visual Studio

I am trying to run any program on visual studio 2013 update 3 and I get the following alert box: Process with an Id of #### is not running. Every time there is different ID number showing. and in ...
Beslinda N.'s user avatar
  • 5,068
326 votes
16 answers
191k views

Using Custom Domains With IIS Express

Traditionally I use custom domains with my localhost development server. Something along the lines of: dev.example.com dev.api.example.com This has provided me a ton of flexibility when working with ...
Nick Berardi's user avatar
  • 54.6k
321 votes
18 answers
112k views

Dots in URL causes 404 with ASP.NET mvc and IIS

I have a project that requires my URLs have dots in the path. For example I may have a URL such as www.example.com/people/michael.phelps URLs with the dot generate a 404. My routing is fine. If I ...
Mark's user avatar
  • 21.3k
296 votes
12 answers
173k views

Exposing localhost to the internet via tunneling (using ngrok): HTTP error 400: bad request; invalid hostname

From previous versions of the question, there is this: Browse website with ip address rather than localhost, which outlines pretty much what I've done so far...I've got the local IP working. Then I ...
Chris's user avatar
  • 30k
253 votes
10 answers
158k views

IIS Express Windows Authentication

I'm trying to use IIS Express with VS2010 to host a silverlight application. I modified my applicationhost.config file to allow for modification of the proper configuration settings. I have the ...
Mark's user avatar
  • 2,977
230 votes
43 answers
229k views

Unable to launch the IIS Express Web server, Failed to register URL, Access is denied

Some web projects are causing me problems while others work fine. I decided to focus on one of the problematic ones. I'm using Visual Studio 2013 on Windows 7. I think I'm running it as administrator, ...
Linus's user avatar
  • 3,374
197 votes
30 answers
123k views

"Unable to launch the IIS Express Web server." in Visual Studio

I attempted to run my web service through visual studio. I faced an issue like : --------------------------- Microsoft Visual Studio --------------------------- Unable to launch the IIS Express Web ...
Priya's user avatar
  • 1,979
195 votes
10 answers
73k views

IISExpress returns a 503 error from remote machines

I'm attempting to test a website I have running in a local IISExpress instance with some other machines / devices on my local network. I am running Win7 Pro. When I first attempt to browse to my ...
Jeff Fritz's user avatar
  • 9,851
183 votes
8 answers
150k views

Add MIME mapping in web.config for IIS Express

I need to add a new MIME mapping for .woff file extensions to IIS Express. If I add the following snippet to the "applicationhost.config" of IIS Express it works fine: <staticContent ...
Martin Buberl's user avatar
178 votes
54 answers
444k views

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) ...
jazb's user avatar
  • 5,679
177 votes
5 answers
76k views

IIS Express Immediately shutting-down running site after stopping web application

I'm using visual studio 2012 in the first days when I want to stop application in IDE, application was still running on IIS Express, I could browse and work with running application, but now I can't. ...
Saber Amani's user avatar
  • 6,469
172 votes
9 answers
139k views

How do I restore a missing IIS Express SSL Certificate?

After setting up HTTPS in IIS Express, according to such articles as this and this, I am unable to actually load an IIS Express site using HTTPS. In Chrome, I am only getting: This webpage is not ...
Chris Simmons's user avatar
147 votes
33 answers
205k views

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. ...
Blaise's user avatar
  • 21.8k
142 votes
2 answers
52k views

.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 ...
David Gardiner's user avatar
139 votes
14 answers
257k views

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. ...
Mohit's user avatar
  • 2,189
135 votes
9 answers
122k views

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 ...
John Hoge's user avatar
  • 2,371
135 votes
8 answers
141k views

Ngrok configure multiple port in same domain

Is it possible to open multiples ports in ngrok in same domain? Something like: Fowarding http://example.ngrok.com:50001 -> 127.0.0.1:50001 Fowarding http://example.ngrok.com:50002 -> 127.0.0.1:...
fravelgue's user avatar
  • 2,783
129 votes
5 answers
169k views

Binding IIS Express to an IP Address [duplicate]

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's user avatar
  • 7,412
125 votes
3 answers
114k views

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 ...
Adrian Russell's user avatar
121 votes
41 answers
318k views

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, ...
duke's user avatar
  • 1,846
115 votes
23 answers
516k views

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 ...
ElHaix's user avatar
  • 12.9k
110 votes
16 answers
147k views

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 '/' ...
TheBoubou's user avatar
  • 19.7k
110 votes
8 answers
99k views

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: http:...
snumpy's user avatar
  • 2,858
106 votes
9 answers
103k views

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 ...
Neil Watson's user avatar
  • 2,822
103 votes
21 answers
94k views

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 ...
Dmytro's user avatar
  • 17k
89 votes
10 answers
105k views

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:<portnumber>. But if I try to ...
gator88's user avatar
  • 1,213
88 votes
5 answers
51k views

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: ...
VansFannel's user avatar
  • 45.4k
85 votes
12 answers
66k views

VS 2012 can't load project which uses IIS with custom binding host - thinks it's using IIS Express

I have an ASP.NET project which uses IIS. IIS site is configured to use custom binding host name. Project file contains following settings: ... <UseIISExpress>false</UseIISExpress> ... &...
Igor Antonov's user avatar
  • 1,041
82 votes
5 answers
76k views

IIS Express -- Getting SSL to Work

I am unable to get IIS Express to accept secure connections for a VS2010 MVC3 project that I'm developing. I can get it to accept unsecure connections on port 80, but not secure on port 443. I've ...
user avatar
79 votes
3 answers
74k views

IIS Express vs Default IIS that comes with Windows 7

I am new to the world of IIS and I wanted to know the following... I have heard about IIS Express. I run Windows 7 Ultimate and have installed the IIS that comes packaged with Windows 7. As a ...
Mark Pearl's user avatar
  • 7,603
77 votes
4 answers
86k views

IISExpress User Interface [closed]

I have just downloaded and installed IIS express and it all works well running it from the command line: But how do i configure options for it, is there a standalone windows interface for it like IIS ...
user575575's user avatar
77 votes
5 answers
123k views

How to start IIS Express Manually

Is there a command line program or service that I can use to start IIS Express manually?
B Z's user avatar
  • 9,403
76 votes
15 answers
81k views

IIS Express - 500.19 Cannot read configuration file - because it's looking at the wrong path

I recently renamed my root TFS folder from D:\TFS\systemstfs to D:\TFS\sys because one of the project's paths was too long for Windows. Now, when I attempt to run a different project (D:\TFS\sys\...
Vitani's user avatar
  • 1,594
74 votes
2 answers
102k views

What is the file location of applicationhost.config in the different versions of IIS?

What is the exact file path of the applicationhost.config file in the different versions of IIS, for example: IIS 7, 7.5, 8, 8.5 and 10?
Kathir Subramaniam's user avatar
72 votes
6 answers
71k views

Using IIS Express to host a website (temporarily)

I have a website (MVC3), which for developement is hosted in IIS Express. (I've run into a bug of Cassini Devserver and had to upgrade...) Now, I'm wondering, is it possible to let other machines on ...
TDaver's user avatar
  • 7,204
66 votes
5 answers
63k views

How can I force IIS Express to run in 32 bit mode?

I have a classic ASP app that I'm trying to run under IIS Express on 64 bit Windows. It uses Jet to connect to a Microsoft Access database and will not work under 64 bit. I have created the following ...
John Mills's user avatar
  • 10.1k
66 votes
15 answers
47k views

Visual Studio 2017 gives 'Adding the Certificate to The Trusted Root Certificates store failed with the following Errror'

I am trying to run ASP MVC application with SSL mode set to true and whenever i run the application, i get prompt to trust the IIS Express SSL certificate. Upon clicking Yes, it gives the error ...
sanjeev's user avatar
  • 825
65 votes
21 answers
89k views

Unable To Launch Web Server

I have asp.net web application project in visual studio 2012. When I want to start it, I have the following error: Unable to launch the IIS Express Web server: Port"4012" is in use This problem ...
TheChampp's user avatar
  • 1,337
63 votes
5 answers
32k views

Visual Studio website is redirecting http to https when debugging

I am having an issue with IIS express or Visual Studio 2013. The site has NO https or ssl enabled or setup in the properties. When I click debug, the site launches in the broswer and tries to load: ...
Zapnologica's user avatar
  • 22.4k
63 votes
7 answers
151k views

How do I start/stop IIS Express Server?

I have installed MS Visual Web Developer 2010 which includes IIS Express. Before this, I had installed XAMPP server for my php applications. I would like to know how can I stop IIS in order to be ...
Michael's user avatar
  • 4,846
62 votes
10 answers
31k views

Starting and stopping IIS Express programmatically

I am trying to build a small application in C# which should start/stop an IIS Express worker process. For this purpose I want to use the official "IIS Express API" which is documented on MSDN: http://...
Mike's user avatar
  • 1,992
58 votes
27 answers
170k views

"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 ...
Trevor Elliott's user avatar
56 votes
7 answers
91k views

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 ...
James123's user avatar
  • 11.4k
55 votes
11 answers
18k views

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 ...
bunt's user avatar
  • 312
53 votes
33 answers
70k views

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 ...
DevDevDev's user avatar
  • 649
53 votes
20 answers
137k views

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 ...
Bruno's user avatar
  • 6,951

1
2 3 4 5
47