Sharepoint IIS merge Web.config问题
扬沙子 2011-12-09 03:07:14 Exception message: 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. (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\template\layouts\enduserarchiverviewer\web.config line 4)
我自定义了一个web.config
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<configuration>
<system.web>
<authentication mode="Windows" />
<identity impersonate="true" />
<authorization>
<allow users="*" />
</authorization>
<siteMap defaultProvider="CurrentNavigation" enabled="true">
<providers>
<add name="CNavigationProvider" type="Microsoft.SharePoint.Navigation.SPNavigationProvider, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
</providers>
</siteMap>
</system.web>
</configuration>
可是在IIS merge的时候出的错误 ,谁知道遇到过啊?