“500 - Internal server error” when calling ASP .Net Core 2.1 Web API on Windows Server
问题 I have an ASP .Net Core 2.1 Web API which I've deployed to a new server we recently purchased (running Windows Server 2016 Standard). The API works perfectly on both my development PC and our old server (running Windows Server 2012 R2). But on this new server, I get this error: 500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed. I remember a year ago also struggling a lot trying to get it to run on our old server. I did eventually