Reports very slow.
Posted: Fri Aug 19, 2011 1:37 am
Hi ,
Sorry for the late reply.I have enabled caching to "On" and done the necessary coding to implement that.
Now, I am happy to say that atleast we are able to see the report.But, there is a small problem.The report we are getting has 624 pages and we can see only 50 pages now.Remaining pages are blank.
What can be the issue ?I have use the below code for that.
Dim CacheFolder As String = System.IO.Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "StimulsoftReportsCache")
If Not System.IO.Directory.Exists(CacheFolder) Then
System.IO.Directory.CreateDirectory(CacheFolder)
End If
ssoftRpt.ReportCachePath = CacheFolder
ssoftRpt.ReportCacheMode = Stimulsoft.Report.StiReportCacheMode.On
ssoftRpt.RenderedPages.CanUseCacheMode = True
ssoftRpt.RenderedPages.CacheMode = True
ssoftRpt.RenderedPages.Clear()
Secondly, I want to make my own cache folder ( I mean the path for the cache folder) instead of the folder which is created at the LocalApplication.Can u tell me the appropriate way to the same ?
Thank you.
Sorry for the late reply.I have enabled caching to "On" and done the necessary coding to implement that.
Now, I am happy to say that atleast we are able to see the report.But, there is a small problem.The report we are getting has 624 pages and we can see only 50 pages now.Remaining pages are blank.
What can be the issue ?I have use the below code for that.
Dim CacheFolder As String = System.IO.Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "StimulsoftReportsCache")
If Not System.IO.Directory.Exists(CacheFolder) Then
System.IO.Directory.CreateDirectory(CacheFolder)
End If
ssoftRpt.ReportCachePath = CacheFolder
ssoftRpt.ReportCacheMode = Stimulsoft.Report.StiReportCacheMode.On
ssoftRpt.RenderedPages.CanUseCacheMode = True
ssoftRpt.RenderedPages.CacheMode = True
ssoftRpt.RenderedPages.Clear()
Secondly, I want to make my own cache folder ( I mean the path for the cache folder) instead of the folder which is created at the LocalApplication.Can u tell me the appropriate way to the same ?
Thank you.