I'm using VS2017 and when I tried to run my app just standard noting extra with IIS express it fails.
Error:
An error occurred launching IIS Express. Unable to launch the configured visual studio development web server. Uncaught exception thrown by method called reflection.
I've set the port to 8080 instead of 56000.
Any ideas how what is wrong? Yes I installed IIS Express but it's not running in the background. I've tried to start VS in Administrtor mode but no luck. I've also deleted the .vs folder and restarted but again no luck.
According to this blog, the following steps should fix the issue:
close all Visual Studio instances
go to your ASP.NET project/solution folder, delete “.vs” hidden folder
click “Start”, search IISExpress, go to IISExpress folder, go upper level and delete whole IISExpress folder
start Visual Studio with Administrator privilege
create a fresh new ASP.NET project
run this project, this time you should see IIS Express is launched by Visual Studio correctly
close this solution but not close Visual Studio, open the ASP.NET project which you have problem with, and run it now, you should see IIS Express is launched correctly