Getting error while accessing site collection SharePoint 2010

I got following error while accessing one site collection using admin and any other accounts.

SharePoint root web application host more than 5 site collections. others site collection works without any error except one. 

when i checked log files then i found following error,

PortalSiteMapProvider was unable to fetch current node, request URL: /_layouts/viewlsts.aspx, message: Access denied.  You do not have permission to perform this action or access this resource., stack trace:  

 at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)   

 at Microsoft.SharePoint.Library.SPRequest.OpenWebInternal(String bstrUrl, Guid& pguidID, String& pbstrRequestAccessEmail, UInt32& pwebVersion, String& pbstrServerRelativeUrl, UInt32& pnLanguage, UInt32& pnLocale, String& pbstrDefaultTheme, String& pbstrDefaultThemeCSSUrl, String& pbstrThemedCssFolderUrl, String& pbstrAlternateCSSUrl, String& pbstrCustomizedCssFileList, String& pbstrCustomJSUrl, String& pbstrAlternateHeaderUrl, String& pbstrMasterUrl, String& pbstrCustomMasterUrl, String& pbstrSiteLogoUrl, String& pbstrSiteLogoDescription, Object& pvarUser, Boolean& pvarIsAuditor, Int32& plSiteFlags, Boolean& pbOverwriteMUICultures, Boolean& pbMUIEnabled, String& pbstrAlternateMUICultures, Int32& puiVersion, Int16& pnClientTag)   

 at Microsoft.SharePoint.SPWeb.InitWebPublic()   

 at Microsoft.SharePoint.SPWeb.get_Url()   

 at Microsoft.SharePoint.SPWeb.get_AllProperties()   

 at Microsoft.SharePoint.Publishing.SiteCacheSettings..ctor(SPSite site)   

 at Microsoft.SharePoint.Publishing.SiteCacheSettings.GetSiteCacheSettings(CacheManager cacheManager)   

 at Microsoft.SharePoint.Publishing.CacheManager..ctor(SPSite site)   

 at Microsoft.SharePoint.Publishing.CacheManager.GetManager(SPSite site, Boolean useContextSite, Boolean allowContextSiteOptimization)   

 at Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapProvider.get_ObjectFactory()   

 at Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapProvider.get_CurrentNode()

Thanks for help.

Deepak


August 17th, 2015 4:23pm

Hi,

Is there any customization done on this site collection, if yes revert it back and try to access the site again,

Check the DB for this particular not working site collection is under Read-Only mode in SQL.

Identify your web apps' app pool account using inetmgr and Login to central site administration ->
Go to Application management > Policy for web application ->Choose the web application where the inaccessible site collection exists -> Add a full control policy for the app pool account. 

Hope this helps :)

Free Windows Admin Tool Kit Click here and download it now
August 18th, 2015 1:18am

HI Reema,

thanks for your help.

well i did everything as you suggested but none of them helped me yet so trying to backup/restore whole db and mounting back to SharePoint site collection which may help us. well, its production issue but SQL guys have prod backup db ready because they take backup everyday so it makes our life easy.

Thanks,

Deepak Patel

August 18th, 2015 9:18am

Reema,

well we tested both way but still not working and getting same error.

Let me know if you can find any other way to resolve issue.

Thanks,

Deepak

Free Windows Admin Tool Kit Click here and download it now
August 18th, 2015 10:03am

Cause of issue :A web portal application pool account is one of our service account which was not part of our limited people picker for this site collection.

Solution:

Finally issue has been fixed by allowing Service Accounts of other OU of domain to access site by changing people picker limit as following by powershell,

PowerShell:

$site = Get-SPSite https://site

$site.UserAccountDirectoryPath = ;

Thanks,

Deepak Patel

August 18th, 2015 3:30pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics