Why has Visual Studio 2015 and IIS Express has stopped responding to any HTTP requests? - webforms

I've been developing a Web Forms ASP.net web application in Visual Studio 2013 without any incident for some time now, but recently I attempted to upgrade to Visual Studio 2015 and now every time I launch the project I get stuck waiting for a request. This isn't a server response (like 500 or 404) it just never responds. To try and isolate this I've uninstalled every copy of Visual Studio (I had 2012, 2013 and 2015 installed), deleted the %userprofile%\DocumentsIISExpress folder, reinstalled just VS 2015, and created a completely empty web project (with just the default Web Forms boilerplate). Here is a screen shot of what I am experiencing:

I have had the same problem after installing Visual Studio 2015 Update 1. As it turns out, VS 2015 removes IIS Express 8.0, which was included with Visual Studio 2013, and installs IIS Express 10.0. For some reason, this version of IIS Express does not work for some developers.
visual studio iis express not working
iisexpress hangs when starting MVC project
Visual Studio 2015 Update 1 - No IIS Express Response While Debuging
As a workaround, I ended up uninstalling IIS Express 10.0 from the Programs and Features control panel, and re-installed IIS Express 8.0. It is available as a separate download from Microsoft.
This appears to have resolved the issues I was experiencing, however I do not know if there are features in iis express 10.0 which vs2015 relies on for debugging and app execution. In the extremely limited testing that I've done with VS 2015 and IIS Express 8.0 everything appears to be working fine YMMV.
UPDATE:
While refreshing my OS I noticed that IIS Express 10 was working properly. But when I installed IIS from the Windows Programs and Features dialog, express stopped working and behaved as described above. Others have noticed this coincidence as well.
Uninstalling IIS and reinstalling IIS Express 10, in my case, allowed me to debug my web application with IIS Express 10. As always YMMV.

Related

ASP.NET 4,0 has not been registered on the Web Server

I'm having problem with Visual Studio 2012.
When I started a new website project, it says ASP.NET has not been registered on the Web server. I tried to use Turn Windows features on or off and open the Visual Studio 2012, then opening the project, but it didn't work. I tried to use IIS manager, and opening the project again, but it still not workimg. I used Visual Studio command prompt and installing ASP.NET 4.0. After the installation, I opened the project again, but it did nothing worked. What cause this issue and how can I fixed?

asp.net core WebApi issues after Visual Studio 2017 RC update

I've updated my Visual Studio 2017 to latest version (RC.4+26206.0) this morning since then my asp.net core api stopped working.
In chrome I see error: net::ERR_CONNECTION_RESET or if I run it on Kestrel instead of IIS Express I see net::ERR_INCOMPLETE_CHUNKED_ENCODING.
I didn't change anything else.
Did anyone encounter this issue?

Attach to process in Visual Studio Express 2013 for Web

I just upgraded from VS 2010 professional to VS 2013 Express for Web and I can't find the Attach to process option that would allow me to debug a web application hosted on an IIS web server.
The option is available in VS 2013 for windows but there's no such thing for the web edition.
Was this feature removed since VS 2010 or is it limited to some VS 2013 editions (other than Express)?
Attach To Process was not supported on Express versions in 2010. The 2013 page doesn't list which SKUs apply, but it's possible that it still isn't available for Express editions.

Block development server window

Is there any way to avoid the window of development server? (Not stopping or avoiding to run the development server, just the window).
In Visual Studio 2010 (and before) it only appears when the development server was started. Now, in Visual Studio 2012 it is opened each time the project start, no matter if the development server has already started and you have closed it.
I've found that I can run projects using IIS Express. Also it will make our lives easier when we want to be able to access to the project running from other PC.
With Visual Studio 2012 it comes already installed (in fact is the default setting for projects started in it). With Visual Studio 2010 it can be installed (see post).

Developing in Visual Studio 2010 with the new IIS Express web server?

Although this question isn't directly about code it's related to programming and seems better put here than, say, serverfault or superuser.
--
I'm a developer with Visual Studio 2010. Microsoft's newest web server offering for developers is IIS Express. ScottGu indicated this combination is workable:
IIS Express will work with VS 2010 and
Visual Web Developer 2010 Express,
will run on Windows XP and higher
systems,
The only option I've seen so far, is to download WebMatrix which contains and uses IIS Express, but I cannot get it hooked into VS 2010, or to download IIS Express separately.
Any ideas?
Current of July 11, 2011
Visual Studio 2010 Service Pack 1 includes the option to use IIS Express from inside VS2010.
Blog post.
Or use the Web Platform Installer.
I don't think IIS Express is available for Visual Studio 2010 yet.
Edit: Found it in Scott's post. http://weblogs.asp.net/scottgu/archive/2010/06/28/introducing-iis-express.aspx
We’ll be releasing the first public beta of IIS Express shortly. With the beta you’ll be able to right-click on a file-system folder and have IIS Express launch a web-site based on that file-system location. We’ll also be releasing a patch for VS 2010 and Visual Web Developer 2010 Express later this year that will enable you to automatically launch and use IIS Express in place of VS’s built-in ASP.NET Developer Server.
http://www.intrepidstudios.com/blog/2010/7/11/debug-your-net-web-project-with-iis-express-t.aspx has instructions on using IIS Express with VS2010 if you don't feel like waiting for VS2010 SP1 to be released.
The link to the Visual Studio 2010 Service Pack 1 (not beta any longer) is http://www.microsoft.com/downloads/en/confirmation.aspx?FamilyID=75568aa6-8107-475d-948a-ef22627e57a5.
Jesper Palm is not correct, I am able to run IIS Express Using Visual Studio after a lot of investigation. What Jaseper is mentioning(ScootGu's blog), I already have read that. Scott is only telling that the patch will be released to run 'IIS Express' within VS2010 IDE but with 'MS Web Matrix Beta 2' It is possible to run IIS EXpress with VS 2010. If u face problem contact me in by e-mail:ankitvbdotnet#yahoo.com
The current IIS Express Overview says that VS2008 and VS2010 integration is going to come in a later release (presumably before the RTM release).
A future update to Visual Studio 2010 will add support for IIS Express. You can also manually configure Visual Studio 2008 and Visual Studio 2010 to use IIS Express.
For anyone that can't/doesn't want to install the SP1 beta then this blog post will show you how you can incorporate it into your debugging in a relatively easy way.

Resources