Jun 26, 2019 03:27 PM|SSSikora|LINK
I had the exact same issue with ASP.NET Core 3.0 Preview 6. What solved it for me was found in this article:
I removed the environment variable, that was auto-generated in the web.config file during publish, and things worked immediately.
Hope that helps,