When switched from IISExpress to IIS error in asp.net core -


i trying run asp.net core application (1.0 , 1.1 or 2.0) using iis instead of iis express. however, when try following error message:

unable start process c:\program files\dotnet\dotnet.exe. web server failed status code 500, internal server error

it work iis express

p.s tried reinstalling dotnet core , starting vs ad administrator

applicationhost.config has lot of information in it, section needed change under sites tag. physical path set directory project located on other computer. changed path match path on current computer , worked fine. not sure why path isn’t relative 1 exists within solution. line needed change.

<virtualdirectory path="/" physicalpath="c:\users\ericl\source\repos\asp.net core contacts\contacts\src\contacts" />

as alternative works close visual studio delete whole .vs folder , reopen project in visual studio. causes config file regenerated proper values.

for more details


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -