我花了好几个小时尝试设置iisnode并在导航到任何示例应用时遇到此错误:
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 configuration setting is 'true'.
In addition to the log of stdout and stderr of the node.exe process, consider using debugging and ETW traces to further diagnose the problem.
The node.exe process has not written any information to stderr or iisnode was unable to capture this information. Frequent reason is that the iisnode module is unable to create a log file to capture stdout and stderr output from node.exe. Please check that the identity of the IIS application pool running the node.js application has read and write access permissions to the directory on the server where the node.js application is located. Alternatively you can disable logging by setting system.webServer/iisnode/@loggingEnabled element of web.config to 'false'.
- iisn / www文件夹对于iusr和iis_iusrs是可读/可写的 -Node.exe也可由他们执行
- web.config中的每个示例应用程序都有一个映射设置,我也可以在iis中看到这一点。
- 我也尝试过x64位版本的iisnode和nodejs而没有任何错误
- 应用程序池设置为启用32位应用程序
除了安装以前的版本之外,我不知道该做什么。有人遇到这个问题并找到解决方案吗?
编辑:etw trace - http://pastebin.com/heHTpCei