SharePoint 2013 - 从Gear编辑页面引发错误 [英] SharePoint 2013 - Edit Page from Gear Throws Error

查看:53
本文介绍了SharePoint 2013 - 从Gear编辑页面引发错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在SharePoint 2013企业环境中有一些奇怪的行为,当我从齿轮编辑页面时 - 我必须在功能区激活之前单击"保存",我才能实际编辑页面。这不是默认行为,因为点击齿轮
- >编辑应激活功能区。


激活发布和企业功能。构建版本是  15.0.4953.1000。每次我尝试使用齿轮图标编辑页面时出现的错误是:


文件中的异常"C:\Program Files \Common Files \ Micropros Shared \ Web服务器扩展\ 15 \Template \Layouts \EditingMenu \ SiteAction.xml:对象引用未设置为对象的实例。



解决方案

嗨kmoneill, 


当出现错误信息时你点击编辑页面了吗?


问题是存在于所有页面还是仅存在一个特殊页面? 


如果问题只存在于一个特殊页面中页面,尝试添加"?contents = 1"在网址末尾,从网页中删除自定义网页部件并比较结果。 


确保用户有足够的权限来编辑网页。 


类似的问题帖子供您参考:


https://social.technet.microsoft.com/Forums/ie/ en-US / b6c399e1-27f5-474c-ba8b-b32e000dccf9 / unexpected-error-when-trying-to-edit-page-on-site?forum = sharepointgeneral


https://social.msdn.microsoft.com/Forums/sharepoint/en-US/4ffb5e1e-c77c-4dbe-bb62-0e7c3e1984ec/edit-page-not-working-in-sharepoint-2013?forum= sharepointcustomization


最诚挚的问候, 


Lisa Chen& NBSP;


Having some odd behavior in a SharePoint 2013 Enterprise environment where when I go to edit a page from the gear - I have to click save before the ribbon activates and I can actually edit the page. This is not the default behavior as clicking from the gear -> edit should activate the ribbon.

The Publishing and Enterprise features are activated. The build version is  15.0.4953.1000. The error that occurs every time that I try to edit the page using the gear icon is:

Exception in file "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\Template\Layouts\EditingMenu\SiteAction.xml: Object reference not set to an instance of an object.

解决方案

Hi kmoneill, 

Is there some error message when you click edit page?

Does the issue exists in all pages or just one special page? 

If the issue just exists in one special page, try to add "?contents=1" at the end of the URL, remove the custom web parts from the page and compare the results. 

Make sure the user have enough permission to edit the page. 

Similar issue posts for your reference:

https://social.technet.microsoft.com/Forums/ie/en-US/b6c399e1-27f5-474c-ba8b-b32e000dccf9/unexpected-error-when-attempting-to-edit-page-on-site?forum=sharepointgeneral

https://social.msdn.microsoft.com/Forums/sharepoint/en-US/4ffb5e1e-c77c-4dbe-bb62-0e7c3e1984ec/edit-page-not-working-in-sharepoint-2013?forum=sharepointcustomization

Best Regards, 

Lisa Chen 


这篇关于SharePoint 2013 - 从Gear编辑页面引发错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆