Host framework application in core web site


I have two applications, one built using core and one using framework. I am hosting both within IIS. One runs under an app pool setup as managed and one as unmanaged, as shown here:

enter image description here

As core application need to be setup as a web site (rather than an application within a web site) each application is setup as a web site, meaning both have their own port.

This is fine, except only one can be setup with port 443.

I want both to be accessible under 443, so I want to setup the .net framework application as an app under the .net core website (you'd normally setup .net framework apps under default website for example).

This is my setup (both running under port 888 for the sake of this example):

enter image description here

The .net core application runs fine, as expected:

enter image description here

But the .net framework app isn't running as expected and I get the following message:

enter image description here

HTTP Error 502.5 - Process Failure - The application process failed to start.

Has anyone achieved this or know what I'm doing wrong?
Thanks for tips in advance!

NOTE: Event log says:
Failed to start process with commandline '"dotnet" .\Core1.dll', ErrorCode = '0x80004005'.

asked on Server Fault Nov 26, 2017 by Rob McCabe

0 Answers

Nobody has answered this question yet.

User contributions licensed under CC BY-SA 3.0