I'm having issues with Version 7.2.3 .NET Core 2.2/Angular. I've read report #7364 and all the related links.
My 'aspnetcorev2_inprocess.dll' appears to be correct.
I wanted to try one of the solutions by upgrading Microsoft.AspNetrCore.App, but NuGet won't allow it. The recommended 'Microsoft.AspNetrCore.App' is stuck at 2.2.0. Unable to upgrade due to "Blocked by project" message in version dropdown.
I'm experiencing the following error in VS Code Debug Console window when I login as Default/admin:
[WDS] Live Reloading enabled.
vendor.js:233197
ERROR
core.js:4002
Error: An unexpected server error occurred.
core.js:4002
Failed to load resource: net::ERR_INVALID_HTTP_RESPONSE [http://localhost:22742/api/services/app/Session/GetCurrentLoginInformations]
Unhandled Promise rejection: An unexpected server error occurred. ; Zone: <root> ; Task: Promise.then ; Value:
zone.js:699
Error: An unexpected server error occurred.
zone.js:699
Error: An unexpected server error occurred.
at new ApiException (http://localhost:4200/main.js:49133:28)
at throwException (http://localhost:4200/main.js:49152:72)
at MergeMapSubscriber.project (http://localhost:4200/main.js:37110:24)
at MergeMapSubscriber.push../node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapSubscriber._tryNext (http://localhost:4200/vendor.js:220186:27)
at MergeMapSubscriber.push../node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapSubscriber._next (http://localhost:4200/vendor.js:220176:18)
at MergeMapSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next (http://localhost:4200/vendor.js:214881:18)
at Observable._subscribe (http://localhost:4200/main.js:49157:22)
at Observable.push../node_modules/rxjs/_esm5/internal/Observable.js.Observable._trySubscribe (http://localhost:4200/vendor.js:214263:25)
at Observable.push../node_modules/rxjs/_esm5/internal/Observable.js.Observable.subscribe (http://localhost:4200/vendor.js:214249:22)
at MergeMapOperator.push../node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapOperator.call (http://localhost:4200/vendor.js:220154:23)
2 Answer(s)
-
0
You can refer to this PR.
Please upgrade your ASP.NET Core/.NET Core runtime version in your development and production environment. Greater than or equal to 2.2.2. I recommend that you use the latest 2.2.6.
https://github.com/aspnetzero/aspnet-zero-core/pull/2584
-
0
Upgrading to Core 2.2.6 fixed the issue.