Questions tagged [iisnode]

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

Useful Links

400 questions
3
votes
1 answer

IIS overwrites body of Express response

I have an express app which runs under iisnode. When Express returns a response with status 401 there is attached JSON with an error message. res.status(401).json({message: "error text"}); When I try it in the browser the status is ok but response…
KubaKubikula
  • 370
  • 2
  • 14
3
votes
2 answers

Node module missing when running on Azure

After updating my hubot project it no longer runs on Azure. I am able to run a clean copy locally, on both OS X and Windows, but on Azure I get the following error ERROR Cannot load adapter slack - Error: Cannot find module 'hubot' Locally, I have…
Enrico
  • 10,377
  • 8
  • 44
  • 55
3
votes
0 answers

node.js self-hosting on windows without iisnode

Sorry for if it's a duplicate but i couldn't find it. I have an .net mvc app on windows server 2012 R2 with IIS 8.5. I will use some socket operations in my app. So i write an app in node.js with socket.io. I want to host my node app in same server.…
isabasan
  • 338
  • 3
  • 19
3
votes
2 answers

How to create simple static azure web app

I would like to create a simple static web site on Azure Web Apps. I don't want any VS or PowerShell so I have just connected my Azure Web App to my OneDrive account. I just want to edit my local files and see them on site. I have created new web…
Jovan MSFT
  • 13,232
  • 4
  • 40
  • 55
3
votes
1 answer

iisnode encountered an error when processing the request. HTTP status: 500

iisnode encountered an error when processing the request. HRESULT: 0x2 HTTP status: 500 HTTP subStatus: 1001 HTTP reason: Internal Server Error This is a fairly simple node/express application which we cannot get to run under iisnode. We are seeing…
pinnprophead
  • 215
  • 3
  • 14
3
votes
1 answer

iisnode performance is very slow

I found out that iisnode is slow compare to use node command. There are many benefits of using iisnode, but the performance is bad. I am using the configuration file from here. Any idea how to speed it up? UPDATE: I notice each page call will…
Alvin
  • 8,219
  • 25
  • 96
  • 177
3
votes
0 answers

Hosting Socket.IO + ExpressJS application inside IIS using IISNode in VirtualDirectory of an Asp.Net MVC application

I have an ASP.NET MVC 5 application and a NodeJs (Express+Socket.IO) application. In business scenario, I have to run NodeJS application inside an MVC application as a sub-directory. for. e.g, MVC: http://foo.com NodeJS: http://foo.com/node I have…
Riya Shah
  • 31
  • 6
3
votes
0 answers

node app 404 when trying to transfer to iisnode

I am trying to transfer a nodejs app from my development machine to our IIS server. It runs perfectly fine on my machine but I am always getting 404s when I transfer it to IIS. The directory structure is like so: C:\Programs Files\iisnode\wwww └…
Lerp
  • 2,957
  • 3
  • 24
  • 43
3
votes
1 answer

node.js http-proxy custom routing

I'm having troubles trying use http-proxy to route to localhost. I'm using IISNODE but from a Console App is not working neither. If "target" is set to google for example, it also works with local:9000 that is created in this snippet but it doesn't…
NZCoderGuy
  • 47
  • 1
  • 7
3
votes
2 answers

Point iisnode at server.js file nested in folder in an iis website

I having trouble getting iisnode to run my node application. My directory structure is iis-site -client -server -server.js How can I get iisnode to point to a nested .js file? I tried this, but it servers the server.js instead of…
Josh C.
  • 4,303
  • 5
  • 30
  • 51
3
votes
1 answer

How do I update the version of iisnode on a Windows Azure Cloud Service image

I had a working Windows Azure Web Site running my node.js app and everything was working fine. I ended up needing to run a native node.js module (fibers), which necessitated that I move to a Windows Azure Cloud Service. I used the Convert to Azure…
BobDickinson
  • 2,156
  • 21
  • 18
3
votes
1 answer

Url rewrite http to https in iisnode

Using standard iis url rewrite module technique to redirect http to https does not work with iisnode. I am having the following rule configuration to redirect http to https:
Jan Blaha
  • 3,069
  • 1
  • 22
  • 35
3
votes
1 answer

MSNodeSQL & IISNode

I am using Node JS with IIS (IISNode) and Microsoft's MS SQL driver package (MSNodeSQL) to create a http server. When accessing my database via the http server I get the following error when attempting to connect to the MS SQL database: error {…
Tom O
  • 1,780
  • 2
  • 20
  • 43
3
votes
2 answers

Can I Use Node.js to Call a C# Method?

I'm working on a Webforms project and I was looking at implementing node.js and issnode. We are using: Web Forms IIS C# Entity Framework SQL Server We have a page that takes a while to load and were looking at ways to improve its speed. There are…
Brad8118
  • 4,672
  • 11
  • 36
  • 48
2
votes
0 answers

NodeJS Iisnode - ES modules is not supported

I created an API in nodeJS and im use IISnode to publish it. If I start the application in vcode with "npm start" it runs perfectly. If I start the application in iisnode, I get following error: Application has thrown an uncaught exception and is…
deca
  • 51
  • 5