Solution Error:This page has been modified since you opened it. You must open the page again.

"This page has been modified since you opened it. You must open the page again."
之前在SharePoint Designer 2007 里用自己自定义的一个MasterPage来建新的Page, 但建出来的Page都出现一个问题,Edit webpart的时候会出现
“This Page has been modified since you opened it. You must open the page again.“
 情况就像这位仁兄说的这样:
ContractedBlock.gif ExpandedBlockStart.gif Code
Troubleshooting the “This Page has been modified since you opened it. You must open the page again." error 
Problem: 
When anyone tried  to edit a content editor web part on a MOSS site, they would 
get the following error:

“This Page has been modified since you opened it. You must open the page again. Re“

The users would hit F5 to refresh the page, but they would still 
get the same error message.  

Tools used to help troubleshoot: Sharepoint Designer, MOSS Site and Content and Structure Page

Resolution:  
1.       We checked that no pages were checked out or locked by another user, using the tools above. We didn’t find anything locking this file in SPD or via the site
2.       Rather than hitting F5, we actually clicked the “Refresh Page” link, then went to Edit Page and edit the content editor web part and the error message was gone

爬网爬了Google 前五页的所有 blog,bbs,评论中提的每个办法都试过了 都没解决......
后来自己不断的试,我发现在WebSite 通过 Site Page 如 Article Page, Welcome Page 创建出来的都没有出现这个问题. 通过比较,发现除了 inherits 有点不相同,通过Reflector 去查看了下 Microsoft.SharePoint.Publishing.PublishingLayoutPage 和 Microsoft.SharePoint.WebPartPages.WebPartPage
也没看出个究竟,页面其它都一样,为什么我在SharePoint Designer 创建的页面就不行呢 ?无奈下,自己就开SharePoint Designer 直接改 Site Page,位置 "_category/masterpage"下的 aspx文件.(先查看好是哪个 aspx文件先)
打开将

<% @ Page language = " C# "    Inherits = " Microsoft.SharePoint.Publishing.PublishingLayoutPage,Microsoft.SharePoint.Publishing,Version=12.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c "   %>
改成
<% @ Page Language = " C# "  MasterPageFile = " your master "
    Title
= "  your title "  Inherits = " Microsoft.SharePoint.WebPartPages.WebPartPage, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c "
    meta:progid
= " SharePoint.WebPartPage.Document "   %>

然后,将webpart,控件,内容都扔到这个Site Page去,保存.在WebSite通过Site Page创建新的页面后,Edit webpart 时没再出现烦人的错误了。
问题算是暂时解决了,但是自己并不懂为什么自己创建的就不行,没有老大,自己继续爬网再去搜寻....... 

转载于:https://www.cnblogs.com/chris_thanks/archive/2009/02/02/1382643.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值