{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

Applies to

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

Keywords:

    • kbrapidpub kbnomt KB972225
时间: 2024-11-05 13:03:58

{sharepoint}It may have been deleted or renamed by another user的相关文章

错误:当你使用id作为sharepoint的自定义页面的查询参数时,总会提示项目不存在!

No item exists at http://SERVER/SITE/mypage.aspx?ID=1. It may have been deleted or renamed by another user Email Print Source: Microsoft Support RAPID PUBLISHING RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPO

Chapter 5 MySQL Server Administration_1

Chapter 5 MySQL Server Administration Table of Contents 5.1 The MySQL Server 5.1.1 Configuring the Server 5.1.2 Server Configuration Defaults 5.1.3 Server Option and Variable Reference 5.1.4 Server Command Options 5.1.5 Server System Variables 5.1.6

HDFS Snapshots

Overview HDFS Snapshots are read-only point-in-time copies of the file system. Snapshots can be taken on a subtree of the file system or the entire file system. Some common use cases of snapshots are data backup, protection against user errors and di

C#路径/文件/目录/I/O常见操作汇总

文件操作是程序中非常基础和重要的内容,而路径.文件.目录以及I/O都是在进行文件操作时的常见主题,这里想把这些常见的问题作个总结,对于每个问题,尽量提供一些解决方案,即使没有你想要的答案,也希望能提供给你一点有益的思路,如果你有好的建议,恳请能够留言,使这些内容更加完善. 主要内容:一.路径的相关操作, 如判断路径是否合法,路径类型,路径的特定部分,合并路径,系统文件夹路径等内容:二.相关通用文件对话框,这些对话框可以帮助我们操作文件系统中的文件和目录:三.文件.目录.驱动器的操作,如获取它们的

c#之监控文件结构

如果需要知道修改文件或目录的时间,可以通过FileSystemWatcher类,这个类提供了一下应用程序可以捕获的事件,应用程序可以对事件作出响应. 使用FileSystemWatcher非常简单,首先必须设置一些属性,指定监控的位置.内容以及引发应用程序要处理事件的时间,然后给FileSystemWatcher提供定制事件处理程序的地址.当事件发生时,FileSystemWatcher就调用这些属性,然后打开FileSystemWatcher,等待事件. 1.在启用FileSystemWatc

IO操作 第一篇 学习(转载)

问题8:如何使用通配符搜索指定目录内的所有文件: 解决方案: 使用DirectoryInfo.GetFiles方法的重载版本,它可以接受一个过滤表达式,返回FileInfo数组,另外它的参数还可以指定是否对子目录进行查找.如: dir.GetFiles("*.txt", SearchOption.AllDirectories); 问题9:如何复制.移动.重命名.删除文件和目录: 解决方案:使用FileInfo和DirectoryInfo类. 下面是FileInfo类的相关方法: Fil

【安全牛学习笔记】收集敏感数据、隐藏痕迹

收集敏感数据.隐藏痕迹 利用配置不当提权 应用系统的配置文件 应用连接数据库的配置文件 基本信息收集 Linux /etc/resolv.conf /etc/passwd /etc/shadow whoami and who –a ifconfig -a, iptables -L -n, ifconfig –a, netstat –r uname –a, ps aux dpkg -l| head [email protected]:~# /etc/resolv.confDNS         

HotSpot Serviceability Agent 实现浅析#1

今天来看看HotSpotVM强大的SA,底层到底是怎么实现的.官方文档对其实现机制有以下描述: SA consists mostly of Java classes but it contains a small amount of native code to read raw bits from processes and core files. On Solaris SA uses libproc to read bits from a process or a core file. On

C# FileSystemWatcher 在监控文件夹和文件时的用法

概述 最近学习FileSystemWatcher的用法,它主要是监控一个文件夹,当文件夹内的文件要是有更改就要记录下来,我就整理下我对FileSystemWatcher 的理解和用法. FileSystemWatcher 用法 在应用FileSystemWatcher对象之前,你必须了解这个对象的一些基本属性和事件.毫无疑问,这个对象的最重要的属性为“EnableRaisingEvents”属性. 这个属性决定对象在收到改变通知时是否提交事件.如果EnableRaisingEvents属性设为假