MVC 6 Windows Server 2012 R2 IIS 8.5 - Error: Unable to load application or execute command 'Microsoft.AspNet.Server.Kestrel'
问题 When trying to deploy a MVC 6/ASP.NET 5 application to IIS I get the error Error: Unable to load application or execute command 'Microsoft.AspNet.Server.Kestrel'. Available commands: web, ef. in the stdout log file. I published the application using Visual Studio 2015 and it runs ok if I call web.cmd directly in a command prompt. My project.json file looks like { "userSecretsId": "aspnet5-H3CustomerPortal-2b9cfc76-487a-41dc-a29f- c81e45251c25", "version": "1.0.0-*", "compilationOptions": {