2,321 questions
576
votes
55
answers
395k
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 ...
392
votes
8
answers
303k
views
Where is the IIS Express configuration / metabase file found?
Where can the IIS Express configuration / metabase file be found?
366
votes
54
answers
632k
views
Unable to launch the IIS Express Web server (various cases in answers)
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
...
322
votes
18
answers
114k
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 ...
254
votes
43
answers
266k
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, ...
212
votes
31
answers
141k
views
"Unable to launch the IIS Express Web server." in Visual Studio (various cases in answers)
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 ...
184
votes
8
answers
154k
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 ...
177
votes
5
answers
77k
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. ...
159
votes
34
answers
235k
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. ...
142
votes
15
answers
272k
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. ...
135
votes
9
answers
128k
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 ...
129
votes
3
answers
121k
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 ...
116
votes
23
answers
525k
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 ...
110
votes
8
answers
100k
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:...
106
votes
21
answers
100k
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 ...
91
votes
5
answers
55k
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:
...
85
votes
12
answers
67k
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>
...
&...
79
votes
3
answers
75k
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 ...
77
votes
4
answers
87k
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 ...
72
votes
6
answers
72k
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 ...
68
votes
16
answers
53k
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 ...
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 ...
62
votes
9
answers
113k
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
...
58
votes
27
answers
175k
views
"Unable to launch the IIS Express Web server" error (various cases in answers)
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 ...
55
votes
10
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 ...