-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: Sudha0829
Message 1 in Discussion

hi ,
 
i am using cr.net . i am able to view the report in the crystal report viewer. 
but not able to export the rpt file into pdf.
 
when i am trying to export the rpt file it is creating temp files in the temp 
directory(c:\widnows\temp\").
 
i got access denied error. Plese look into the below error
Error in File C:\WINDOWS\TEMP\temp_4f4283da-22b1-4c26-a371-589cd0d52e49.rpt: 
Access to report file denied. Another program may be using it. 
Description: An unhandled exception occurred during the execution of the 
current web request. Please review the stack trace for more information about 
the error and where it originated in the code. 

Exception Details: 
CrystalDecisions.CrystalReports.Engine.LoadSaveReportException: Error in File 
C:\WINDOWS\TEMP\temp_4f4283da-22b1-4c26-a371-589cd0d52e49.rpt: Access to report 
file denied. Another program may be using it.

Source Error: 
Line 99:    rptDoc.ExportOptions.DestinationOptions = 
crDiskFileDestinationOptions;
Line 100:   
Line 101:   rptDoc.Export(); 
Line 102:  
Line 103:  }
 
Please give me the solution for this.
 
Thanks in advance.
 
Reards,
Sudha.
 
 

                 Start your day with Yahoo! - make it your home page 

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member 
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you 
received this message by mistake, please click the "Remove" link below. On the 
pre-addressed e-mail message that opens, simply click "Send". Your e-mail 
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to