HTTP Error 502.5 - Process Failure ASP.Net Core2 after update to Microsoft.EntityFrameworkCore -Version 2.0.0 #7462
Steps to reproduce
`dotnet --info` output:
ARTNetCore> It was not possible to find any compatible framework version
ARTNetCore>
ARTNetCore> The specified framework 'Microsoft.NETCore.App', version '2.0.0' was not found.
ARTNetCore>
ARTNetCore> - Check application dependencies and target a framework version installed at:
ARTNetCore>
ARTNetCore> \
ARTNetCore>
ARTNetCore> - Alternatively, install the framework version '2.0.0'.
ARTNetCore>
ARTNetCore> It was not possible to find any compatible framework version
ARTNetCore>
ARTNetCore> The specified framework 'Microsoft.NETCore.App', version '2.0.0' was not found.
ARTNetCore>
ARTNetCore> - Check application dependencies and target a framework version installed at:
ARTNetCore>
ARTNetCore> \
ARTNetCore>
ARTNetCore> - Alternatively, install the framework version '2.0.0'.
ARTNetCore>
ARTNetCore> It was not possible to find any compatible framework version
ARTNetCore>
ARTNetCore> The specified framework 'Microsoft.NETCore.App', version '2.0.0' was not found.
ARTNetCore>
ARTNetCore> - Check application dependencies and target a framework version installed at:
ARTNetCore>
ARTNetCore> \
ARTNetCore>
ARTNetCore> - Alternatively, install the framework version '2.0.0'.
ARTNetCore>
ARTNetCore> It was not possible to find any compatible framework version
ARTNetCore>
ARTNetCore> The specified framework 'Microsoft.NETCore.App', version '2.0.0' was not found.
ARTNetCore>
ARTNetCore> - Check application dependencies and target a framework version installed at:
ARTNetCore>
ARTNetCore> \
ARTNetCore>
ARTNetCore> - Alternatively, install the framework version '2.0.0'.
I installed Microsoft.NETCore.App -Version 2.0.0 yet when I run the app I get this msg,
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
Do you have a minimal repro? The attached project is rather large and hard to debug.
Should this get moved to https://github.com/aspnet?
@karelz, how can I provide you with a minimal one?
how can I provide you with a minimal one?
you can zip it and attach it to github here or put it on OneDrive and send a link
Or make it so minimal, that the code modifications to default template fit here as source code ... that would be ideal
I believe its <PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0" />
I think updating it ti version 2 with the current Asp.Net Core Preview creates a conflict. downgrading solved the problem
This issue was moved to aspnet/EntityFrameworkCore#9480
I moved this issue to the right place which can be tracked there