Asp.net web.config中出现错误

Asp.net web.config中出现错误,asp.net,web-config,Asp.net,Web Config,海,, 我正试图在NopCommerce项目中添加DotNetNuke CMS的功能 我的错误是 Parse error: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an a

海,, 我正试图在NopCommerce项目中添加DotNetNuke CMS的功能 我的错误是

Parse error:
It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS.
<customErrors mode="RemoteOnly"/>
 <!-- Forms or Windows authentication -->
 <authentication mode="None">
 <forms name=".DOTNETNUKE" protection="All" timeout="60" cookieless="UseCookies"/>
 </authentication>
分析错误:
在应用程序级别之外使用注册为allowDefinition='MachineToApplication'的节是错误的。此错误可能是由于未在IIS中将虚拟目录配置为应用程序造成的。
我不知道如何在iis7中找到虚拟目录并配置我们的应用程序。
请帮助我。

如果您转到IIS 7并找到您的网站。用鼠标右键单击内容所在的文件夹,然后单击“转换为应用程序”