Click here to Skip to main content
15,861,168 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hi i wrote a windows application with C# 2008
i load a rpt(report) file and show it in crystalreportviewer then i export it to pdf format with using export button on crystalreportviewer.

after that i can not load a new rpt file any more. i saw an error message that says : "load file error. your file couldent be found" but my file is addressed correctly.

please, tell me should i close any thing like crystalreportviewer or somthing or what? how can i reuse the crystalreportviewer?

:confused:
Posted
Comments
Kschuler 16-Jun-10 9:06am    
I think you'll get more help if you include the relevant code you're using to setup your crystal report viewer and export the PDF.
Phan7om 17-Jun-10 5:35am    
can you paste the code here

1 solution

may be that is the problem of path, the report file path,
dont give absolute path always, give relative path to the report file,
try this,
may that helps you
no need for thanx,
no thanx in friendship
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900