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.

enter image description here

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.


Comments

Popular posts from this blog

How to check data type in C++? -

javascript - Is getTimezoneOffset() stable during daylight saving transition? -

formula - R: how to pass in a reference to the variable in glm or lm? -