Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/visual-studio-2012/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Asp.net mvc 4 具有简单成员资格的ASP.net MVC 4项目,发布错误_Asp.net Mvc 4_Visual Studio 2012_Publishing_Iis Express - Fatal编程技术网

Asp.net mvc 4 具有简单成员资格的ASP.net MVC 4项目,发布错误

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

当我试图发布我的网站时,我遇到以下错误:

使用注册为allowDefinition='MachineToApplication'的节是错误的

超出应用程序级别。此错误可能是由于未安装虚拟目录造成的

在IIS中配置为应用程序

并在同一页的下面:

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工作

请帮我把它弄起来