我跑我的Node.js應用程序要求,我得到了一個沉重的錯誤權限與iisnode
iisnode encountered an error when processing the request.
HRESULT: 0x2
HTTP status: 500
HTTP subStatus: 1002
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'.
有人說,錯誤是env.Port別人說是從webconfig,我需要設置爲服務器.js,我已經設置了它,即使我刪除它,我也得到了相同的錯誤。
在第3天,我想不出我做錯了什麼,我試圖與不web.cofig。 我錯過了什麼嗎? 此外,通過Azure門戶提供的字符串設置到MongoDB的連接。
後嘗試此5天,我也試過這個解決方案,並且不工作對我來說,我試圖做的MongoDB教程我得到後,混帳推'g failed' –