SSRS - How to see query inside Shared datasets - reporting-services

I have a SSRS report deployed ina a server. I have to see how the report is collecting data. The datasets and datasources are shared in this case. How do i have to check the query in the shared datasets?
I'm able to locate the shared data source and dataset location in report server but have no options to see what is inside that. Please help

There are two ways i can think of achieving this, First is to Edit in report builder from the drop down, the second is to download and then add it to a projects and open it up there.

Related

How to deploy SSRS report with multiple data sources?

I have two different databases on two different servers and I need data from both the databases for two different datasets associated with two tables in report.
The problem is I am not allowed to deploy the report from BIDS and report will be deployed by Upload File option in report manager, so how to deploy this report with multiple data sources?
Any help will be greatly appreciated.
Thanks
After uploading the report to Report Manager, go to the report properties and edit the data sources there. An easy way to get to the report properties page is click Show Details button when you are in Report Manager. Then, just click the properties icon under the Edit column. Either that, or view the report (which should fail to run initially), and click the Properties tab at the top page.
Once you are there, click Data Sources. You will see one entry per data source. Configure each appropriately.

Dynamically set shared dataset path in SSRS

I'm having one SSRS report, which is currently using shared dataset which inside the same report folder. Shared Data-set is in the same folder.
Path of Shared Dataset is win2008/Reports/ABC/sharedDataset.rsd
Now on Production site, report folder name will be the same but Shared Dataset path may not exist.
For example: In "win2008/Reports/ABC/sharedDataset.rsd" - win2008 may not be there so dataset error comes.
The report server cannot process the report. The reference for the
shared dataset 'rptDs' is not valid. (rsInvalidDataSetReference)
Can anyone please help to solve this issue. Thanks in advance
There is no way around this. You need to either open up the report on your production environment and add the shared dataset again or the more thorough and advised solution, is to have your datasets held in a folder structure that is the same on both servers.
In general, if you are moving shared datasets around with the report you may as well be embedding them. Create a folder in the Home folder called Datasets and then put them all there, organised into various folders as you require. Keep that folder structure the same on your Dev and Prod environment and you won't have this problem again.

Is it possible to run all the reports in a given folder from report server?

I have a folder with around 15 reports in it, these are Report Server reports. To run each report individually will take a while, so I want them to run together. So, what I want to be able to do is somehow run all the reports in this folder, is this possible?
This is somewhat of an ambiguous question. Let me explain. What are you asking specifically?
Q: Can you run multiple reports at the same time?
A: Yes, and there are several ways to accomplish this.
1. You can use SQL agents
2. Use batch files with task scheduler
3. Use an SSIS package and use an agent to run them at specific times...etc...
Hopefully one of the reports does not depend on another and another thing that you have to take in to consideration is how hard you will be hitting the SSRS or SQL server. Running them all at one time may take longer than one at a time. depending on the bandwidth of the SQL Server and what tables are going to be locked up during each of these processes.
You might want to give a little more detail in your question...
I would recommend an SSIS package, especially as it also one of the options presented by #Michael that can email the Excel workbook too which you mentioned in an earlier comment.
The following resource covers quite well the execution and export of an SSRS report using SSIS, including code you will need as a starting point: Executing an SSRS Report from an SSIS Package.
You could save some time in coding the solution by using the following custom Task that can be integrated into SSIS: SSIS ReportGenerator Task.
There is one problem in your requirements though which is merging reports into one Excel workbook where I assume you want separate sheets for each report within the same workbook?
Reporting Services can use multiple worksheets (to divide a report up into pages a.k.a pagination) but only for a single report; it can't merge reports into one Excel file. This can be accomplished with custom code however. There's a somewhat basic example here: Merging workbooks into a master workbook with separate sheet for each file.
One way to run all the reports at once is to add subscription to all of them and set same subscription start time in all of the reports. what will happen is once the start time arrived all the reports will run simultaneously and will generate excel/pdf (any format specified) file at shared location.

SSRS logging a copy of every report run

Does anyone know if it is possible to have SSRS log a PDF of every report run? I'd like to store the output (preferrably a PDF) somewhere of every report. I need to store what was visually presented to them, not just the parameters that were passed in.
Can SSRS do this out of the box somehow? If it can't, I'll have to log a copy via code on each call we make to the server, which I'm worried will slow down our application. Our reports are run from front-end code calling into SSRS, if that matters.
Thanks in advance for any help!
I don't think its possible out of box. Its a very unique requirement.
Possible solution is to create a report which will be using ReportServer.dbo.ExecutionLog table to generate report of execution. Once your report is ready you can configure it to generate PDFs. You can refer to http://blogs.wrox.com/article/creating-a-report-server-usage-report-with-sql-server-reporting-services/ for creating such report.

Sub-Report giving error: Report cannot be shown

I have a SSRS Report with six sub-reports. The sub-reports are using the same shared data source which the main report is using.
When I deploy the report and execute, the sub-report place holder shows error: Report cannot be shown.
I thought it could be due to shared data source. Therefore, I created separate shared data source for each sub-report. This works. The report starts showing all the results.
Please let me know what is this issue. Even though it works, I don't want to create separate shared data source for each sub report.
This is a known defect in SSRS 2008. I'm not sure if it has been patched yet, but it has been fixed in SSRS 2012.
As you have found, the workaround is to use separate datasets.
https://connect.microsoft.com/SQLServer/feedback/details/648560/subreport-with-shared-dataset-throws-error