Asp.net mvc 4 具有简单成员资格的ASP.net MVC 4项目,发布错误
当我试图发布我的网站时,我遇到以下错误: 使用注册为allowDefinition='MachineToApplication'的节是错误的 超出应用程序级别。此错误可能是由于未安装虚拟目录造成的 在IIS中配置为应用程序 并在同一页的下面:Asp.net mvc 4 具有简单成员资格的ASP.net MVC 4项目,发布错误,asp.net-mvc-4,visual-studio-2012,publishing,iis-express,Asp.net Mvc 4,Visual Studio 2012,Publishing,Iis Express,当我试图发布我的网站时,我遇到以下错误: 使用注册为allowDefinition='MachineToApplication'的节是错误的 超出应用程序级别。此错误可能是由于未安装虚拟目录造成的 在IIS中配置为应用程序 并在同一页的下面: Ligne 31 : <compilation targetFramework="4.5"/> Ligne 32 : <httpRuntime/> Ligne 33 : <authentication
Ligne 31 : <compilation targetFramework="4.5"/>
Ligne 32 : <httpRuntime/>
Ligne 33 : <authentication mode="Forms">
Ligne 34 : <forms loginUrl="~/Account/Login" timeout="2880"/>
Ligne 35 : </authentication>
Ligne 31:
第32页:
Ligne 33:)正在为IIS工作,而不是为VS 2012 IIS Express工作
请帮我把它弄起来