running a SSRS repot from a .net application

I need to do the following tasks from a .net application

1) populate a list with the names of all the reports on the server

2) when a user selects the report it will execute

Can anybody point me in the right direction on how to do this using
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Bob LearnedCommented:
I haven't ever needed to get a report list from a server, but there are queries that you can run to get that list:

Get Reporting Services Report List from Database

Select   [Name],
               SubString([Path],1,Len([Path]) – (CharIndex(‘/’,Reverse([Path]))-1)) As [Path],
                        When [Hidden] = 1
                        Then  ‘Yes’
                        Else    ‘No’
               End As [Hidden]
From    [Catalog]
Where  [Type] = 2
Order By SubString([Path],1,Len([Path]) – (CharIndex(‘/’,Reverse([Path]))-1)),

Open in new window

vbnetcoderAuthor Commented:
If possible i want to do this with a web service call
Bob LearnedCommented:
Oh, yeah, SSRS web services...

Using the SOAP API in a Web Application

' Create a Web service proxy object and set credentials
   Dim rs As New ReportingService2005()
   rs.Credentials = System.Net.CredentialCache.DefaultCredentials

   ' Return a list of catalog items in the report server database
   Dim items As CatalogItem() = rs.ListChildren("/", True)

   ' For each report, display the path of the report in a Listbox
   Dim ci As CatalogItem
   For Each ci In  items
      If ci.Type = ItemTypeEnum.Report Then
      End If
   Next ci

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
vbnetcoderAuthor Commented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.