System.Web.Services.Protocols.SoapException: The item '/foldername' cannot be found

I am trying to figure out how to correctly reference the directory to my subscriptions:

Dim subs As Subscription() = rs.ListSubscriptions("/SSS", Nothing)

System.Web.Services.Protocols.SoapException: The item '/Hedi' cannot be found. --->

FYI: I replaced sss for privacy purposes only here




Answer this question

System.Web.Services.Protocols.SoapException: The item '/foldername' cannot be found

  • Jeek

    Here's the actual report URL

    http://servername/Reports/Pages/Report.aspx ItemPath=%2fHedi%2fProcessingSummaryReport

    the subscription URL I see when I go to the subscription is:

    http://servername/Reports/Pages/Report.aspx ItemPath=%2fHedi%2fProcessingSummaryReport&SelectedTabId=SubscriptionsTab

    I tried putting "/Hedi/ProcessingSummaryReport/" but it cannot find it



  • sahina

    ok, the URL shows http://localhost/reportserver/reportservice2005.asmx



  • Prashant Utekar

    Just saw your recent post.  let me have a look.


  • Val P

    I put in rs.ListChildren("/", true), it had no effect

  • Eric Martin

    why am I getting %2f in the URLs on my Report Server

  • raccoonone

    Can you call other APIs on it (LoadReport(), GetProperties())

    Also, are you executing against the same instance that you originally created the web reference against You can check this by checking the .Url property of the web service proxy.


  • YoungEngineer

    because the "/" character is being escaped. You don't need to do this when using the SOAP API.

    In your code, check "rs.Url", and confirm that is pointing the the server and instance that you have actually created the item on. If it is, then confirm that you have appropriate permissions to actually see the item. You can try calling rs.ListChildren("/", true) in order to get everything in the catalog.


  • Chris Kinsey

    it actually recommended for me to change it back to just old

    ReportingService2005()

    http://www.webfound.net/options.jpg



  • Jan Alexander1

    Ok, no I was not using the same instance. However I changed it to do that but not I'm not sure what method to use

    Dim rs As New HEDI2.ReportService2005.Event()

    should I use .job(), .even().....there are others also



  • SathyaKV

    so this errors out:

    Error: System.Web.Services.Protocols.SoapException: The item '/Hedi/ProcessingSummaryReport' cannot be found. --->

    Public Sub RunSummaryReport()

    Dim rs As New ReportingService2005()

    rs.Credentials = System.Net.CredentialCache.DefaultCredentials

    ' Get the subscriptions

    Dim subs As Subscription() = rs.ListSubscriptions("/Hedi/ProcessingSummaryReport", Nothing)

    Try

    If Not (subs Is Nothing) Then

    ' Fire the first subscription in the list

    rs.FireEvent("TimedSubscription", subs(0).SubscriptionID)

    Console.WriteLine("Event fired.")

    End If

    Catch ex As Exception

    Console.WriteLine(ex.Message)

    End Try

    End Sub



  • Rick Winter

    If It's using localhost, since this vb.net code is on the server, I am hopeing it's using the servername and not my local PC name

  • Stormsys

    Does /SSS exist in the catalog

    For ListSubscriptions() to work, the item must exist in the catalog and either be a report or a linked report.

    If /SSS exists, but is not a report, then you should see a WrongItemType exception.


  • swivel

    here's a print screen of my app:

    http://www.webfound.net/subscription_error.jpg



  • Ceejayf

    >> .Url property of the web service proxy.

    can you elaborate



  • System.Web.Services.Protocols.SoapException: The item '/foldername' cannot be found