Reporting Services

Hi,
Is there a way of getting the list of all tables , sproc and the fields used in indivdual reports on teh live server. i have many reports and doing it manually is time consuming
please help!
Netra
netra26Asked:
Who is Participating?
 
ErnariashConnect With a Mentor Commented:
Did you try using SSRS SOAP API (VB.NET or C#)
here is an sample how to use properties from Shervin Shakibi's Blog but you will need get the datasets or get the report definiton and use XML to get your data like
DataSets /  Fields and  Query CommandText      nodes ...

 ReportingService2005.GetReportDefinition Method
http://msdn.microsoft.com/en-us/library/microsoft.wssux.reportingserviceswebservice.rsmanagementservice2005.reportingservice2005_methods(SQL.90).aspx 

using System;
using SoapAPI.ReportService2005;
 
class Module1
{
 
         public void Main()
         {
                 ReportingService2005 rs = new ReportingService2005();
                 rs.Credentials = System.Net.CredentialCache.DefaultCredentials;
                 rs.Url = "http://Localhost/reportserver/reportservice2005.asmx";
 
                 Property name = new Property();
 
                 name.Name = "Name";
 
                 Property description = new Property();
                 description.Name = "Description";
 
                 Property[] properties = new Property[2];
 
                 properties(0) = name;
 
                 properties(1) = description;
 
                 try {
 
                          Property[] returnProperties = rs.GetProperties("/AdventureWorks Sample Reports/Company Sales", properties);
 
                          Property p;
 
                          foreach ( p in returnProperties) {
 
                                   Console.WriteLine((p.Name + ": " + p.Value));
 
                          }
 
                 }
 
 
                 catch (Exception e) {
 
                          Console.WriteLine(e.Message);
 
                 }
 
                 finally {
                          Console.ReadLine();
                 }
         }
}

Open in new window

0
 
Mark WillsTopic AdvisorCommented:
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I will leave the following recommendation for this question in the Cleanup topic area:
   Accept: Ernariash {http:#22961076}

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

mark_wills
EE Cleanup Volunteer
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.