SPException: No item exists at http

Hi,

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

Error: No item exists at https://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Ā https://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 https://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