Open nikmes opened 6 years ago
Same here
Hi @nikmes, @ASKemp,
Could you please paste the output window from the web server?:
I am having the same issue. It's probably related to several entries like this:
CoreUI.Mvc> The specified framework 'Microsoft.AspNetCore.App', version '2.1.0-preview2-final' was not found. I believe I have a newer version installed.
Once I changed the following lines in the .csproj file from 2.1.0-preview2-final to what was shown below, it ran just fine. PackageReference Include="Microsoft.AspNetCore.App" Version="2.1" PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="2.1"
Hi @Tharkis, good to know, I'll fix it in the repo/article.
It looks like the app was expecting to find 2.1.0-preview2-final in the system which was probably not what you all had installed in your systems.
I've seen this kind of issue somewhere else and, according to this: https://stackoverflow.com/questions/50928947/netcore-2-1-1-release-leads-to-app-failing-to-run, the best way to handle this is to remove the version altogether, as the runtime now will infer the version from the TargetFramework tag in the .csproj file.
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
For more information visit: https://go.microsoft.com/fwlink/?LinkID=808681