HTTP Error 502.5 - Process Failure with error code: 0x80070057


I have try to run the command dotnet MVCWebAPI.dll and it's working fine i can able to call api also.

When try to publish in iis 10.0.xx get the below error:

HTTP Error 502.5 - Process Failure Common causes of this issue:

The application process failed to start
The application process started but then stopped
The application process started but failed to listen on the configured port 

Troubleshooting steps:

Check the system event log for error messages
Enable logging the application process' stdout messages
Attach a debugger to the application process and inspect 

When open event viewer get the below message:

Application 'MACHINE/WEBROOT/APPHOST/DEFAULT WEB SITE' with physical root 'C:\inetpub\wwwroot\' failed to start process with commandline ' ', ErrorCode = '0x80070057' : 0.

Below is my web.config file:

  <location path="." inheritInChildApplications="false">
        <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified" />
      <aspNetCore processPath="dotnet" arguments="./MVCWebAPI.dll" stdoutLogEnabled="true" stdoutLogFile="./logs/stdout" />
asked on Stack Overflow Jan 4, 2019 by Ebg Test

0 Answers

Nobody has answered this question yet.

User contributions licensed under CC BY-SA 3.0