Why is visual studio IIS express trying to run asp.net full framework app with ASPNetCore Module?

-1

I have a solution created in Visual Studio 2017, with full framework ASP.NET MVC targeting v4.6.1, and angular 1.x. But for some reason, when I F5 Run the solution, it attempts to run using IIS Express AspNetCore Module, which is causing it to lead to

HTTP Error 502.5 - Process Failure

Looking in event logs shows this as well

Application 'MACHINE/WEBROOT/APPHOST/WEBAPPLICATION1' with physical root 'C:\Git\Angular1Demos\AngularDemo\' failed to start process with commandline '%LAUNCHER_PATH% %LAUNCHER_ARGS%', ErrorCode = '0x80070002 : 0.

Why is the module getting in the way here?

c#
asp.net
visual-studio
asked on Stack Overflow Jul 9, 2018 by jbooker

2 Answers

0

So strange. I was able to workaround the issue by creating a new solution file in Visual Studio 2015, referencing the same project as the solution that was created in VS 2017. This time it works. Sounds like an issue with VS 2017.

answered on Stack Overflow Jul 9, 2018 by jbooker
0

Try to change the IISExpress to IIS by creating new IIS profile and change the Lunch to IIS. It resolved my problem. enter image description here

answered on Stack Overflow Aug 26, 2018 by joepadz

User contributions licensed under CC BY-SA 3.0