zoukankan      html  css  js  c++  java
  • {sharepoint}It may have been deleted or renamed by another user

    Symptom


    Consider the following scenario:

    We
    • In the xslt:
      • <xsl:param name="CustomItem">1</xsl:param>
        <xsl:variable name="Rows" select="/dsQueryResponse/Custom_Listings/Rows/Row[@ID = $CustomItem]" />


    In this scenario, we receive the following error message:

    w3wp.exe (0x1104)    0x1670 CMS    Publishing    8vzh
    Unexpected PortalSiteMapProvider was unable to fetch current node, request URL:
    /example/path/here/custom/pages/opportunitydetails.aspx, message: No item exists at http://SERVER/example/path/here/custom/pages/opportunitydetails.aspx?ID=20. may been or by user., stack trace: at Microsoft.SharePoint.SPContext.get_Item() at Microsoft.SharePoint.SPContext.get_ListItem() at Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapProvider.get_CurrentNode()
    Cause
    When we try passing the Query Parameter Name as ID to the .aspx Page (which itself is the record in the document library) Sharepoint loses track of what ID is used for. Sharepoint no longer knows if ID is the document in the document library it uses to identify documents/pages on the server. Our solution should not be using a variable named ID.
    Resolution
    Change the query string parameter from ID to CustomID. Then change the details page from QueryString(ID) to QueryString(CustomID). Once this is done the page will display with no errors.
    More Information
    DISCLAIMER
    MICROSOFT AND/OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY MAY INCLUDE TECHNICAL INACCURACIES MAY BE REVISED AT ANY TIME WITHOUT NOTICE.

    TO THE MAXIMUM EXTENT PERMITTED OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.
    Properties

    Article ID: 972225 - Last Review: 06/08/2009 10:25:42 - Revision: 1.0

    • Microsoft Office SharePoint Server 2007
    • Microsoft Windows SharePoint Services 3.0

      • kbrapidpub kbnomt KB972225
  • 相关阅读:
    pyqt5开发之俄罗斯方块
    Tkenter之API测试系统界面设计
    Python的标准GUI:Tkinter的组件
    Python单元测试框架——unittest
    【Android】自定义ListView的Adapter报空指针异常解决方法
    5、使用Libgdx设计一个简单的游戏------雨滴
    4.6、Libgdx线程介绍
    4.5、Libgdx运行日志管理
    4.4、Libgdx使用方法查询运行环境相关属性
    4.3、Libgdx启动类和配置
  • 原文地址:https://www.cnblogs.com/Areas/p/5498588.html
Copyright © 2011-2022 走看看