runtime icon indicating copy to clipboard operation
runtime copied to clipboard

HTTP Error 502.5 - Process Failure ASP.Net Core2 after update to Microsoft.EntityFrameworkCore -Version 2.0.0 #7462

Open ConClavi opened this issue 9 years ago • 8 comments

Steps to reproduce

ARTSQLCORE.zip

`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

ConClavi avatar Aug 17 '17 02:08 ConClavi

Do you have a minimal repro? The attached project is rather large and hard to debug.

karelz avatar Aug 17 '17 21:08 karelz

Should this get moved to https://github.com/aspnet?

tarekgh avatar Aug 17 '17 22:08 tarekgh

@karelz, how can I provide you with a minimal one?

ConClavi avatar Aug 18 '17 02:08 ConClavi

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

tarekgh avatar Aug 18 '17 15:08 tarekgh

Or make it so minimal, that the code modifications to default template fit here as source code ... that would be ideal

karelz avatar Aug 18 '17 16:08 karelz

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

ConClavi avatar Aug 19 '17 00:08 ConClavi

This issue was moved to aspnet/EntityFrameworkCore#9480

tarekgh avatar Aug 19 '17 00:08 tarekgh

I moved this issue to the right place which can be tracked there

tarekgh avatar Aug 19 '17 00:08 tarekgh