none
Moss内容查询Web部件在服务器端显示正常,客户端显示异常。 RRS feed

  • 问题

  • Moss内容查询Web部件在服务器端显示正常,客户端显示异常。
    错误如下:
    本该显示列表项的地方显示
    无法显示该 Web 部件。若要解决该问题,请在与 Windows SharePoint Services 兼容的 HTML 编辑器(例如 Microsoft Office SharePoint Designer)中打开该网页。如果问题持续存在,请与 Web 服务器管理员联系。
    2009年4月27日 5:54

全部回复

  • 您好!

     

    您的SharePoint server的版本是多少?

     

    请问您执行什么操作之后出现该问题?

     

    比如使用站点模板.STP文件或.CMP文件恢复SharePoint 站点,还是使用stsadm命令import / export所有的数据view出现该错误?

     

    如果是的话,请执行下面的操作来修复该问题:

     

    1.       Start SharePoint Designer, and open page containing broken data view(s).

     

    2.       In SharePoint Designer's menu, click Task Panes -> Data Source Library.

     

    3.       From the Data Source Library task pane, drag in a new instance of the broken data view's data source (example: Announcements list) onto the page. This will create a new and working data view.

     

    4.       Highlight the newly inserted data view, and go into split view (half code, half design). From the code portion highlighted, look for the ListName property. Note: it should be on the first line of the highlighted code, but you may have to scroll to the right in order to see it.

     

    5.       Once you find the ListName property, copy everything in between { ... } (without the braces). Store that value, as we will need it later (example: paste into Notepad).

     

    6.       Remove the newly inserted data view.

     

    7.       Highlight the broken data view, and go into split view (half code, half design). From the code portion highlighted, look for the ListName Property. Note: it should be on the first line of the highlighted code, but you may have to scroll to the right in order to see it.

     

    8.       Once you find the ListName property, copy everything in between { ... } (without the braces).

     

    9.       In SharePoint Designer's menu, click Edit -> Replace. In the "Find What" portion, paste in the broken data views ListName value. In the "Replace With" portion, paste in the previous working data view's ListName value (example: the one stored in Notepad). Click Replace All, and let the process finish. Click close.

     

    10. Perform steps 3 - 9 for each respective data view.

     

    Rock Wang 望正茂


    Rock Wang– MSFT
    2009年4月27日 9:28
    版主
  • 自己订制过内容查询webpart了吗?
    风中的舞蹈
    2009年5月6日 14:47
    版主