dotnet / aspnetcore

ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
https://asp.net
MIT License
35.35k stars 9.99k forks source link

Asp.net Core project upgraded to 3.1 with Visual Studio version 16.4 not running as InProcess #18284

Closed vsfeedback closed 4 years ago

vsfeedback commented 4 years ago

This issue has been moved from a ticket on Developer Community.


We have upgraded our .net core project from 2.1 to 3.1.0 and are using Visual studio 2019 (16.4). I was able to get the application running in local IIS but is failing to run on IIS in Demo/QA environments, throwing a generic error, "HTTP Error 500.30 - ANCM In-Process Start Failure". After logging enabled found the error as below. I checked all the appsettings Json files and they were not modified compared to the working version. Also made sure that there are no old package references. Any help is appreciated.

"Application: w3wp.exe
CoreCLR Version: 4.700.19.56106
.NET Core Version: 3.1.0
Description: The process was terminated due to an unhandled exception.
Exception Info: System.FormatException: Could not parse the JSON file.
 ---> System.Text.Json.JsonReaderException: '"' is invalid after a value. Expected either ',', '}', or ']'. LineNumber: 11 | BytePositionInLine: 3.
"

Original Comments

Visual Studio Feedback System on 1/2/2020, 06:52 PM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

Padarthi, Padmaja on 1/6/2020, 09:39 AM:

Any help is appreciated

Andrew Stanton-Nurse on 1/10/2020, 03:37 PM:

This is an ASP.NET Core Runtime issue rather than a Visual Studio issue, so I’m going to move it over to our GitHub repo so the whole team can see it easily. The next comment will contain a link to the issue, and someone from the team will get back to you on that thread. This ticket will be closed.

You can log in to GitHub and then click the “Subscribe” button on the issue to be notified of activity on the GitHub issue.


Original Solutions

(no solutions)

analogrelay commented 4 years ago

Are you able to attach your appSettings.json files (with any secret values removed)?

The issue is definitely that some JSON file is incorrect :). How are you deploying the project to your Demo/QA environment in which it is failing?

ghost commented 4 years ago

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.

See our Issue Management Policies for more information.