2010-06-04 85 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並找到你的網站。用鼠標右鍵單擊您的內容所在的文件夾,然後單擊「轉換爲應用程序」。