954,180 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

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
Team Colleague
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
 

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

Castle01
Newbie Poster
1 post since Dec 2009
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You