Quote:
quote:Originally posted by veeves
I am following the code on page 143 and 144 to export a report to pdf format. When I run it I get this error:
Error in File C:\DOCUME~1\VIVEIR~1\ASPNET\LOCALS~1\Temp\temp_a7e 994e5-1b08-4f48-95ec-80faf59faaed.rpt: Access to report file denied. Another program may be using it.
|
Is this in a web page? If so, I'm assuming it's running under the ASPNET account which probably doesn't have access to write to that directory.
Go to the TEMP directory and right click on it and select the Properties item. Look for ASPNET and see if it has read/write access to the directory and the files underneath. That is probably the problem.
You could also allow the EVERYONE group to have read/write access to it, but that's not a safe option.