【发布时间】:2019-10-09 07:11:00
【问题描述】:
我从https://github.com/Azure/iisnode/releases(0.2.26 full)下载了最新的iisnode
我从https://download.microsoft.com/download/1/2/8/128E2E22-C1B9-44A4-BE2A-5859ED1D4592/rewrite_amd64_en-US.msi下载了url rewrite module 2.1
两个都安装了
然后我以管理权限运行%programfiles%\iisnode\setupsamples.bat
重启我的机器(以防万一)
我在每个链接上都收到以下错误:
Error Code 0x80070021
Config Error This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".
Config File \\?\C:\Program Files\iisnode\www\helloworld\web.config
Config Source:
6:
7: <handlers>
8: <add name="iisnode" path="hello.js" verb="*" modules="iisnode" />
我猜它不接受 iisnode 作为有效的处理程序
有什么想法吗?
【问题讨论】:
-
您的问题解决了吗?
-
非常好,这两种方法都很有效,非常感谢(抱歉回复延迟)
标签: node.js iis windows-10 iisnode