Skip to content
This repository was archived by the owner on Nov 1, 2018. It is now read-only.
This repository was archived by the owner on Nov 1, 2018. It is now read-only.

HTTP Error 502.5 - Process Failure #357

@laksh-parab

Description

@laksh-parab

I have asp.net core api and i have hosted this application in IIS. When i access api in broswer i see error in the browser

HTTP Error 502.5 - Process Failure

when i check event viewer, i see below error

Application 'MACHINE/WEBROOT/APPHOST/MySite' with physical root 'D:\MyFolder' failed to start process with commandline '"" ', ErrorCode = '0x80070057 : 0.

I am able to run my API in Kestrel using "dotnet api.dll" command at command prompt without any issue. So there is no issue with application startup.
On the production server; where this error is occurring; i have installed IIS 8.5, .Net Core 1.0.4 and Microsoft .Net Core 1.0.4 & 1.1.1 - Windows Server Hosting

I also have development server where i have installed IIS 8.5, .Net Core 1.0.1 and Windows Server Hosting 1.0.1. But on development server environment i am able to access API via IIS.

Since in production i can run application in Kestrel with .Net Core 1.0.4 i dont think its the issue with .net core version.
I am guessing its happening because of Microsoft .Net Core 1.0.4 & 1.1.1 - Windows Server Hosting. This version is different in development and production.

Here is my project.json and web.config
project.json
web.config

How do i fix this error?
Where would i find old versions of Windows Server Hosting installation files.?
I already looked at #256

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions