Quantcast
Channel: Crystal Reports
Viewing all articles
Browse latest Browse all 1507

Crystal Reports Files in Windows\Temp\

$
0
0

Hi All

 

I was informed that my web application that uses Crystal Reports was filling up the Servers Windows\Temp folder with report files.

After a google the best answer I could find to this problem was to close and dispose the report in the Page Unload:-

 

private void Page_Unload(object sender, System.EventArgs e)
        {
            if (MyReport != null)
            {
                MyReport.Close();
                MyReport.Dispose();
            }
        }

 

I have tested this code but I still get these report files being created.

Any concrete solutions to this?

I dont want to write some app to clean up the said location.

 

tia

Yuppski

 

 


Viewing all articles
Browse latest Browse all 1507

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>