Posts

Showing posts with the label Crystal Reports

Crystal Reports - Access to report file denied

Recently I had to set up some virtual development and testing servers for some of our ASP.NET apps. Some existing servers were being retired and it was a good time to clean up the existing environments. The task was simple, install Windows 2000, SQL 2000, IIS 6 and promote our existing dev/test apps. Or so I thought…. Everything ran smoothly until I decided to test our reporting functionality and I was hit with an error message that appears to be pretty common: "C:\DOCUME~1\<server>\ASPNET\LOCALS~1\Temp\<temp report file>.rpt: Access to report file denied. Another program may be using it." My original thought, and seemingly the one with the greatest possibility for success, was granting appropriate permissions to this temp folder. A quick (unnecessary) perusal of the code confirmed that the file was being output to the current working directory - the temp folder of the ASP.NET account. So I gave ASP.NET write access to this folder….still no good. The same message...