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的时候出的错误 ,谁知道遇到过啊?
...全文
106 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
Justin-Liu 2011-12-12
  • 打赏
  • 举报
回复
还原了重新做 一点儿一点儿试吧 merge之后节点乱了
扬沙子 2011-12-12
  • 打赏
  • 举报
回复
问题是没有merge成功。看网上说解决方案是创建虚拟目录,可是sharepoint不用这个,所以还是没找到原因,有人曾经修改SharePoint的webapp的config文件吗,给点建议。

3,245

社区成员

发帖
与我相关
我的任务
社区描述
企业开发 SharePoint
社区管理员
  • SharePoint社区
  • 霖雨 - LinyuLoveTJ
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧