Wednesday, May 16, 2012

SharePoint WebPart cannot find list on Sub Site - Item does not exist. It may have been deleted by another user

I wrote a Web Part that I dropped on the root site page. That Web Part adds a list. This works great on the main page. That Web Part uses a custom list. Both the list and the Web Part were developed in VS 2010.



Issues/Steps - Sub Site




  1. I then activate the custom list feature on the sub site and that list shows up.

  2. I add my Web Part to the page.

  3. I get the error:




    Item does not exist. It may have been deleted by another user





This list is there on the sub-site. I do not get why the Web Part cannot find the list? It works well on the home page, the root site, but not on a sub site.





No comments:

Post a Comment