Reports very slow.
Reports very slow.
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.
Reports very slow.
Hello,
The first 50 pages are stored in memory, the rest of the pages are cached in the file. Most likely there are no rights to write to a temporary directory for ASP.NET applications. You can specify the cache directory, use the following option:
StiOptions.Engine.ReportCache.CachePath = path;
For this you need to set the write permissions for this directory.
Thank you.
The first 50 pages are stored in memory, the rest of the pages are cached in the file. Most likely there are no rights to write to a temporary directory for ASP.NET applications. You can specify the cache directory, use the following option:
StiOptions.Engine.ReportCache.CachePath = path;
For this you need to set the write permissions for this directory.
Thank you.
Reports very slow.
Hi,
You solved my second problem to store the cache folder in the path I want.Thnx for the help.I tried this .

But, Can u tell me why I am seeing only 50 pages out of 624 pages in my report ?
Out of 624 pages,1st page contains data.
From 2nd page to page no. 575 ,the data is not visible.
Then from page 576 to 624, data is visible.
In all, I can see total 50 pages.
Thank you.
You solved my second problem to store the cache folder in the path I want.Thnx for the help.I tried this .

But, Can u tell me why I am seeing only 50 pages out of 624 pages in my report ?
Out of 624 pages,1st page contains data.
From 2nd page to page no. 575 ,the data is not visible.
Then from page 576 to 624, data is visible.
In all, I can see total 50 pages.
Thank you.
Reports very slow.
Hello,
We have made improvement of the WebWiever component, now it supports the reports with enabled cache mode. The update will be available in the next prerelease build.
Thank you.
We have made improvement of the WebWiever component, now it supports the reports with enabled cache mode. The update will be available in the next prerelease build.
Thank you.
Reports very slow.
Hi,
Thank you for the update. Will update the Webviewer component from the next prerelease build and let u know .
Thank you.
Thank you for the update. Will update the Webviewer component from the next prerelease build and let u know .
Thank you.
Reports very slow.
Hello.
Thank you.
Waiting for your reply.shilpa wrote:Thank you for the update. Will update the Webviewer component from the next prerelease build and let u know.
Thank you.
Reports very slow.
Hi,
I am very happy & delighted to say that the updation of Webviewer component from the new release (Stimulsoft Reports.Web 2011.08.25 Trial ) has solved my problem. Now, I can see the whole report unlike the report before (showing only 50 pages -remaining pages blank ).
Thank you very much. :biggrin:
But, now one more problem has arose.When I am saving the report in any format say- pdf, excel ,word etc , I am getting a blank data.
what can be the reason for this now?
:pffft:
Thank you.
I am very happy & delighted to say that the updation of Webviewer component from the new release (Stimulsoft Reports.Web 2011.08.25 Trial ) has solved my problem. Now, I can see the whole report unlike the report before (showing only 50 pages -remaining pages blank ).
Thank you very much. :biggrin:
But, now one more problem has arose.When I am saving the report in any format say- pdf, excel ,word etc , I am getting a blank data.
what can be the reason for this now?
:pffft:
Thank you.
Reports very slow.
Hello.
Thank you.
Please, send us a generated report to reproduce your issue.shilpa wrote:But, now one more problem has arose.When I am saving the report in any format say- pdf, excel ,word etc , I am getting a blank data.
what can be the reason for this now?
:pffft:
Thank you.
Reports very slow.
Hi,
The problem has been solved. May be there was some problem.Now we can save the report in pdf.
Thank you.
:biggrin:
Cheers !!
The problem has been solved. May be there was some problem.Now we can save the report in pdf.
Thank you.
:biggrin:
Cheers !!
Reports very slow.
Great! :biggrin:
Have a nice day!
Thank you.
Have a nice day!
Thank you.