Monday, March 14, 2005 12:50 PM
"Access to the path 'C:\WINDOWS\TEMP\....tmp' is denied" When Exporting From Crystal Reports .NET
If you are exporting a Crystal Reports .NET report, and you get the following error (the filename in the error message will change with each attempt):
Access to the path "C:\WINDOWS\TEMP\export_6d7fb065-43ca-4ff3-a569-f55b2f472e70.tmp" is denied.
you need to grant MODIFY on the target directory to either ASPNET (on Win2K) or NetworkService (Win2K3) user accounts. If you are impersonating another user, you need to grant MODIFY to that user account instead. Crystal Reports .NET creates a temporary work file in the TEMP directory when it builds your report, and the user account your application is running under needs to have permission to write and delete in this folder. This permission is not set up automatically when you create or deploy your project.