c# - Running ASP.NET MVC 6 Web API from IIS -
i create mvc 6 web api project running expected visual studio, when i'm deploying production i'm getting a an error occured while starting application error. i did following on production machine installed asp.net 5 https://get.asp.net made sure production environment running same dnx version application published with installed httpplatformhandler 1.2 set application pool .net clr version no managed code pointed root location wwwroot folder is there else i'm missing? when run 500 errors, remember asp.net 5 application can self hosted, open command prompt browse application directory type in web.cmd i had reference problems within application listed in command prompt subsequently fixed , worked expected.