Questions tagged [iisnode]

iisnode is a native IIS module that allows hosting of node.js applications in IIS on Windows.

Useful Links

400 questions
7
votes
1 answer

Client is not receiving event from SocketIO via IIS Node

I have a web application which is making a socket connection with a NodeJS server hosted via IIS Node. The connection seems to be made properly as I resolved a 404 polling error on the client that I was initially having. However now, it looks like…
developthewebz
  • 1,827
  • 3
  • 17
  • 43
7
votes
1 answer

Run react isomorphic on iis

I'm trying to get react running using node.js with iisnode on iis I've installed the latest node and the latest iisnode and used this stackoverflow as a guide but can't get past error 500. How to run Node.JS server for a web application? any guides…
Adam
  • 1,136
  • 8
  • 26
  • 51
7
votes
1 answer

Set multiple Environment variables in IISNode

I understand I can use web.config. to specify one environmental node_env variable which could be accessed in server side *.js files via process.env.node_env. However, for example I would like to have access…
Bowei Liu
  • 161
  • 1
  • 9
7
votes
2 answers

Serving static files in IISNODE with StaticFiles URL Rewrite

I am trying to deploy a Node.js application on IIS. I saw the samples on the GitHub repository (https://github.com/tjanczuk/iisnode/tree/master/src/samples). I am stuck at serving static files. Like a normal Node application, I stored the static…
S. Ravi Kiran
  • 4,053
  • 3
  • 21
  • 26
7
votes
4 answers

Unable to download msnodesql-0.2.1-v0.10-x64.msi

I can't get msnodesql to install. Originally I tried npm install node-sqlserver ... and this warns that it has been superceded by msnodesql. I successfully installed Node.js, iisnode and I see the sample Hello.js being served up (yayee,…
spojam
  • 164
  • 1
  • 3
  • 13
6
votes
1 answer

Using ASP.Net MVC & node.js together

I am writing a ASP.Net MVC app that connects to a SQL database and uses existing C# libraries I have. I also have a TCP server Windows application that sends/receives TCP messages via XML. I have successfully setup node.js and socket.io to handle…
Jon
  • 38,814
  • 81
  • 233
  • 382
6
votes
0 answers

IISNode error only on FIRST request after app pool recycle / website restart

I am running an express.js app, with iisnode as the handler. Whenever I restart the site in IIS, or recycle the app pool (either manually or by saving the web config after changing a file) the app crashes with a 500.1001 error but only on the very…
Benghis Ghrant
  • 183
  • 1
  • 11
6
votes
0 answers

Accessing web.config appSettings in nodejs

I am doing prototype with nodejs + expressjs that are hosted on IIS7. I am trying to access appSettings in web.config in app.js following sample from post: Access web.config settings from iisnode? Unfortunately, the sample from the post above logs…
kaplievabell
  • 759
  • 1
  • 11
  • 27
6
votes
1 answer

Custom Error Messages in Node Azure Web App

Stumbled across an interesting issue with an Azure Web App running Node with IIS and wanted to share because I couldn't find information on it. The problem: My custom error messages weren't making it down to the client on my production app but were…
Everett Carney
  • 260
  • 1
  • 12
6
votes
3 answers

express.js favicons not showing up

I'm currently running a simple express.js example just trying to get favicons working. Everything works fine locally but when I upload it to my production server it just shows the default favicon. I've tried clearing the cache but the production…
David
  • 105
  • 1
  • 9
6
votes
1 answer

iis7 returns 404 not found error randomly for node.js sites

Server, located in Germany Windows Server 2008 / IIS 7 node.js 0.8.22 iisnode 0.2.2 x64 web.config
Vladimir Makhaev
  • 1,104
  • 2
  • 10
  • 23
6
votes
4 answers

Can an iisnode-hosted web application work out the virtual path at which it is hosted?

I am using iisnode to host a node web application in IIS on Windows. When I set up my routes on the web server (say Express or Restify) I want do do it in a way that is independent of the path that IIS is hosting the application at. For example, my…
GraemeF
  • 11,327
  • 5
  • 52
  • 76
6
votes
2 answers

Always running process with IISNode

Does anyone know a way to have a JavaScript file or set of files always running under IISNode without the need for a client request? The idea would be to have scripts that behave as services, but have them running under IISNode. Thanks! csh3
csh3
  • 61
  • 3
5
votes
4 answers

How to deploy Nuxt with IIS

I want to deploy Nuxt in IIS i'm using IIS Node but i can't get it works... I can do it work with npm run start in my server, but i have other projects like admin y api (.net) and it's using port 80 so when i'm using port 80 it's busy while in IIS…
Oswalman
  • 61
  • 1
  • 5
5
votes
0 answers

Remove 'Bufffer() depreciation' warning in Node JS

I am running a Node project on a Windows server using iisnode, and I get the following iisnode output (node:9616) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), …
Charlie
  • 530
  • 10
  • 26
1
2
3
26 27