2016-04-14 11 views
0

Meine stimul Cache-Größe ist zu groß seine etwa 40G.set Bericht Cache-Pfad nicht arbeiten in stimul

Ich möchte Pfad dieses Cache ändern, so kann ich dir auch gefallen:

Dim CacheFolder As String ="E:\StimulsoftReportsCache" 

report1.ReportCachePath = CacheFolder 

report1.ReportCacheMode = StiReportCacheMode.On 

report1.RenderedPages.CanUseCacheMode = True 

report1.RenderedPages.CacheMode = True 

report1.RenderedPages.Clear() 

'IN This Section Load Report On Report1 

report1.Compile() 

Danach Wenn ich Bericht Kompilieren report1.ReportCachePath Änderung ""

Ich weiß nicht, warum es

ändern

Antwort

0

Sie sollte den Cache-Pfad mit der nächsten statischen Methode einstellen:

Stimulsoft.Report.StiOptions.Engine.ReportCache.CachePath