[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 256
  • Last Modified:

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
0
netra26
Asked:
netra26
1 Solution
 
ErnariashCommented:
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

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now