I am making an api with node js and I need to publish it to a server. I have been looking at how to do it and there is a lot of information about doing it on platforms like heroku but I can't get it up to the server that I use in my work. This is a Windows Server 2012 r2 and works with IIS. I followed the steps given in the documentation https://github.com/tjanczuk/iisnode. But when I raise the server I receive an error. enter image description here
Asked
Active
Viewed 168 times
-1
-
Does this answer your question? [host node js on windows server (iis)](https://stackoverflow.com/questions/46266609/host-node-js-on-windows-server-iis) – Korfu Jan 12 '22 at 21:48
-
Please provide enough code so others can better understand or reproduce the problem. – Community Jan 13 '22 at 19:41
1 Answers
0
your api pool doesn't have full permission to write.
give permission the edit to give the "IIS_IUSRS" group write permissions to that folder.
Go into the advanced settings menu and under Process Model -> Identity change the user account to a user that already has write permissions. Allow, 'Full Control', for user 'IIS_IUSRS', from 'Advanced Security' upon right clicking you'r application root directory.

Piyush Kachhadiya
- 617
- 8
- 18