problem in exporting crystal report
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
web_developer
Junior Poster in Training
84 posts since Mar 2006
Reputation Points: 10
Solved Threads: 1
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.
tgreer
Made Her Cry
2,118 posts since Dec 2004
Reputation Points: 227
Solved Threads: 37
tgreer, thanks dude
u were right, i changed the folder and i managed to export the file.
thanks again
sam
web_developer
Junior Poster in Training
84 posts since Mar 2006
Reputation Points: 10
Solved Threads: 1