January 12, 2012 at 8:53 am
Awesome stuff James!!!
This is a really great find and is in many ways a holy-grail find for what we've been trying to do!!!
January 12, 2012 at 4:04 pm
michael_davis2 (1/12/2012)
Awesome stuff James!!!This is a really great find and is in many ways a holy-grail find for what we've been trying to do!!!
Thanks! FYI, I've updated the prior post to include one more query set that can be used to fetch the Report Data Sources that have a connection string embedded in the report as well. I've managed to work it out in such a way that the whole thing can be resolved without ever touching the database directly.
January 18, 2012 at 12:08 pm
Another fun XML query. This one will get the command text for Datasets in the report:
Create a Query to Get the Report Datasets Using the GetReportDefintion Method
<Query>
<Method Name="GetReportDefinition" Namespace="http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices">
<Parameters>
<Parameter Name="Report"/>
</Parameters>
</Method>
<ElementPath IgnoreNamespaces="true">
GetReportDefinitionResponse/Definition(Base64Encoded)/Report{}/DataSets/DataSet
{
@Name(string),
}
/Query
{
CommandText(string),
DataSourceName(string)
}
</ElementPath>
</Query>
February 1, 2012 at 3:53 am
I was looking manually in some of the report server tables just yesterday and I noticed what a wealth of useful information was contained within them. I was going to create my own reports but these are far more comprehensive!
As an additional bonus I can learn some tricks from the formatting and features in these reports to apply to my own reports.
Thanks for this most useful collection of reports and interesting article.
May 24, 2012 at 9:53 am
Any idea if this works with SSRS 2012?
May 24, 2012 at 1:01 pm
I don't know - we're just getting ready to go to 2012 soon (and when I do, you can bet these will be one of the first things I check out).
In the reading I have done, it sounds like SSRS pretty much will be in Sharepoint Integration mode from the start (I may be wrong here but that was the impression I got). Due to that, it may be possible that the repository could be structured differently. Microsoft never blessed accessing the database directly -- so I wouldn't be surprised if there were changes.
If you come across the answer before I do, I'd appreciate hearing what it is.
Thanks!!!
May 24, 2012 at 3:16 pm
This was removed by the editor as SPAM
May 25, 2012 at 6:14 am
Great - thanks for the info!!!
September 18, 2012 at 12:36 pm
Hopefully you guys can help me, we have been using the diagnostics reports for a long time. But recently we started deploying reports directly from VS2010 to SSRS 2008 R2 and for some reason any of the reports deployed this way do not show up at all when we run the "ReportQueries" if we run any of the other diagnostic reports all of the reports show up.
September 18, 2012 at 4:17 pm
This was removed by the editor as SPAM
September 19, 2012 at 10:27 am
no, the person that used to handle the report building used VS2010 with TFS source control. We just kept following that process.
September 19, 2012 at 10:46 am
This was removed by the editor as SPAM
September 26, 2012 at 12:20 pm
Love the reports and for the most part they have been easy to add additional columns (Linked Report, Linked To, Hidden). One thing that we are trying to get working is the showing of each datasource within a report. Currently the report shows multiple lines for the reports that have multiple datasources but the datasource name shows the same one for each because of the subquery selecting Top 1. If this has been addressed I appologize, I haven't seen it in the posts.
Thanks
September 26, 2012 at 1:18 pm
This was removed by the editor as SPAM
September 27, 2012 at 2:18 pm
Thanks for the info but to be more specific, it's this section of the ReportInventory report query that's giving us the headache:
(select top 1 cat1.Name
from Catalog
join DataSource on Catalog.ItemID = DataSource.ItemID
join Catalog cat1 on DataSource.Link = cat1.ItemID
where Catalog.Type = 2 and Catalog.ItemID = c.ItemID ) as dataSourceName,
because it's a subquery it is limited to return one row even if multiple data sources are in place. We have tried to break it out and use a temp table to hold the data initially and then query from there but have not been successful.
Viewing 15 posts - 91 through 105 (of 118 total)
You must be logged in to reply to this topic. Login to reply