Failed to start node process on IIS 7.5, Windows 7. #672

Closed
opened 2025-08-09 17:17:11 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @jeffcj on 6/10/2017

Created a new Angular template:

dotnet new angular
dotnet restore
npm install

Published the files to a local IIS site on my Windows 7 machine. The execution of the Node process that pre-renders the content in the default index.html page fails to load.

IIS Returns: HTTP Error 502.3 - Bad Gateway

Disabling the aspnet-prerender portion of the index view resolves the issue.

This appears to be permissions related. I changed the Application Pool identity to Local System (also tried my domain account) and the app loads normally.

I followed the exact same steps on my Windows 10 machine and experienced no issues using ApplicationPoolIdentity.

I attempted to grant the ApplicationPoolIdentity permissions to both the node.exe folder and the application folder with no success. I also tried Everyone/Anonymous Logon/IUSR, etc.

I'm at a loss as to why this does not work in Win 7 without changing the app pool user.

*Originally created by @jeffcj on 6/10/2017* Created a new Angular template: dotnet new angular dotnet restore npm install Published the files to a local IIS site on my Windows 7 machine. The execution of the Node process that pre-renders the content in the default index.html page fails to load. IIS Returns: HTTP Error 502.3 - Bad Gateway Disabling the aspnet-prerender portion of the index view resolves the issue. This appears to be permissions related. I changed the Application Pool identity to Local System (also tried my domain account) and the app loads normally. I followed the exact same steps on my Windows 10 machine and experienced no issues using ApplicationPoolIdentity. I attempted to grant the ApplicationPoolIdentity permissions to both the node.exe folder and the application folder with no success. I also tried Everyone/Anonymous Logon/IUSR, etc. I'm at a loss as to why this does not work in Win 7 without changing the app pool user.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#672
No description provided.