2010-06-04 88 views
0

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

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> 

我不知道如何找到虚拟目录在IIS7和配置我们的应用程序。 请帮助我。

回答

0

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