Azure web app: Http Error 500 - can't currently handle this request.
I have a dot net core application which I had deployed a number of instances and recently I tried to deploy it and unfortunately it fails to launch with error, "Http Error 500 - can't currently handle this request.". I have attempted different options including configuring Authentication under Settings. In previous deployments, I have only had to configure Environment variables to reflect applicaiton clientid, secret among other basic settings.
Below is a snippet from the log stream which seems to indicate a permission problem. Even though I am using an owner account for both deployment and launching the application.
The authenticated user does not have permission to use this DLL. <li>The request is mapped to a managed handler but the .NET Extensibility Feature is not installed.</li> <div><fieldset><h4>Things you can try:</h4><ul> <li>Ensure that the NTFS permissions for the web.config file are correct and allow access to the Web server's machine account.</li> <li>Check the event logs to see if any additional information was logged.</li> <li>Verify the permissions for the DLL.</li> <li>Install the .NET Extensibility feature if the request is mapped to a managed handler.</li> <li>Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, click <a href="http://go.microsoft.com/fwlink/?LinkID=66439">here</a>. </li> </ul></fieldset></div><div><fieldset><h4>Detailed Error Information:</h4><div><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><th>Module</th><td> EasyAuthModule_32bit</td></tr><tr><th>Notification</th><td> BeginRequest</td></tr><tr><th>Handler</th><td> aspNetCore</td></tr><tr><th>Error Code</th><td> 0x80004005</td></tr></tbody></table></div><div><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><th>Requested URL</th><td> https://axleerpgateway:80/</td></tr><tr><th>Physical Path</th><td> C:\home\site\wwwroot</td></tr><tr><th>Logon Method</th>
</tr></tbody></table></div></fieldset></div>