I just updated my server (Windows 2012R2) to .Net Core 1.0 RTM
Windows Hosting pack from the previous .Net Core 1.0 RC2
. My app works on my PC without any issues but the server keeps showing:
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
It previously worked with the RC2 version. Don't know what could go wrong.
This is all event viewer says:
Failed to start process with the commandline 'dotnet .\MyWebApp.dll'. Error code = '0x80004005'.
the worst part is that app logs are empty! I mean those stdout_xxxxxxxxx.log files are completely empty and all have 0 byte size.
What should I do?? How can I know the cause of error when it's not logged??
I had the same issue when publishing the web app. If anybody still has this problem fixed it by changing {AppName}.runtimeconfig.json
Change the version from "version": "1.1.2" to "version": "1.1.1" and everythign worked ok
Had the same issue and all solutions didn't work. Found this gem and thought I'd pass along if it helps someone else. Install on Server 2012 R2 getting the DLL missing error, try to reinstall VS C++ 2015 and get an error. Fix is to do the following:
Seems the file
C:\ProgramData\Package Cache\...\packages\Patch\x64\Windows8.1-KB2999226-x64.msu
has problems being installed. Open admin command prompt do:NOTE: replace the "..." with the correct folder name. After this reinstall the VS C++ 2015 package.
Sharing that in my case this error was because i forgot to update project.json with:
I faced the same issue when I tried to publish Debug version of my web application. This set of files didn't contain the file
web.config
with the proper value of attributeprocessPath
.I took this file from Release version, value was assigned to the path to my exe file.
Worked for me after changing the publishing configuration.
I got this issue on my production server after my VS project was automatically upgraded to .NET Core 1.1.2.
I simply installed the 1.1.2 .net core runtime from here on my production server: https://www.microsoft.com/net/download/core#/runtime