更新并重新安装解决方案后,SharePoint会引用14个配置单元

时间:2016-01-14 09:36:17

标签: sharepoint migration sharepoint-2013

我从2010年到2013年更新了SharePoint。 我们为2013年制定解决方案。 其中一个有母版页。 当我们删除旧解决方案并安装新解决方案时,一些页面会抱怨不存在主页。当我手动将这些母版页复制到适当的功能文件夹下的14个配置单元时(我手动重新创建),页面停止抱怨。

看起来SharePoint会从14个配置单元继续引用此母版页。 这是我的elemets.xml

<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
   <Module Name="MasterPage" Url="_catalogs/masterpage" RootWebOnly="TRUE">
      <File Path="MasterPage\Intranet.master" Url="Intranet.master" Type="GhostableInLibrary" Level="Published" ReplaceContent="True" IgnoreIfAlreadyExists="True" />    
      <File Path="MasterPage\Application.master" Url="Application.master" Type="GhostableInLibrary" Level="Published" ReplaceContent="True" IgnoreIfAlreadyExists="True"/>    
   </Module>
</Elements>

2 个答案:

答案 0 :(得分:0)

在母版库中(您可以在网站设置中访问此菜单),对于&#34;列兼容的ui版本&#34;,您的母版页的值必须设置为15。

答案 1 :(得分:0)

这很令人尴尬,但我忘记了我必须再次禁用并启用母版页的功能。

相关问题