Can't debug using Azure SDK for Node.js -
i absolutely frustrated azure sdk years have been using , problem of outputting errors log file still arises:
application has thrown uncaught exception , terminated: error: enoent, no such file or directory 'c:\dwasfiles\sites\pazooza\virtualdirectory0\site\wwwroot\iisnode\rd00155d4313f9-20848-stdout-tue mar 26 2013 03:10:56 gmt+0000 (gmt standard time).txt' @ object.opensync (fs.js:240:18) @ object.writefilesync (fs.js:628:15) @ syncwritestream.<anonymous> (d:\program files (x86)\iisnode\interceptor.js:181:20) @ object.<anonymous> (console.js:25:18) @ incomingmessage.<anonymous> (c:\dwasfiles\sites\pazooza\virtualdirectory0\site\wwwroot\utils\facebook.js:69:21) @ incomingmessage.emit (events.js:88:20) @ httpparser.parseronmessagecomplete [as onmessagecomplete] (http.js:130:23) @ cleartextstream.socketondata [as ondata] (http.js:1288:20) @ cleartextstream._push (tls.js:375:27) @ securepair.cycle (tls.js:734:20)
as see error occurs because fs object trying find on c: drive, c: drive pointing local machine got logging system suppose in azure websites?
and d:\program files (x86)\iisnode\interceptor.js
what shouldn't pointing resource in azure cloud websites instance?
can azure sdk tell me how make error go away.
i asked months , months ago , thought had fixed again ... frustrating microsoft... wtf guys doing make our lives easier?
my other questions on here lead problem:
webmatrix 2 broken , windows azure node.js internal server error
my node.js web.config file looks this:
<configuration> <system.webserver> <handlers> <!-- indicates server.js file node.js application handled iisnode module --> <add name="iisnode" path="server.js" verb="*" modules="iisnode"/> </handlers> <rewrite> <rules> <!-- don't interfere requests node-inspector debugging --> <rule name="nodeinspector" patternsyntax="ecmascript" stopprocessing="true"> <match url="^server.js\/debug[\/]?" /> </rule> <!-- first consider whether incoming url matches physical file in /public folder --> <rule name="staticcontent"> <action type="rewrite" url="public{{request_uri}}"/> </rule> <!-- other urls mapped node.js application entry point --> <rule name="dynamiccontent"> <conditions> <add input="{{request_filename}}" matchtype="isfile" negate="true"/> </conditions> <action type="rewrite" url="server.js"/> </rule> </rules> </rewrite> <!-- can control how node hosted within iis using following options --> <iisnode loggingenabled="true" deverrorsenabled="true" /> </system.webserver> </configuration>
any or advice why error shows when set logginenabled="true" appreciated.
when set loggingenabled false no errors , site runs fine, when turn on effed up!
could file issue under: https://github.com/windowsazure/iisnode ?
sounds issue iisnode logging ? may able there further details on issue.
andre
Comments
Post a Comment