昨天公司要求每个员工电脑操作系统都升级为win7并要求安装Visual Studio 2012。网络管理员帮我装完了win7操作系统,后面安装开发环境就交给每位开发人员自己去整。我起初就想安装一下IIS,打开了Control Panel面板,选择了Programs and Features。进入了以下界面。
选择“Turn Windows features on or off”,选择IIS下的Asp.net,如下图所示:
刚开始没有做第二步,开发环境无法debug运行,后来照以上图,选择了ASP.NET选项,在运行Visual Studio开发环境时,就不会报以下错误了。
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".
这个问题浪费了我半天时间,写出来与大家分享哦。