User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 422,554 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,626 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 2965 | Replies: 2
Reply
Join Date: Mar 2006
Posts: 84
Reputation: web_developer is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 1
web_developer web_developer is offline Offline
Junior Poster in Training

problem in exporting crystal report

  #1  
May 10th, 2006
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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Dec 2004
Posts: 1,590
Reputation: tgreer is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 35
Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: problem in exporting crystal report

  #2  
May 10th, 2006
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.
Reply With Quote  
Join Date: Mar 2006
Posts: 84
Reputation: web_developer is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 1
web_developer web_developer is offline Offline
Junior Poster in Training

Re: problem in exporting crystal report

  #3  
May 11th, 2006
tgreer, thanks dude

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

sam
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb ASP.NET Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the ASP.NET Forum

All times are GMT -4. The time now is 12:58 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC