SSRS 2008 R2 Report taking lot of time to load - reporting-services

SSRS 2008R2 report loads fast on test reporting server but takes lot of time on production server. How should I fix this problem.
Scenario:
I created a report for inventory transactions for a ERP application on my local BIDS environment and set the defaults and preview the report. I see no issues but when I deploy to production and click on the report, it take lot of time to open the report.
Any help is appreciated.
Thanks

Related

SSRS Report runs slower in Preview Mode/Report Viewer

I am using Visual Studio 2019 and using Microsoft Reporting Services Projects Extension v2.6.7. The problem i am facing is i have a report that process about 60k records, the report is complex and has Groups, repeat headers, dataset filters and also VB Code.
The stored procedure used for this report runs in less than 10 seconds and when the report is deployed to Report Server the report completes rendering in less than 2 Mins. But when I run the same report using Visual Studio in preview or Run Mode (Report Viewer) the report runs for a whooping 17-20 mins. I have used SQL Profiler and see the Stored procedure execution time is almost same as the report execution time. The stored procedure is designed to handle parameter sniffing issue and I dont see any issue with the procedure.
From the report side, i have tried Keeptogether=false, Interactive size etc that could impact performance. They look fine.
I also tried to add WorkingSetMaximum to increase memory but still no luck. The client i am working with requires to have the RDLC File integrated in their app and will not want to deploy on Report Server for their own reason.
How can i make my report run faster in Visual Studio Preview Mode/Report Viewer (Run Mode) so that I can match the performance of the report with the performance i Get in Report Server.
Also if anyone could tell if there is a difference in how the report rendering works on Report Server vs Preview Mode.
Edit 1 - Report Server and the database is configured in my laptop and it is not having any different configuration.
Edit 2 - Another observation i have gathered by running SQL Profiler is that during Preview mode the connection is kept open and the data retrieval time justifies report run time. Both are same. But when i run the report through report manager from the same machine, procedure completes in seconds and even the report renders faster. And As i have mentioned above, i have taken care of parameter sniffing. I am now trying to understand if there is a difference in the way SSRS Engine treats report rending and data retrieval for Preview and when report is deployed to reporting service.
I came across this Q&A discussion in MSDN. I tried to replicate this and it gave me a fix by changing the trust level for CAS in config file. But still I have a question with regards to how Report Viewer in Visual Studio behaves. Is there any similar setting that we use in the application config that can be used to improve development and test performance in Visual Studio.
MSDN Blog
Use the existing framework but force the use of Legacy CAS [code access security] Security
In Winforms <NetFx40_LegacySecurityPolicy enabled="true" />
In ASP Net application <trust legacyCasModel="true" level="Full"/>

can see table matrix in preview but not in deployed report server ssrs

I can see table matrix in preview but not in deployed report server ssrs. I have rebuild it several times with no luck. I am using shared data base and data sets for report. Is that causing this issue? Any Solutions for this issue?

Performance issue in SSRS Report in Test Server?

I have query it contains 45,611 rows which executes in SSMS (Sql Server Management Studio) 2008 R2 in 2 sec.
In SSRS ,When i preview the report it will takes 6 sec,
After i deployed the same report and configure ASP.Net application here also it will takes same as 6 sec.
Next I published report in Test Server (same no of records),here it will takes more time like 30 sec .
See Here My Report is DrilDown in Chart Reports
How will i do to improve the performance ?
Because, While you browse Report from SSRS, SSRS Reports needs to be Fetched into HTML that why it is taking extra time.
What i want to Suggest you is that : [Im supposing you are using ASP.NET]
You can Request the Report from Report Server.
Then, You can give the Output as an PDF Document.
Which will save the Time for Record Fetching (a Huge Table) as an HTML Table.
Hope You understand.

Is there a way to automate creation of subscriptions in SSRS 2008?

I have development, test, demo and production systems. They all need to have the same set of reports (easily deployed via Visual Studio, multiple reports at the same time if needed) and the same set of report subscriptions. At this time I have to manually go through the sequence of up to 7 steps in web UI for report manager to deploy or modify each subscription on each system.
Is there a way to automate/improve creation/modification of report subscriptions? I use SSRS 2008.
I've cheated in the past and manipulated the reporting database in SQL Server, you could dig around in there and see if you can figure out the records you need to add.

Does Microsoft SQL Report Builder require Reporting Services running at all?

I'm having trouble figuring this out.
I stopped ALL of local SQL Services, e.g. SQL Server, SQL Agent, Reporting Services. Then using Report Builder 2.0 to create a report connecting to a remote SQL Server (No SSRS running) out in the farm. When I click on "Run" button, for some odd reasons, it still render the report.
I thought you must have SSRS running in the first place. Is SQL Reporting Services even required for Report Builder?
Img
alt text http://www.freeimagehosting.net/image.php?0bf8bb1f1d.jpg
When Reporting Services runs a report, it creates a data file of the data used in the report and, if nothing changes, it uses that data the next time the report runs instead of hitting the server again. You could be seeing the cached data.
Look where the report is kept. There will be a report file, say MyReport.rdl and also the data, MyReport.rdl.data. You could delete that data file otherwise simply changing the report parameters (if you have some) will generally cause the report to disregard the cached data and make a trip to the server again.
I'm answering my own question. Here's my observation after some googling and experimenting.
Report Builder is using a stand alone report control to render report. Visual Studio.NET is probably using the same thing when preview a report. SSRS is required when developers need to incorporate web-based reporting solution, e.g. ASP.NET, as well as to manage reports.
What's really bothering me is that to author reports in VS.NET, I must be using Business Intelligence Projects. In order to do that, I must install SQL Server 2005/2008 with SSRS. Why is so when SSRS is not even required in a LOCAL environment?