Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Error running node app in WebMatrix

Error running node app in WebMatrix

Problem

I installed WebMatrix and followed these instructions to install IIS 7 on my Windows 7 machine.

When I click 'Run' to run my express Node App, the browser pops up and tells me

The iisnode module is unable to start the node.exe process. Make sure the node.exe executable is available at the location specified in the system.webServer/iisnode/@nodeProcessCommandLine element of web.config. By default node.exe is expected to be installed in %ProgramFiles%\nodejs folder on x86 systems and %ProgramFiles(x86)%\nodejs folder on x64 systems.

Here is my web.config:

What is causing this problem, and how do I fix it?

Problem courtesy of: Scott David Tesler

Solution

This is a common problem if you've installed the x64 version of node from the website. Currently IISNode is set up to read node.exe from the x32 path. You can either change nodeProcessCommandLine to use the full path to node.exe on your box, or install the 32 bit node install. We're working on fixing this so both 32/64 bit will work out of the box. Let me know if this turns out to not be the problem :)

Solution courtesy of: Justin Beckwith

Discussion

View additional discussion.



This post first appeared on Node.js Recipes, please read the originial post: here

Share the post

Error running node app in WebMatrix

×

Subscribe to Node.js Recipes

Get updates delivered right to your inbox!

Thank you for your subscription

×