jeudi 19 février 2015

How to host NodeJS Restify API on IIS web server

I have built a NodeJS REST API service using restify. This needs to be hosted on IIS (possibly on Microsoft Azure as well). When I host my NodeJS restify service on IIS and execute a POST request from my client, I end up getting the below error:


iisnode encountered an error when processing the request.


HRESULT: 0x2 HTTP status: 500 HTTP subStatus: 1002

If I run the Restify API on node.exe, I am able to execute the POST requests successfully.


Appreciate any help on this


Aucun commentaire:

Enregistrer un commentaire