Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to launch IIS Express in Visual Studio 2017 RC

Had a web application working in Visual Studio 2015 Update 3 perfectly. I ported the project to Visual Studio 2017 RC and compiled successfully. When debugging the application IIS Express terminates after dumping the message below in the output pane of VS 2017 RC:

The program '[7896] iisexpress.exe: Program Trace' has exited with code 0 (0x0).
The program '[8488] dotnet.exe' has exited with code 0 (0x0).
The program '[8488] dotnet.exe: Program Trace' has exited with code 0 (0x0).
The program '[7896] iisexpress.exe' has exited with code 0 (0x0).

What's the solution to make the project running and debuggable?

like image 903
Arash Avatar asked Dec 16 '16 00:12

Arash


People also ask

How do I enable IIS Express in Visual Studio 2017?

Select the ASP.NET project in Visual Studio Solution Explorer and click the Properties icon, or press Alt+Enter, or right-click and choose Properties. Select the Web tab. In the Properties pane, under Servers, For IIS Express, select IIS Express from the dropdown.


1 Answers

In my case with Visual Studio 2017 Community Edition I tried following:

  • Delete IISExpress config folder in Documents
  • Delete hidden .vs in project root
  • Restart Visual Studio 2017 and computer

nothing worked until I re-run Visualt Studio Installer and choose option "Repair". Then somehow everything started working.

like image 111
Han Do Avatar answered Oct 13 '22 01:10

Han Do