Anonymous access not working for lists and libraries

I am banging my head against a wall here on what should be a trivial issue.

I have just one site set up that is going to be used predominantly as an internet, but have a component for users to login as an extranet. I have gone thru everythign and still I am having a significant issue. Anything that is a list or library is not visible when logging and requires a password if I enter the URL directly.

Background:
* SharePoint 2007 installed and all components of the website appear to work correctly when anonymous access is not enabled and I login.
* "Anonymous Access" setup on IIS. (done)
* Central Admin -> Application Management -> Authentication Providers -> "Enable anonymous access" is checked (done)
***** Set up to use Windows Authentication
* Main Site -> Site Actions -> Site Settings -> Modify All Site Settings -> Advanced Permissions -> Settings -> Anonymous Access -> "Entire Web Site" (done)

- If I only do "List and Libraries" it will automatically prompt me to login as expected.
- I have tried specifically enabling anonymous access on every list and library; with no luck.

Any help would be very much appreciated!!!



Answer this question

Anonymous access not working for lists and libraries

  • Amit Bansal

    Randine,

    I never resolved the "actual" cause of this issue. I tried everything under the sun... multiple times. During the course of my research I remember finding one reference where someone had stated there was an issue that if you do not specifiy "anonymous access" enabled when creating the initial site collection, it does not always work when trying to enable it after the fact. I could not find where are what the internal setting was, so I finally had to start over and recreate the site collection. When I did that and made sure "anonymous access" was enabled from the beginning, it worked fine.

    The knowledge base I referred to was just in the Microsoft Support.

    I hope this helps even though it is not the ideal answer.

    Greg


  • mattdawg

    You don't need to swich anything directly on IIS. SharePont manages it itself. All you need is set the check box at Central Administration > Application Management > Authentication Providers > Select proper web application and zone here! > Edit Authentication. And any lists and libraries must have no directly set permissons but inherit them from the root of the site.

    So maybe the trouble is that you manually change IIS configuration. I think you should try swithing all these back (inclusing sharepoint settings), then perform iisreset (restrart IIS), then make sure that everything works as expected (no anonimous allowed) and then try to change only the setting I mentioned above.

    Good luck.

    P.S. If you have multiple zonez and only some of them are supposed to allow anonimous, then please check if the links you follow (and the address you type) are for the proper zone.


  • kunal.pandya

    The only errors that I see are as follows:

    C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\LOGS

    02/28/2007 19:01:58.82  w3wp.exe (0x0A78)                        0x10FC CMS                            Publishing                     8ztg Medium   Got List Item Version, but item was null. 
    02/28/2007 19:01:59.38  w3wp.exe (0x0A78)                        0x10FC Windows SharePoint Services    General                        0 Medium   Potentially excessive number of SPRequest objects (9) currently unreleased on thread 1.  Ensure that this object or its parent (such as an SPWeb or SPSite) is being properly disposed.  Allocation Id for this object: {9E902602-42CB-4C1B-9F4B-82A043DAEBBF} Stack trace of current allocation:    at Microsoft.SharePoint.SPRequestManager.Add(SPRequest request, Boolean shareable)     at Microsoft.SharePoint.SPGlobal.CreateSPRequestAndSetIdentity(Boolean bNotGlobalAdminCode, String strUrl, Boolean bNotAddToContext, Byte[] UserToken, Boolean bIgnoreTokenTimeout, Boolean bAsAnonymous)     at Microsoft.SharePoint.SPWeb.InitializeSPRequest()     at Microsoft.SharePoint.SPWeb.EnsureSPRequest()     at Microsoft.SharePoint.SPWeb.get_Request()     at Microsoft.SharePoint.SPWeb.InitWebPublic()     at Micro... 
    02/28/2007 19:01:59.38* w3wp.exe (0x0A78)                        0x10FC Windows SharePoint Services    General                        0 Medium   ...soft.SharePoint.SPWeb.get_Exists()     at Microsoft.SharePoint.Publishing.CachedObjectFactory.CreateWebFromUrl(String url)     at Microsoft.SharePoint.Publishing.Navigation.SPNavigationSiteMapNode..ctor(PortalWebSiteMapNode webNode, SPNavigationNode node, PortalSiteMapNode parentNode, NodeTypes type, String url, String title, String description)     at Microsoft.SharePoint.Publishing.Navigation.SPNavigationSiteMapNode.CreateSPNavigationSiteMapNode(PortalWebSiteMapNode webNode, SPNavigationNode node, PortalSiteMapNode parentNode)     at Microsoft.SharePoint.Publishing.Navigation.PortalWebSiteMapNode.ProcessSPNavigationNode(SPNavigationNode node, SPNavigationNode previousSibling, PortalSiteMapNode parentNode)     at Microsoft.SharePoint.Publishing.Navigation.PortalWebSiteMapNode.PopulateNavi... 
    02/28/2007 19:01:59.38* w3wp.exe (0x0A78)                        0x10FC Windows SharePoint Services    General                        0 Medium   ...gationChildren()     at Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapNode.GetNavigationChildren(NodeTypes includedTypes, NodeTypes includedHiddenTypes, OrderingMethod ordering, AutomaticSortingMethod method, Boolean ascending, Int32 lcid)     at Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapNode.GetNavigationChildren(NodeTypes includedHiddenTypes)     at Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapProvider.GetChildNodes(PortalSiteMapNode node, NodeTypes includedHiddenTypes)     at Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapProvider.GetChildNodes(SiteMapNode node)     at System.Web.SiteMapNode.get_ChildNodes()     at System.Web.UI.WebControls.SiteMapDataSource.GetNodes()     at System.Web.UI.WebControls.SiteMapDataSource.GetTreeView(String viewP... 
    02/28/2007 19:01:59.38* w3wp.exe (0x0A78)                        0x10FC Windows SharePoint Services    General                        0 Medium   ...ath)     at System.Web.UI.WebControls.SiteMapDataSource.GetHierarchicalView(String viewPath)     at Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapDataSource.GetHierarchicalView(String viewPath)     at System.Web.UI.HierarchicalDataSourceControl.System.Web.UI.IHierarchicalDataSource.GetHierarchicalView(String viewPath)     at System.Web.UI.WebControls.HierarchicalDataBoundControl.GetData(String viewPath)     at System.Web.UI.WebControls.Menu.DataBindItem(MenuItem item)     at System.Web.UI.WebControls.Menu.PerformDataBinding()     at System.Web.UI.WebControls.HierarchicalDataBoundControl.PerformSelect()     at System.Web.UI.WebControls.BaseDataBoundControl.DataBind()     at System.Web.UI.WebControls.Menu.DataBind()     at System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBo... 
    02/28/2007 19:01:59.38* w3wp.exe (0x0A78)                        0x10FC Windows SharePoint Services    General                        0 Medium   ...und()     at System.Web.UI.WebControls.Menu.EnsureDataBound()     at System.Web.UI.WebControls.Menu.OnPreRender(EventArgs e, Boolean registerScript)     at System.Web.UI.WebControls.Menu.OnPreRender(EventArgs e)     at Microsoft.SharePoint.WebControls.AspMenu.OnPreRender(EventArgs e)     at System.Web.UI.Control.PreRenderRecursiveInternal()     at System.Web.UI.Control.PreRenderRecursiveInternal()     at System.Web.UI.Control.PreRenderRecursiveInternal()     at System.Web.UI.Control.PreRenderRecursiveInternal()     at System.Web.UI.Control.PreRenderRecursiveInternal()     at System.Web.UI.Control.PreRenderRecursiveInternal()     at System.Web.UI.Control.PreRenderRecursiveInternal()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfte... 
    02/28/2007 19:01:59.38* w3wp.exe (0x0A78)                        0x10FC Windows SharePoint Services    General                        0 Medium   ...rAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()     at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)     at System.Web.UI.Page.ProcessRequest(HttpContext context)     at ASP._layouts_user_aspx.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)     at System.Web.HttpApplication.ResumeSteps(Exception error)     at System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)     at Sys... 
    02/28/2007 19:01:59.38* w3wp.exe (0x0A78)                        0x10FC Windows SharePoint Services    General                        0 Medium   ...tem.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)     at System.Web.HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)     at System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)   
    ...
    ...

    02/28/2007 19:03:25.98  w3wp.exe (0x16CC)                        0x1280 Windows SharePoint Services    Topology                       0 Medium   Configuring the virtual directory to allow anonymous access. 
    02/28/2007 19:03:25.98  w3wp.exe (0x16CC)                        0x1280 Windows SharePoint Services    Topology                       0 Medium   Configuring the virtual directory content expiration. 

    The only errors that I saw in the "Application" Event Viewer were:

    Error loading and running event receiver Microsoft.SharePoint.Publishing.Internal.ScheduledItemEventReceiver in Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c. Additional information is below.
    : Invalid List Item. The List Item provided is not compatible with a Scheduled Item.
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

    The only errors that I saw in the "System" Event Viewer were:

    The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID
    {61738644-F196-11D0-9953-00C04FD919C1}
     to the user SOLUTIONS\wi_wss_ServerFarm SID (S-1-5-21-57989841-1078145449-1708537768-2612).  This security permission can be modified using the Component Services administrative tool.

    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

    I fixed the last set of errors  based on a knowledge base.  I still have not resolved the Anonymous Access problem for lists/libraries.  I heard about a possible issue in which the "Style Libraries" are not allowing anonymous access.  I specifically granted anonymous access to that, but it did nto fix it either.


  • Legacyofkain

    How did you fix the below error please Which knowledge base are you refering to as I am having the same error!

    Error loading and running event receiver Microsoft.SharePoint.Publishing.Internal.ScheduledItemEventReceiver in Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c. Additional information is below.
    : Invalid List Item. The List Item provided is not compatible with a Scheduled Item.
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

    The only errors that I saw in the "System" Event Viewer were:

    Many thanks in Advance



  • Techofhead

    Dude, no need to bang your head, here is the solution

    http://support.microsoft.com/kb/927082

    Veeraj Arasa

    Microsoft



  • Brian2

    http://support.microsoft.com/kb/927082 - Did this.

    Still not able to edit "limited access" perm level.Any help please...


  • Clinton Chau

    Hi Greg,

    I tried following these steps and creating a new site collection with anonymous access checked.  I am still unable to access lists and libraries after enabling anonymous access on the new site.  Did you create a new extranet site or was this all on the default intranet site

    When you say recreate the site collection, did you actually reinstall SharePoint server and create the site collection again or did you actually just delete the site collection that wasn't working and create it again

    Do you have a KB article or did you call support

     

    Thanks,

    Thomas Goddard


  • Gaurav_Gaur

    are there any errors in Windows (System or Application) or SharePoint ("C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\LOGS" by default; see the most recently changed file there) logs
  • vien11

    Thanks for the feedback, but it still doesn't want to work.

    I was surprised that I did not need to specifically allow anonymous access within IIS which is contrary to much of the documentation. I swithched that back, restarted IIS and changed all of my lists/libraries to inherit permissions from parent. When I go to the site I am able to access the main pages and navigate around (even go to subsites), but is still doesn't allow me to go to (or even see) any of my lists/libraries.


  • Sandeep A

    Thomas,

    Sorry I haven't followed up sooner, but I have been on vacation.

    Did the KB article that Veeraj Arasa refereced solve the issue As I noted in a previous post, I resolved my issue a different way, but this looks like it was what I was looking for, but could not find earlier.

    Regards,
    Greg


  • Anonymous access not working for lists and libraries