Permissions on the published folder? I suspect that would be one way to get an instant 500.
On Tue, 12 Oct 2021 at 07:52, Greg Keogh <gfke...@gmail.com> wrote: > A hello world app or an actual app? I’d start with a hello world and go >> from there to rule out something in you actual app. >> > > I forgot to mention I tried both. I generated a Hello app straight out of > the VS2019 wizard and deployed it and got the same 500. > > The problem is so utterly persistent in giving instant 500 responses no > matter what I try, that I suspect there is something equally idiotic and > utterly wrong. Perhaps my Azure VM running Windows Server 2016 Datacenter > edition or it's IIS doesn't support ASP.NET Core, or some whole Windows > components are missing, or global configs have been neglected. I'm just > making that up, but it's got to be something that crushingly stupid. > > I have a 2019 server sitting under the desk here, and it gave 500s as > well, until I installed both the 3.1 and 5.0 Core SDKs and it was > instantly fixed. The same didn't work for my VM. > > *Greg* >