Skip to Content
0
N B
Nov 09, 2012 at 01:46 PM

Programmatically change Crystal's working folder (C:\Windows\Temp) to another in order to prevent having to set permissions on C:\Windows\Temp

623 Views

We are using the CrystalDecisions.CrystalReports.Engine.ReportDocument in Crystal Reports 2008 SP2 to run reports.

Is there a way to change the Crystal scratch pad folder from C:\Windows\Temp so I do not have to grant users rights to C:\Windows\Temp?

I looked at this discussion: http://scn.sap.com/thread/1723838

but the solution for that person was to modify permissions to have access to the C:\Windows\Temp folder.

We do not want to modify permissions on this system folder. We would like our program to create the temporary work file in a non-system folder (that we specify) vs. the C:\Windows\Temp folder when building a report, and then we can grant the proper permissions to this non-system folder.

Is there anyway to do this?

Thank you.