(SharePoint Server 2019)
While exporting a document library from an old site via central admin I received the failed status with the error message:
Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)). (Correlation=4c348da0-f9f3-4036-fd6a-97757384df91) |
|
The Execute method of job definition Microsoft.SharePoint.Deployment.SPExportJobDefinition (ID e90505d7-a095-4b1f-9664-f01954edb6c9) threw an exception. More information is included below. Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)). (Correlation=4c348da0-f9f3-4036-fd6a-97757384df91)
Exception stack trace:
at Microsoft.SharePoint.SPGlobal.HandleUnauthorizedAccessException(UnauthorizedAccessException ex, Boolean allowCompleteRequest)
at Microsoft.SharePoint.Library.SPRequest.GetAllWebsOfSite(String bstrUrl, Object& pvarWebs, Object& pvarWebIds, Object& pvarParentWebs, Object& pvarLangs, Object& pvarTitles, Object& pvarUIVersions, Object& pvarFlags, Object& pvarWebTemplates, Object& pvarConfigurations, Object& pvarMasterUrls, Object& pvarCustomMasterUrls, Object& pvarAppInstanceIds)
at Microsoft.SharePoint.SPSite.SPWebCollectionProvider.GetWebsData(String[]& strNames, String[]& strServiceRelUrls, Guid[]& guidWebIds, Int32[]& nLanguages, String[]& strTitles, String[]& strDescriptions, String[]& strCreationTimes, String[]& strModifiedTimes, String[]& strUserModifiedTimes, Boolean[]& bUserIsWebAdmins, Int32[]& nWebTemplates, Int16[]& nProvisionConfigs, Int16[]& nMeetingCounts, Int32[]& nUIVersions, Int32[]& nFlags, String[]& strMasterUrls, String[]& strCustomMasterUrls, Guid[]& guidAppInstanceIds)
at Microsoft.SharePoint.SPWebCollection.EnsureWebsData()
at Microsoft.SharePoint.SPWebCollection.get_Item(Guid id)
at Microsoft.SharePoint.Deployment.SPExportJobDefinition.Run()
at Microsoft.SharePoint.Administration.Backup.SPUnattachedContentDatabaseJobDefinition.Execute(Guid targetInstanceId)
at Microsoft.SharePoint.Administration.SPTimerJobInvokeInternal.Invoke(SPJobDefinition jd, Guid targetInstanceId, Boolean isTimerService, Int32& result)