none
Documents are not downloading from RMS protected SharePoint 2013 library

    Question

    • On my LAN i have two SharePoint Server 2013 and one ADRMS server.
    • In my old SharePoint server ADRMS is working perfectly fine.
    • i recently installed new SP 2013 server and configured the same RMS server with my  newly installed SharePoint 2013.
    • The problem arise when i try to download a document from ADRMS protected document i get error code: 80070057
    • Following are the ULS logs

    05/24/2018 00:11:30.14 w3wp.exe (0x2B38) 0x06C4 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:http://sharepoint:80/sites/MySite/_layouts/15/download.aspx?SourceUrl=%2Fsites%2FMySite%2FTestLib%2FTPT%20SLIP%2Edoc&FldUrl=&Source=http%3A%2F%2Fsharepoint%2Fsites%2FMySite%2FTestLib%2FForms%2FAllItems%2Easpx) 9d326a9e-fb95-305a-6623-601f3bb1696f

    05/24/2018 00:11:30.14 w3wp.exe (0x2B38) 0x06C4 SharePoint Foundation Authentication Authorization agb9s Medium Non-OAuth request. IsAuthenticated=True, UserIdentityName=0#.w|domain\57432, ClaimsCount=32 9d326a9e-fb95-305a-6623-601f3bb1696f

    05/24/2018 00:11:30.15 w3wp.exe (0x2B38) 0x06C4 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/sites/MySite 9d326a9e-fb95-305a-6623-601f3bb1696f

    05/24/2018 00:11:30.15 w3wp.exe (0x2B38) 0x06C4 SharePoint Foundation Authentication Authorization aib35 Medium SPShareByLinkHandler.Initialize : Not a ShareByLink request - missing access token 9d326a9e-fb95-305a-6623-601f3bb1696f

    05/24/2018 00:11:30.15 w3wp.exe (0x2B38) 0x06C4 SharePoint Foundation Authentication Authorization aib35 Medium SPShareByLinkHandler.Initialize : Not a ShareByLink request - missing access token 9d326a9e-fb95-305a-6623-601f3bb1696f

    05/24/2018 00:11:30.15 w3wp.exe (0x2B38) 0x06C4 SharePoint Foundation Authentication Authorization aiqmc Medium Download.OnLoad : This is not a ShareByLink request. Ensure user is authenticated and download the file. 9d326a9e-fb95-305a-6623-601f3bb1696f

    05/24/2018 00:11:30.17 w3wp.exe (0x2B38) 0x06C4 SharePoint Foundation Information Rights Management 5202 Information Information Rights Management (IRM): Requesting user email address is empty. 9d326a9e-fb95-305a-6623-601f3bb1696f

    05/24/2018 00:11:30.17 w3wp.exe (0x2B38) 0x06C4 SharePoint Foundation Files 00000 High UserAgent not available, file operations may not be optimized.    at Microsoft.SharePoint.SPFileStreamManager.CreateCobaltStreamContainer(SPFileStreamStore spfs, ILockBytes ilb, Boolean copyOnFirstWrite, Boolean disposeIlb)     at Microsoft.SharePoint.SPFileStreamManager.SetInputLockBytes(SPFileInfo& fileInfo, SqlSession session, PrefetchResult prefetchResult)     at Microsoft.SharePoint.CoordinatedStreamBuffer.SPCoordinatedStreamBufferFactory.CreateFromDocumentRowset(Guid databaseId, SqlSession session, SPFileStreamManager spfstm, Object[] metadataRow, SPRowset contentRowset, SPDocumentBindRequest& dbreq, SPDocumentBindResults& dbres)     at Microsoft.SharePoint.SPSqlClient.GetDocumentContentRow(Int32 rowOrd, Object ospFileStmMgr, SPDocumentBindRequest& dbreq, SPDocumentBindResults& dbres)     at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAsStream(String bstrUrl, String bstrWebRelativeUrl, Boolean bHonorLevel, Byte iLevel, OpenBinaryFlags grfob, String bstrEtagNotMatch, Object punkSPFileMgr, Boolean bHonorCustomIrm, IrmProtectionParams fileIrmSettings, String& pEtagNew, String& pContentTagNew, SPFileInfo& pFileProps)     at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAsStream(String bstrUrl, String bstrWebRelativeUrl, Boolean bHonorLevel, Byte iLevel, OpenBinaryFlags grfob, String bstrEtagNotMatch, Object punkSPFileMgr, Boolean bHonorCustomIrm, IrmProtectionParams fileIrmSettings, String& pEtagNew, String& pContentTagNew, SPFileInfo& pFileProps)     at Microsoft.SharePoint.Library.SPRequest.GetFileAsStream(String bstrUrl, String bstrWebRelativeUrl, Boolean bHonorLevel, Byte iLevel, OpenBinaryFlags grfob, String bstrEtagNotMatch, Object punkSPFileMgr, Boolean bHonorCustomIrm, IrmProtectionParams fileIrmSettings, String& pEtagNew, String& pContentTagNew, SPFileInfo& pFileProps)     at Microsoft.SharePoint.SPFile.GetFileStream(SPWeb web, String fileUrl, Boolean honorLevel, SPFileLevel level, OpenBinaryFlags openOptions, String etagNotMatch, SPFileStreamManager spMgr, SPFileRightsManagementSettings rightsManagementSettings, String& etagNew, String& contentTagNew, SPFileInfo& fileprops)     at Microsoft.SharePoint.SPFile.GetFileStream(OpenBinaryFlags openOptions, String etagNotMatch, String& etagNew, String& contentTagNew)     at Microsoft.SharePoint.SPFile.OpenBinaryStream(SPOpenBinaryOptions openOptions, String etagNotMatch, String& etagNew)     at Microsoft.SharePoint.ApplicationPages.Download.WriteFileInternal(String sourceUrl, SPFile file)     at Microsoft.SharePoint.ApplicationPages.Download.OnLoad(EventArgs e)     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()     at System.Web.UI.Page.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.PipelineStepManager.ResumeSteps(Exception error)     at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)     at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) 9d326a9e-fb95-305a-6623-601f3bb1696f

    05/24/2018 00:11:30.17 w3wp.exe (0x2B38) 0x06C4 SharePoint Foundation Files aiv4w Medium Spent 0 ms to bind 34816 byte file stream 9d326a9e-fb95-305a-6623-601f3bb1696f

    05/24/2018 00:11:30.19 w3wp.exe (0x2B38) 0x06C4 SharePoint Foundation Files 00000 High UserAgent not available, file operations may not be optimized.    at Microsoft.SharePoint.SPFileStreamManager.get_UserAgent()     at Microsoft.SharePoint.SPFileStreamManager.CreateOutputLockBytes(Int64 cbContentHint)     at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAsStream(String bstrUrl, String bstrWebRelativeUrl, Boolean bHonorLevel, Byte iLevel, OpenBinaryFlags grfob, String bstrEtagNotMatch, Object punkSPFileMgr, Boolean bHonorCustomIrm, IrmProtectionParams fileIrmSettings, String& pEtagNew, String& pContentTagNew, SPFileInfo& pFileProps)     at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAsStream(String bstrUrl, String bstrWebRelativeUrl, Boolean bHonorLevel, Byte iLevel, OpenBinaryFlags grfob, String bstrEtagNotMatch, Object punkSPFileMgr, Boolean bHonorCustomIrm, IrmProtectionParams fileIrmSettings, String& pEtagNew, String& pContentTagNew, SPFileInfo& pFileProps)     at Microsoft.SharePoint.Library.SPRequest.GetFileAsStream(String bstrUrl, String bstrWebRelativeUrl, Boolean bHonorLevel, Byte iLevel, OpenBinaryFlags grfob, String bstrEtagNotMatch, Object punkSPFileMgr, Boolean bHonorCustomIrm, IrmProtectionParams fileIrmSettings, String& pEtagNew, String& pContentTagNew, SPFileInfo& pFileProps)     at Microsoft.SharePoint.SPFile.GetFileStream(SPWeb web, String fileUrl, Boolean honorLevel, SPFileLevel level, OpenBinaryFlags openOptions, String etagNotMatch, SPFileStreamManager spMgr, SPFileRightsManagementSettings rightsManagementSettings, String& etagNew, String& contentTagNew, SPFileInfo& fileprops)     at Microsoft.SharePoint.SPFile.GetFileStream(OpenBinaryFlags openOptions, String etagNotMatch, String& etagNew, String& contentTagNew)     at Microsoft.SharePoint.SPFile.OpenBinaryStream(SPOpenBinaryOptions openOptions, String etagNotMatch, String& etagNew)     at Microsoft.SharePoint.ApplicationPages.Download.WriteFileInternal(String sourceUrl, SPFile file)     at Microsoft.SharePoint.ApplicationPages.Download.OnLoad(EventArgs e)     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()     at System.Web.UI.Page.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.PipelineStepManager.ResumeSteps(Exception error)     at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)     at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) 9d326a9e-fb95-305a-6623-601f3bb1696f

    05/24/2018 00:11:30.23 w3wp.exe (0x2B38) 0x06C4 SharePoint Foundation Information Rights Management 5806 Critical Information Rights Management (IRM): The email of the requesting user is empty. 9d326a9e-fb95-305a-6623-601f3bb1696f

    05/24/2018 00:11:30.23 w3wp.exe (0x2B38) 0x06C4 SharePoint Foundation Information Rights Management 5065 Critical Information Rights Management (IRM): There was a problem while trying to customize a base issuance license for a protected file. Current file: TestLib/TPT SLIP.doc GUID of current list: {A0D2C071-C586-4497-BB1C-CB4D32595909}  An issuance licenses stored in an IRM protected file is customized from a generic issuance license template.  Additional Data Error value: 0x80070057 9d326a9e-fb95-305a-6623-601f3bb1696f

    05/24/2018 00:11:30.23 w3wp.exe (0x2B38) 0x06C4 SharePoint Foundation Information Rights Management 5820 Critical Information Rights Management (IRM): There was a problem while initializing IRM document. Status value: -1, error value: 0x80070057. 9d326a9e-fb95-305a-6623-601f3bb1696f

    05/24/2018 00:11:30.23 w3wp.exe (0x2B38) 0x06C4 SharePoint Foundation Information Rights Management 5815 Information Information Rights Management (IRM): The URL of the RMS server is: http://adrms.domain.com/_wmcs/licensing. 9d326a9e-fb95-305a-6623-601f3bb1696f

    05/24/2018 00:11:30.36 w3wp.exe (0x2B38) 0x06C4 SharePoint Foundation Information Rights Management 5809 Information Information Rights Management (IRM): Initial certificate acquisition action was completed with result code: 0x0. 9d326a9e-fb95-305a-6623-601f3bb1696f

    05/24/2018 00:11:30.36 w3wp.exe (0x2B38) 0x06C4 SharePoint Foundation Information Rights Management 5808 Information Information Rights Management (IRM): Initial certificate acquisition and other Rights Management Services (RMS) initialization actions were completed with result code: 0x0. 9d326a9e-fb95-305a-6623-601f3bb1696f

    05/24/2018 00:11:30.40 w3wp.exe (0x2B38) 0x06C4 SharePoint Foundation Information Rights Management 5806 Critical Information Rights Management (IRM): The email of the requesting user is empty. 9d326a9e-fb95-305a-6623-601f3bb1696f

    05/24/2018 00:11:30.40 w3wp.exe (0x2B38) 0x06C4 SharePoint Foundation Information Rights Management 5065 Critical Information Rights Management (IRM): There was a problem while trying to customize a base issuance license for a protected file. Current file: TestLib/TPT SLIP.doc GUID of current list: {A0D2C071-C586-4497-BB1C-CB4D32595909}  An issuance licenses stored in an IRM protected file is customized from a generic issuance license template.  Additional Data Error value: 0x80070057 9d326a9e-fb95-305a-6623-601f3bb1696f

    05/24/2018 00:11:30.40 w3wp.exe (0x2B38) 0x06C4 SharePoint Foundation Information Rights Management 5820 Critical Information Rights Management (IRM): There was a problem while initializing IRM document. Status value: -1, error value: 0x80070057. 9d326a9e-fb95-305a-6623-601f3bb1696f

    05/24/2018 00:11:30.40 w3wp.exe (0x2B38) 0x06C4 SharePoint Foundation Information Rights Management ai4ko Medium Information Rights Management (IRM): The IRM status of the document [TestLib/TPT SLIP.doc] is: wssirmfailed (11), the return values is: 0x0. 9d326a9e-fb95-305a-6623-601f3bb1696f

    05/24/2018 00:11:30.40 w3wp.exe (0x2B38) 0x06C4 SharePoint Foundation General 8kh7 High The document you tried to download could not be protected. You may need to contact the library administrator to help resolving. Error code is: 80070057. 9d326a9e-fb95-305a-6623-601f3bb1696f

    05/24/2018 00:11:30.40 w3wp.exe (0x2B38) 0x06C4 SharePoint Foundation Database ahjqp High [Forced due to logging gap, cached @ 05/24/2018 00:11:30.19, Original Level: Verbose] SQL connection time: 0.0712 9d326a9e-fb95-305a-6623-601f3bb1696f

    05/24/2018 00:11:30.40 w3wp.exe (0x2B38) 0x06C4 SharePoint Foundation General aix9j High SPRequest.GetFileAsStream: UserPrincipalName=i:0).w|s-1-5-21-2230921547-809759000-1085298658-1436, AppPrincipalName= ,bstrUrl=http://sharepoint/sites/MySite ,bstrWebRelativeUrl=TestLib/TPT SLIP.doc ,bHonorLevel=False ,iLevel=1 ,grfob=OpenBinaryFlags_None ,bstrEtagNotMatch=<null> ,punkSPFileMgr=<null> ,bHonorCustomIrm=False 9d326a9e-fb95-305a-6623-601f3bb1696f

    05/24/2018 00:11:30.40 w3wp.exe (0x2B38) 0x06C4 SharePoint Foundation General ai1wu Medium System.Runtime.InteropServices.COMException: The document you tried to download could not be protected. You may need to contact the library administrator to help resolving. Error code is: 80070057., StackTrace:    at Microsoft.SharePoint.SPFile.GetFileStream(SPWeb web, String fileUrl, Boolean honorLevel, SPFileLevel level, OpenBinaryFlags openOptions, String etagNotMatch, SPFileStreamManager spMgr, SPFileRightsManagementSettings rightsManagementSettings, String& etagNew, String& contentTagNew, SPFileInfo& fileprops)     at Microsoft.SharePoint.SPFile.GetFileStream(OpenBinaryFlags openOptions, String etagNotMatch, String& etagNew, String& contentTagNew)     at Microsoft.SharePoint.SPFile.OpenBinaryStream(SPOpenBinaryOptions openOptions, String etagNotMatch, String& etagNew)     at Microsoft.SharePoint.ApplicationPages.Download.WriteFileInternal(String sourceUrl, SPFile file)     at Microsoft.SharePoint.ApplicationPages.Download.OnLoad(EventArgs e)     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()     at System.Web.UI.Page.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.PipelineStepManager.ResumeSteps(Exception error)     at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)     at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) 9d326a9e-fb95-305a-6623-601f3bb1696f

    05/24/2018 00:11:30.40 w3wp.exe (0x2B38) 0x06C4 SharePoint Foundation General 8nca Medium Application error when access /_layouts/15/download.aspx, Error=The document you tried to download could not be protected. You may need to contact the library administrator to help resolving. Error code is: 80070057.   at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAsStream(String bstrUrl, String bstrWebRelativeUrl, Boolean bHonorLevel, Byte iLevel, OpenBinaryFlags grfob, String bstrEtagNotMatch, Object punkSPFileMgr, Boolean bHonorCustomIrm, IrmProtectionParams fileIrmSettings, String& pEtagNew, String& pContentTagNew, SPFileInfo& pFileProps)     at Microsoft.SharePoint.Library.SPRequest.GetFileAsStream(String bstrUrl, String bstrWebRelativeUrl, Boolean bHonorLevel, Byte iLevel, OpenBinaryFlags grfob, String bstrEtagNotMatch, Object punkSPFileMgr, Boolean bHonorCustomIrm, IrmProtectionParams fileIrmSettings, String& pEtagNew, String& pContentTagNew, SPFileInfo& pFileProps) 9d326a9e-fb95-305a-6623-601f3bb1696f

    05/24/2018 00:11:30.40 w3wp.exe (0x2B38) 0x06C4 SharePoint Foundation Runtime tkau Unexpected System.Runtime.InteropServices.COMException: The document you tried to download could not be protected. You may need to contact the library administrator to help resolving. Error code is: 80070057.    at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAsStream(String bstrUrl, String bstrWebRelativeUrl, Boolean bHonorLevel, Byte iLevel, OpenBinaryFlags grfob, String bstrEtagNotMatch, Object punkSPFileMgr, Boolean bHonorCustomIrm, IrmProtectionParams fileIrmSettings, String& pEtagNew, String& pContentTagNew, SPFileInfo& pFileProps)     at Microsoft.SharePoint.Library.SPRequest.GetFileAsStream(String bstrUrl, String bstrWebRelativeUrl, Boolean bHonorLevel, Byte iLevel, OpenBinaryFlags grfob, String bstrEtagNotMatch, Object punkSPFileMgr, Boolean bHonorCustomIrm, IrmProtectionParams fileIrmSettings, String& pEtagNew, String& pContentTagNew, SPFileInfo& pFileProps) 9d326a9e-fb95-305a-6623-601f3bb1696f

    05/24/2018 00:11:30.40 w3wp.exe (0x2B38) 0x06C4 SharePoint Foundation General ajlz0 High Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.SharePoint.SPException: The document you tried to download could not be protected. You may need to contact the library administrator to help resolving. Error code is: 80070057. ---> System.Runtime.InteropServices.COMException: The document you tried to download could not be protected. You may need to contact the library administrator to help resolving. Error code is: 80070057.     at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAsStream(String bstrUrl, String bstrWebRelativeUrl, Boolean bHonorLevel, Byte iLevel, OpenBinaryFlags grfob, String bstrEtagNotMatch, Object punkSPFileMgr, Boolean bHonorCustomIrm, IrmProtectionParams fileIrmSettings, String& pEtagNew, String& pContentTagNew, SPFileInfo& pFileProps)     at Microsoft.SharePoint.Library.SPRequest.GetFileAsStream(String bstrUrl, String bstrWebRelativeUrl, Boolean bHonorLevel, Byte iLevel, OpenBinaryFlags grfob, String bstrEtagNotMatch, Object punkSPFileMgr, Boolean bHonorCustomIrm, IrmProtectionParams fileIrmSettings, String& pEtagNew, String& pContentTagNew, SPFileInfo& pFileProps)     --- End of inner exception stack trace ---     at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)     at Microsoft.SharePoint.Library.SPRequest.GetFileAsStream(String bstrUrl, String bstrWebRelativeUrl, Boolean bHonorLevel, Byte iLevel, OpenBinaryFlags grfob, String bstrEtagNotMatch, Object punkSPFileMgr, Boolean bHonorCustomIrm, IrmProtectionParams fileIrmSettings, String& pEtagNew, String& pContentTagNew, SPFileInfo& pFileProps)     at Microsoft.SharePoint.SPFile.GetFileStream(SPWeb web, String fileUrl, Boolean honorLevel, SPFileLevel level, OpenBinaryFlags openOptions, String etagNotMatch, SPFileStreamManager spMgr, SPFileRightsManagementSettings rightsManagementSettings, String& etagNew, String& contentTagNew, SPFileInfo& fileprops)     at Microsoft.SharePoint.SPFile.GetFileStream(OpenBinaryFlags openOptions, String etagNotMatch, String& etagNew, String& contentTagNew)     at Microsoft.SharePoint.SPFile.OpenBinaryStream(SPOpenBinaryOptions openOptions, String etagNotMatch, String& etagNew)     at Microsoft.SharePoint.ApplicationPages.Download.WriteFileInternal(String sourceUrl, SPFile file)     at Microsoft.SharePoint.ApplicationPages.Download.OnLoad(EventArgs e)     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.HandleError(Exception e)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()     at System.Web.UI.Page.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 9d326a9e-fb95-305a-6623-601f3bb1696f

    05/24/2018 00:11:30.40 w3wp.exe (0x2B38) 0x06C4 SharePoint Foundation General aat87 Monitorable 9d326a9e-fb95-305a-6623-601f3bb1696f

    05/24/2018 00:11:30.42 w3wp.exe (0x2B38) 0x06C4 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:http://sharepoint:80/sites/MySite/_layouts/15/download.aspx?SourceUrl=%2Fsites%2FMySite%2FTestLib%2FTPT%20SLIP%2Edoc&FldUrl=&Source=http%3A%2F%2Fsharepoint%2Fsites%2FMySite%2FTestLib%2FForms%2FAllItems%2Easpx)). Execution Time=289.1334 9d326a9e-fb95-305a-6623-601f3bb1696f

    Thursday, May 24, 2018 8:15 AM

Answers

  • I kind of solved this issue

    -User that is used for AD Synchronization must be a privileged user.

    -Email Address of users must be mapped from AD import in UserProfileService.

    • Marked as answer by arslan0tahir Friday, May 25, 2018 4:31 AM
    Friday, May 25, 2018 4:31 AM