My project runs ok in VS2019, I try to deploy to local IIS 10, then to a Server 2012 with IIS 10 (with Webdeploy, File System, and WebDeploy Package), and finally to an Azure VM.
The result was allways the same:
HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid. Detailed Error Information: Module IIS Web Core Notification Unknown Handler Not yet determined Error Code 0x8007000d Config Error