No item exists at http://SERVER/SITE/mypage.aspx?ID=1. It may be been deleted or renamed by another user
Source:microsoft SupportRAPID Publishingrapid Publishing articles provide information DIRECTLY from within the MICROSOFT support ORGANIZATION. The information CONTAINED herein are CREATED in RESPONSE to emerging or UNIQUE TOPICS, or are intended SUPPLEMENT other KNOW Ledge BASE information. Symptom
Consider the following scenario:
We have a custom pages using the Data Form Web part to display information. The main information is stored in a SharePoint custom list and a SharePoint custom document library. All of the data and the pages exist in the same sub-site.
The query string is defined as follows:
- On the details page:
- The details page is displayed with Details.aspx?id=xx.
- In the DataSource listing:
- <parameterbinding name= "Customitem" location= "QueryString (ID)" defaultvalue= "1"/>
- 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 is unable to fetch the 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. It may be been deleted or renamed by another user., Stack trace:at Microsoft.SharePoint.SPContext.get_Item () at Microso Ft. SharePoint.SPContext.get_ListItem () at Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapProvider.get_ CurrentNode () Causewhen We try passing the Query Parameter Name as ID to the. aspx Page (which itself are the record in the Document library) Sharepoint loses track of what the ID is used for. Sharepoint no longer knows if ID is the document in the document library or the ID of the listItem which we need to update Using the this. aspx page. This problem happens because Sharepoint have it own variable named ID which it uses to identify documents/pages on the SER Ver. Our solution should isn't be using a variable named ID. Resolutionchange the query string parameter from ID to Customid. Then change the details pageFrom QueryString (ID) to QueryString (Customid). Once This is the page would display with no errors. More Informationdisclaimermicrosoft and/or it SUPPLIERS make NO representations OR warranties about the suitability, reli Ability OR accuracy of the information CONTAINED in the DOCUMENTS and related GRAPHICS PUBLISHED on this WEBSITE (the "MAT Erials ") for any PURPOSE. The materials may INCLUDE TECHNICAL inaccuracies OR typographical ERRORS and May is revised at any time without NOTICE.&NB Sp
To the MAXIMUM EXTENT permitted by applicable law, MICROSOFT and/or it SUPPLIERS disclaim and EXCLUDE all representations , warranties, and CONDITIONS WHETHER EXPRESS, implied OR statutory, including but not LIMITED to representations, Warranti ES, OR CONDITIONS of TITLE, NON infringement, satisfactory CONDITION OR quality, merchantability and FITNESS for A Particu LAR 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
Error: When you use the ID as a query parameter for a custom page in SharePoint, always prompt that the item does not exist!