0

hey developers

i am facing a new problem and need ur help.

i have a crystal report running perfect but when i press a button to export the report to specific type such as ("pdf", "excel"...)
i got this error.

Error in File C:\WINDOWS\TEMP\temp_d5b87b69-0a62-48a7-bb70-0f98fdbf36f2.rpt: Access to report file denied. Another program may be using it.

can anyone help me?

its urget

sam

3
Contributors
3
Replies
4
Views
11 Years
Discussion Span
Last Post by Castle01
0

Your ASPNET user account very likely does not have permissions to your Window's temp folder. You should create all temporary files within the webroot of your application.

I've never used Crystal Reports (as a PostScript/PDF coder, I create reports directly when needed), so this advice might be off-base: is there an object you need to "close"? If the file handle is still being controlled by some class/method/object in your program, you might not be able to access it. Make sure you do all the necessary housekeeping tasks.

0

tgreer, thanks dude

u were right, i changed the folder and i managed to export the file.
thanks again

sam

0

I am facing the same problem.Could you please let me know how to change the folder.please let me know by email [snipped]

Edited by Ezzaral: Snipped email. Please keep it on site.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.