Crystal Reports: "Load report failed" error.

Temporary files are not being deleted in "C:\Documents and Settings\Administrator\Local Settings\Temp"


Every times when create crystal reports, it create temp file like "CrystalReport2 {6B08E17B-CB73-49DE-ABB7-FEAA2CD2565B}.rpt" in above path that can not delete cause of system in used.


if create crystal reports many times that make hard disc full and system down.

 We already used following solution
protected void Page_Unload(object sender, EventArgs e)
  if(RptDoc != null)

2. Set printjob value to -1 in registry file for

How do i manage it..

Thank so much for your kindness

Shankar Gidwani
Sr. Software Engineer

<Editted mlmcc TA>
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ido MilletProfessor of MIS at Penn State Erie and Owner, Millet SoftwareCommented:
You can schedule a batch file to run every day and delete old temp files.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
What version of Crystal?

This is an issue with many versions of Crystal since Crystal uses several temp files when building a report.  Sometimes the only solution is as suggested above a daily or more often if need be run of a script to delete the files.

You may be able to add code to your application to delete the files as the application ends.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Crystal Reports

From novice to tech pro — start learning today.