How to: Add Missing ContentPlaceHolder
In Microsoft SharePoint Server 2010, the BlueBand master page is not supported in the Search Center site templates. When you upgrade your Search Center sites, if you decide to maintain the Office SharePoint Server 2007 look, when you try to access the site, the browser displays the following error message: An Unexpected Error Has Occurred.
This topic describes the cause of the error, and the steps to take to resolve it.
This error occurs because the BlueBand master page is missing the SPNavigation content placeholder used for additional page editing controls. This content placeholder is required for master pages to be compatible with SharePoint Server 2010. You can verify that this is the cause of the error by checking the Unified Logging Service (ULS) logs for the entry with the matching correlation identifier (ID).
To resolve the error, you must add the SPNavigation content placeholder to the BlueBand master page.
To add the SPNavigation content placeholder
Open your site's Site Settings page by appending /_layouts/settings.aspx to the site's URL, as follows:
http://ServerName/SiteName/_layouts/settings.aspx
Locate BlueBand.master page in the master page gallery, select it, and then click Download a Copy.
Open the downloaded file in an HTML editor such as Microsoft SharePoint Designer 2010, or in a text editor such as Notepad.
Add the following code at the end of the customized layout page.
<asp:ContentPlaceHolder ID="SPNavigation" runat="server">
</asp:ContentPlaceHolder>Note This code can be added anywhere on the master page.
After you add the missing SPNavigation content placeholder, upload the updated BlueBand.master file to your site. You can either replace the existing version of BlueBand.master with the updated version, or upload the updated version as a new master page.
http://msdn.microsoft.com/en-us/library/ff512790(v=office.14).aspx
最新文章
- VS2010以及vs10sp1安装问题
- 高介分类:核方法与支持向量机(SVM)
- 微信 小程序 drawImage wx.canvasToTempFilePath wx.saveFile 获取设备宽高 尺寸问题
- MySQL group_concat 1024 大小
- 《大话》之第三者家族 代理 Vs 中介者
- js之oop <;一>; 创建对象,构造器(class)
- Unity3D知识点
- MySQL5日期类型DATETIME和TIMESTAMP相关问题详解
- Python---十年语言之首
- 温故而知新之数据库的分离和附加&hellip;高手请跳过&hellip;.
- intellij idea 生成UUID
- hdu 2149 Public Sale 简单博弈
- 跟着刚哥梳理java知识点——多线程(十六)
- Angular 向组件传递模板的几种方法
- python-装饰器&;生成器&;迭代器&;推导式
- No bean named &#39;dataSource&#39; is defined
- spark之JDBC开发(连接数据库测试)
- nodejs websocket
- logging日志文件配置
- 服务容错保护断路器Hystrix之一:入门示例介绍(springcloud引入Hystrix的两种方式)