logo
Mohammed Akhtar

List does not exist error on adding links webpart to master Page

Posted by Mohammed Akhtar in SharePoint

09-Jan-09 04:37 AM

Hi,

      Can I add links webpart to a master page and refer the same master page in the subsites also. I have added a Content Place Holder to a master page and within it i've directly placed the Links Web Part.

On doing so the webpart is visible without any errors within the main site. I've set the custom master page of the main site as the default master page and the custom master page. So whenever i am browsing the subsites it is giving the following error:

List does not exist

The page you selected contains a list that does not exist.  It may have been deleted by another user.

Stack Trace:

[COMException (0x81020026): List does not exist

The page you selected contains a list that does not exist.  It may have been deleted by another user.]
   Microsoft.SharePoint.Library.SPRequestInternalClass.GetListsWithCallback(String bstrUrl, Guid foreignWebId, String bstrListInternalName, Int32 dwBaseType, Int32 dwBaseTypeAlt, Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt32 dwListFilterFlags, Boolean bPrefetchMetaData, Boolean bSecurityTrimmed, Boolean bGetSecurityData, ISP2DSafeArrayWriter p2DWriter, Int32& plRecycleBinCount) +0
   Microsoft.SharePoint.Library.SPRequest.GetListsWithCallback(String bstrUrl, Guid foreignWebId, String bstrListInternalName, Int32 dwBaseType, Int32 dwBaseTypeAlt, Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt32 dwListFilterFlags, Boolean bPrefetchMetaData, Boolean bSecurityTrimmed, Boolean bGetSecurityData, ISP2DSafeArrayWriter p2DWriter, Int32& plRecycleBinCount) +169

[SPException: List does not exist

The page you selected contains a list that does not exist.  It may have been deleted by another user.]
   Microsoft.SharePoint.Library.SPRequest.GetListsWithCallback(String bstrUrl, Guid foreignWebId, String bstrListInternalName, Int32 dwBaseType, Int32 dwBaseTypeAlt, Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt32 dwListFilterFlags, Boolean bPrefetchMetaData, Boolean bSecurityTrimmed, Boolean bGetSecurityData, ISP2DSafeArrayWriter p2DWriter, Int32& plRecycleBinCount) +210
   Microsoft.SharePoint.SPListCollection.EnsureListsData(Guid webId, String strListName) +1436
   Microsoft.SharePoint.SPListCollection.ItemByInternalName(Guid webId, String listName) +60
   Microsoft.SharePoint.WebPartPages.ListViewWebPart.EnsureList() +182
   Microsoft.SharePoint.WebPartPages.ListViewWebPart.EnsureListAndView(Boolean requireFullBlownViewSchema) +154
   Microsoft.SharePoint.WebPartPages.ListViewWebPart.get_ViewSchemaXml() +46
   Microsoft.SharePoint.WebPartPages.ListViewWebPart.EnsureData(Int32 token) +213
   Microsoft.SharePoint.WebPartPages.SharePointDataProvider.Execute() +254
   Microsoft.SharePoint.WebPartPages.SPWebPartManager.ActivateV2ConnectionsAndSharePointDataFetch() +139
   Microsoft.SharePoint.WebPartPages.SPWebPartManager.ActivateConnections() +85
   System.Web.UI.WebControls.WebParts.WebPartManager.OnPageLoadComplete(Object sender, EventArgs e) +52
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Page.OnLoadComplete(EventArgs e) +2010376
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1209

 

Please help me to solve this error.

Thanks in Advance.

Reply Reply Using Power Editor

Read this

ram kumar replied to Mohammed Akhtar

EggHeadCafe's human moderators scored this post for our messageboard contest.

09-Jan-09 05:40 AM

Hi,

The page you selected contains a list that does not exist.  It may have been deleted by another user. Troubleshoot issues with Windows SharePoint Services. I had no problem viewing my site and couldn't figure out what was wrong.  I then looked at the URL for the page which was:
http://[sharepoint-site-URL]/_layouts/AccessDenied.aspx?Source=[SharePoint-site-URL]&Type=list&name=%7B2007BFAB%2D9CC4%2D41DA%2D8ED0%2D7E4C5BDAE90C%7D 
The key here was the AccessDenied pages and the name query string value:
7B2007BFAB%2D9CC4%2D41DA%2D8ED0%2D7E4C5BDAE90C%7D

After decoding the html encoded characters out I got a GUID of:
{2007BFAB-9CC4-41DA-8ED0-7E4C5BDAE90C}If you look at the name, it is actually the id of ‘list item’ that the user has been denied access from viewing. I then went to central administration to get the name of the content database of the site I was working on, and then went to SQL Server Management Studio and expanded my content database to dbo.AllLists.I ran a query against my content database for the list that users have been denied access to.select * from dbo.alllists
where tp_id='{2007BFAB-9CC4-41DA-8ED0-7E4C5BDAE90C}' I received one result with a tp_Title of ‘Master Page Gallery’ That was all I needed.  I then went to my page and looked at the template it was using.  It was using a custom page layout I created. I proceeded to look at my Master Page Gallery and saw that the page layout it was using was never checked in and was in a ‘pending’ status. 

 

Rams



Reply Reply Using Power Editor

Reply

alice johnson replied to Mohammed Akhtar

09-Jan-09 10:42 AM

See this blog, eveything is clearrly explained here:

http://www.sharepointblogs.com/camper/archive/2007/08/27/list-does-not-exist-error-message-1-cause.aspx

This will surely help you.



Reply Reply Using Power Editor


digg facebook google buzz reddit del.icio.us stumble upon twitter

Didn't Find The Answer You Were Looking For?

EggHeadCafe has experts online right now that may know the answer to your question.  We pay them a bonus for answering as many questions as they can.  So, why not help them and yourself by becoming a member (free) and ask them your question right now?
Ask Question In Live Forum










Pete's Resume  |  Robbe's Resume  |  Neado  |  Free Icons  |  Privacy  |   (c) 2010