none
Creating new instance for proxy object in the web service: RRS feed

  • Question

  • Okay, so I created a web reference, sqlrs, and I'm using the code below to set the credentials
    for ReportView as well as call all my reports on the local server to load to ListBox1; however,
    the code below is not working the way it's intended.

    Plz view:

    Dim us As New sqlrs.ReportingService2005

    us.Credentials = System.Net.CredentialCache.DefaultCredentials

    Dim items As sqlrs.CatalogItem() = us.ListChildren("/", True)

    Dim catitem As sqlrs.CatalogItem

    For Each catitem In items

    ListBox1.Items.Add(catitem.Path)

    Next

    Friday, June 13, 2008 5:32 PM