Recently re-configured NODEJS running environment in Server + IIS 8, the specific configuration process will not elaborate (random search a bunch), installed after Nodejs and Iisnode, an error occurred, as follows:
The Iisnode module is unable to start the node.exe process. Make sure the Node.exe executable are available at the location specified in the system.webserver/iisnode/@nodeProcessComma ndline element of Web. config. By default Node.exe are expected in one of the directories listed in the PATH environment variable
Google has a half-day, just beginning to think is X86nodejs installation path problem, later Daoteng half-day always wrong, later found an article https://admin-ahead.com/forum/websitepanel/node-js-error!/
Workaround: In the Web. config "system.webserver node plus:
<iisnode watchedfiles= "*.js;node_modules\*;routes\*.js;views\*.jade" nodeprocesscommandline= "C:\Program Files\ Node.exe "/>
Problem solved, I go to the bird, I hope to help to the rear encounter this problem of child boots, my web. config file is as follows, for reference:
<Configuration> <system.webserver> <handlers> <Removename= "Nodejs" /> <!--indicates that the Server.js file is a node. js application to being handled by the Iisnode module - <Addname= "Iisnode"Path= "Server.js"verb="*"Modules= "Iisnode" /> </handlers> <IisnodeWatchedfiles= "*.js;node_modules\*;routes\*.js;views\*.jade"Nodeprocesscommandline= "C:\Program files\node.exe"/> </system.webserver></Configuration>
IIS 8 Nodejs + iisnode configuration