List does not exist Error for Anonymous Users in SharePoint 2010

I was getting the “List does not exist error” for anonymous users, after enabling the debug mode I got the below loooong exception.

It doesn’t really point you with the actual error, after couple of digs; I figured that my master page gallery and style library has unique permission, not inheriting from the parent.

Inheriting the permission from the parent, solved the issue.

Server Error in ‘/’ Application.


List does not exist.

The page you selected contains a list that does not exist. It may have been deleted by another user.<nativehr>0x81020026</nativehr><nativestack></nativestack>

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: System.Runtime.InteropServices.COMException: List does not exist.

The page you selected contains a list that does not exist. It may have been deleted by another user.<nativehr>0x81020026</nativehr><nativestack></nativestack>

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:

[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.<nativehr>0x81020026</nativehr><nativestack></nativestack>]

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, Boolean bPrefetchRelatedFields, 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, Boolean bPrefetchRelatedFields, ISP2DSafeArrayWriter p2DWriter, Int32& plRecycleBinCount) +278

[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.SPGlobal.HandleComException(COMException comEx) +27257906

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, Boolean bPrefetchRelatedFields, ISP2DSafeArrayWriter p2DWriter, Int32& plRecycleBinCount) +27639327

Microsoft.SharePoint.SPListCollection.EnsureListsData(Guid webId, String strListName) +623

Microsoft.SharePoint.SPListCollection.ItemByInternalName(String strInternalName, Boolean bThrowException) +27372020

Microsoft.SharePoint.SPListCollection.get_Item(Guid uniqueID) +114

Microsoft.SharePoint.Publishing.CommonUtilities.GetListByID(SPWeb web, Guid listID, Boolean attemptCleanup) +346

Microsoft.SharePoint.Publishing.Internal.CachedVariationSettings.GetVariationLabelsList(SPWeb rootWeb) +123

Microsoft.SharePoint.Publishing.Internal.CachedVariationSettings..ctor(Guid siteId, SPUrlZone zone) +183

Microsoft.SharePoint.Publishing.Internal.<>c__DisplayClass1.<CreateVariationSettings>b__0() +429

Microsoft.SharePoint.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2() +729

Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode) +27488118

Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param) +27187865

Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode) +93

Microsoft.SharePoint.Publishing.Internal.CachedVariationSettings.CreateVariationSettings(Guid siteId, SPUrlZone zone, Boolean forceRefresh) +131

Microsoft.SharePoint.Publishing.Internal.WebControls.PublishingRibbonTrimmer.TrimVariationsGroup() +193

Microsoft.SharePoint.Publishing.Internal.WebControls.PublishingRibbonTrimmer.TrimPublishTab() +52

Microsoft.SharePoint.WebControls.SPPageStateControl.OnPreRender(EventArgs e) +621

Microsoft.SharePoint.Publishing.Internal.WebControls.PublishingPageStateControl.OnPreRender(EventArgs e) +788

System.Web.UI.Control.PreRenderRecursiveInternal() +108

System.Web.UI.Control.PreRenderRecursiveInternal() +224

System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3394


Version Information: Microsoft .NET Framework Version:2.0.50727.4952; ASP.NET Version:2.0.50727.4955

4 comments to List does not exist Error for Anonymous Users in SharePoint 2010

  • Also be sure that the web part is targeting the correct site or subsite. I had been editing my EnterpriseWiki page and adding a document library to the page, except when I went to the sub site to view the page it was embedded on I recieved the error the List does not exist, the reason it was saying that was because none of the subsites are allowed to have their own page layouts.

  • Sven

    Would you please turn of this shitty translation… I am really pissed of from that bad translation into german… Let the page be english.. If there are still some old german men who don’t understand that- they should use GTranslate..

  • Sorry for the incovenience…obviously i dont understand other than english….just installed the plugin, because it had some good review and ratings

  • Henry

    Hi

    What was the solution?

    Thanx 😉

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>