-
Hi,
I am having a problem requiring node-sqlserver for Azure.
*My require code:*
var sql = require('node-sqlserver');
*Error result:*
iisnode encountered an error when processing the request.
HRESULT: 0x2
HTTP status: 500
HTTP reason: Internal Server Error
You are receiving this HTTP 200 response because
system.webServer/iisnode/@devErrorsEnabled<https://github.com/tjanczuk/iisnode/blob/master/src/samples/configuration/web.config>configuration
setting is 'true'.
In addition to the log of stdout and stderr of the node.exe process,
consider
usingdebugging<http://tomasz.janczuk.org/2011/11/debug-nodejs-applications-on-windows.html>and
ETW
traces<http://tomasz.janczuk.org/2011/09/using-event-tracing-for-windows-to.html>to
further diagnose the problem.
The last 64k of the output generated by the node.exe process to stdout
and stderr is shown below:
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Unable to load shared library
C:\DWASFiles\Sites\leagues\VirtualDirectory0\site\wwwroot\node_modules\node-sqlserver\lib\sqlserver.node
at Object..node (module.js:472:11)
at Module.load (module.js:348:31)
at Function._load (module.js:308:12)
at Module.require (module.js:354:17)
at require (module.js:370:17)
at Object.<anonymous>
(C:\DWASFiles\Sites\leagues\VirtualDirectory0\site\wwwroot\node_modules\node-sqlserver\lib\sql.js:20:11)
at Module._compile (module.js:441:26)
at Object..js (module.js:459:10)
at Module.load (module.js:348:31)
at Function._load (module.js:308:12)
Thanks,
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en