Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The below error when i compile and run what i downloaded #6

Open
nikmes opened this issue Aug 1, 2018 · 5 comments
Open

The below error when i compile and run what i downloaded #6

nikmes opened this issue Aug 1, 2018 · 5 comments

Comments

@nikmes
Copy link

nikmes commented Aug 1, 2018

image
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

@ASKemp
Copy link

ASKemp commented Aug 17, 2018

Same here

@mvelosop
Copy link
Owner

Hi @nikmes, @ASKemp,

Could you please paste the output window from the web server?:
image

@Tharkis
Copy link

Tharkis commented Sep 13, 2018

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.

@Tharkis
Copy link

Tharkis commented Sep 13, 2018

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"

@mvelosop
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants