I have an asp.net core website (say https://www.somesite.com) where I need to host an asp.net web api (.net framework 4.6) in https://www.somesite.com/api, but I keep getting HTTP Error 502.5 - Process Failure for the API and the asp.net core website works just fine. Please help how can I achieve this.
This has always worked before ASP.NET Core