Why I am not able to export as image or PDF using Spotfire Automation service to a location on server

Hi All,


We have Spotfire automation services installed and using it I want to export a visualization as PDF or Image. I have already used the automation services for auto refresh and saving analysis to library. I am able to do it locally but while doing it on server the job is failing on the step of Exporting of file.

I am not sure why visualizations are not getting exported to a folder on server where automation service is installed. Spotfire Server is also installed on same machine.

Is there any other settings to be made for automation of export services

Error: DEBUG [Web Service-6564,29] Spotfire.Dxp.Automation.WebService.JobHandler: Found status file for job, status=Failed, message=Task 3 Export to PDF failed\nSystem.UnauthorizedAccessException: Access to the path 'E:\Export' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
   at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
   at Spotfire.Dxp.Application.Tools.ExportResult.Save(String directoryPath)
   at Spotfire.Dxp.Application.Document.Export(PdfExportSettings2 settings)
   at Spotfire.Dxp.Automation.Tasks.ExportPdf.ExecuteCore(TaskExecutionContext context)
   at Spotfire.Dxp.Automation.Extension.Task.Execute(TaskExecutionContext context).

(1) Answer