初试IIS7, 常见错误
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".
查了一下,.net features未打开
Control Panel -> Program and Features -> Turn Windows Features On or Off -> Internet Information Services -> World Wide Web Services -> Application Development Features -> check/uncheck ASP.NET (如图)