このgithubページに記載されている手順に従っています。しかし、前述のようにすべて実行しても、issnodeパッケージに付属のsetupsamples.batファイルによってインストールされたサンプル・アプリケーションを実行しようとすると、内部的なサーバー・エラーが発生します。iisnode on windows 7 IIS 7.5 throwing 500.19 error
スクリーンショットと関連コードファイルを添付しました。ここで
hello.jsあなたはで構成を有しているので、これはある
var http = require('http');
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/html'});
res.end('Hello, world! [helloworld sample; iisnode version is ' + process.env.IISNODE_VERSION + ', node version is ' + process.version + ']');
}).listen(process.env.PORT);
そしてweb.configファイル
<configuration>
<system.webServer>
<!-- indicates that the hello.js file is a node.js application
to be handled by the iisnode module -->
<handlers>
<add name="iisnode" path="hello.js" verb="*" modules="iisnode" />
</handlers>
</system.webServer>
</configuration>
アメージング....トリックをした、私はIISには本当に新しいです[OK]をする必要があり、この演習は開かiisに関連して私には非常に多くの概念があります。ありがとう。 –