Access Denied error exporting a report to specified export path during Collection-Evaluation-Reporting (C-E-R) job workflow
Last Updated February 29, 2012
Exporting a report during a Control Compliance Suite (CCS) Collection-Evaluation-Reporting job generates an error 'Access to the path '\\Share\Directory\File.pdf' is denied'
CRFrameworkGenerator - [RPTG_ReportRefreshJob] Exception occurred in the method ExportReportToDisk with error message: System.UnauthorizedAccessException: Access to the path '\\Share\Directory\File.pdf' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode)
at CrystalDecisions.CrystalReports.Engine.FormatEngine.WriteStreamToFile(Stream stream, String filename)
at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportStreamToFile(Stream stream, DiskFileDestinationOptions options)
at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToDisk(ExportFormatType formatType, String fileName)
The Symantec Application Server Service (AppserverService) impersonates the user that creates the Collection-Evaluation-Reporting job. The Log On as account does not have rights to export the report to the path selected during Create or Edit Collection-Evaluation-Reporting job wizard.
Grant the appropriate permissions to Symantec Application Server Service (AppserverService) account for the export path selected during C-E-R job creation.
Imported Document ID: TECH182678
Subscribing will provide email updates when this Article is updated. Login is required to Subscribe