Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IIS Express crashes when starting a site from visual studio

I started encountering this problem after installing the Visual Studio 2015 RC; I am no longer able to debug web projects from Visual Studio 2013.

My projects build fine and VS launches a browser - I can see in my output that iisexpress.exe loads all the relevant DLLs for the project, but then right when I would expect to see my website, iisexpress.exe stops running and Visual Studio stops debugging. All the output Window tells me is this:

The program '[3724] iisexpress.exe: Program Trace' has exited with code 0 (0x0). The program '[3724] iisexpress.exe' has exited with code -532462766 (0xe0434352). 

Looking in the event viewer I see the following crash info for iisexpress.exe:

Faulting application name: iisexpress.exe, version: 8.0.8418.0, time stamp: 0x4fbaa9e8 Faulting module name: KERNELBASE.dll, version: 6.1.7601.23040, time stamp: 0x553e86a2 Exception code: 0xe0434352 Fault offset: 0x0000c44d Faulting process id: 0x1b40 Faulting application start time: 0x01d094d5c74c69d5 Faulting application path: C:\Program Files (x86)\IIS Express\iisexpress.exe Faulting module path: C:\Windows\syswow64\KERNELBASE.dll 

I've tried reinstalling IIS, deleting my local IISExpress folder, and still no luck. Anybody have an idea how I can get IIS running again?

like image 549
Joshua Barron Avatar asked May 22 '15 21:05

Joshua Barron


People also ask

How do I use Visual Studio with IIS Express?

Configure IIS express on visual studio Select the web application project and open properties -> select the web tab -> under server's select IIS express-> Specify the project URL. Now open the project folder and . vs folder (Hidden) -> Config -> applicationhost.

Does IIS Express come with Visual Studio?

Yes, Visual Studio 2010 SP1 Beta allows you to build and test web applications using IIS Express instead of the built-in ASP.NET Development Web Server (also known as Cassini). IIS Express is not included with VS 10 SP1 and will need to be installed separately.

Why is vs 2015 unable to start iisexpress?

VS 2015 unable to start iisexpress.exe - a componenent dll failed to load 305 ASP.NET 5 MVC: unable to connect to web server 'IIS Express' 2 Change default port for iis-express Visual Studio 2015 for WEB SITE project

Why can't I launch the IIS Express web server?

Unable to launch the IIS Express Web server. There is no indication why. Deleting applicationHost.configdoes not help, restarting / reinstalling etc. does not help either. Admin mode doesn't matter and a new project an the target machine works as expected.

Why can't I debug a project in IIS Express?

1 Add a comment | 0 In my case it was because the port for the project I was trying to debug was being by another program. Simple fix is to use another port for IIS express, or find what program is using the other port and close it. Share Improve this answer Follow answered Feb 10 '20 at 4:17 EtienneEtienne

Why cannot write configuration file in IIS Express?

Cannot write configuration file due to insufficient permissions IIS Express IISExpress Network Share Unable to start IISExpress Visual Studio 2012 0 Likes Like You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.


1 Answers

In your project folder find the hidden .vs folder and delete it. This solved the problem for me.

like image 158
kernowcode Avatar answered Oct 08 '22 07:10

kernowcode