SharePoint Labs

Office | SharePoint | Search | Architecture | Stuff

SPException: No item exists at http

SPException: No item exists at http

  • Comments 6

Hi,

Today I get a request from a partner who were experiencing the following error:

Error: No item exists at http://server/site/Pages/pagename.aspx?id=37. It may have been deleted or renamed by another user.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: Microsoft.SharePoint.SPException: No item exists at http://server/site/Pages/pagename.aspx?id=37 It may have been deleted or renamed by another user.

Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace: [SPException: No item exists at http://server/site/Pages/pagename.aspx?id=37. It may have been deleted or renamed by another user.]
Microsoft.SharePoint.SPContext.get_Item()
Microsoft.SharePoint.SPContext.get_ListItem()
Microsoft.SharePoint.Publishing.TemplateRedirectionPage.ComputeRedirectionVirtualPath(TemplateRedirectionPage basePage)
Microsoft.SharePoint.Publishing.TemplateRedirectionPage.get_RedirectionUrl()
Microsoft.SharePoint.Publishing.TemplateRedirectionPage.ProcessRequest(HttpContext context)
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

this happens in the following context: they created a page to update list items, and they were showing the list information in the page. Well, I realized that it was an old error (LuisRac :)) the problem is related to the reserved word ID. You should not use ID in your querystring outside the Form pages. So rename it with a different name or change your implementation to use a Custom Form

Bye

Leave a Comment
  • Please add 5 and 2 and type the answer here:
  • Post
  • I started to get this error randomly in a new page I was developing.  Sure enough, using "id" in the query string was the culprit.  Thanks for posting this solution!

  • Thanks!!! I was confused by the strange situation with this error.

  • thank godness there are blogs like this... damn sharepoint :(

  • Thanks for help

  • hi & thanks for your help ... how can i change this word (is not default in sharpoint ?!! )

  • I was getting this error without even hitting the page in VS2010. You saved my time. Thanks

Page 1 of 1 (6 items)