2

I followed the installation instructions provided by Hanselman but the only thing I can do calling the hello.js is actually downloading the js file...

I checked the module - it is registered in IIS. I am running on version IIS 7.5. What can be the problem?

ab_732
  • 3,639
  • 6
  • 45
  • 61
  • 2
    Uh, just curious, but why would you want to run node on IIS? Node can stand on its own two feet, and is very easy to get a simple server up. Also, node is not even stable on Windows... – beatgammit Sep 14 '11 at 01:01
  • The link you provided is a pretty complex install. I hope you have a good use case for this and followed the instructions completely. You may get a better answer if you post a comment to Hanselman's blog post – Deep Kapadia Sep 14 '11 at 01:33
  • @tjameson Well... I read the post and tried! What do you suggest me for trying in a Windows install? I don't need it 100% stable, I just want to try it :) – ab_732 Sep 14 '11 at 01:55
  • @Deep Kapadia it's a 5 step installation, it doesn't look so complex to me... I tried with this one, same problem https://github.com/tjanczuk/iisnode – ab_732 Sep 14 '11 at 02:01
  • 4
    If you just want to experiment with Node, just download `Node.exe` from the Node site and run it on the command line with `C:\path\to\node.exe myscript.js`, no need to run it through IIS. – Michelle Tilley Sep 14 '11 at 07:13
  • Thanks Brandon, I will try that one – ab_732 Sep 14 '11 at 12:15
  • If the file downloaded you probably misconfigured the web.config. He shows 3 different exemples, the first one is the "good" one. – guiomie Dec 20 '11 at 20:28

1 Answers1

0

Thanks everybody for your advice. Few days ago Hanselman posted this one that make life easier if you want to start using node.js with IIS on windows

ab_732
  • 3,639
  • 6
  • 45
  • 61