locked
ReportService2010.asmx and "The request failed with HTTP status 404: Not Found" RRS feed

  • Question

  • Hi,

    I'm trying dig into SSRS service and found the following page from Microsoft:

    Manage Subscription Owners and Run Subscription - PowerShell

    But no matter what I try to do, it fails to:

    New-WebServiceProxy : The request failed with HTTP status 404: Not Found.
    At C:\Scripts\SSRSScript.ps1:9 char:12
    + $rs2010 += New-WebServiceProxy -Uri "http://$server/ReportService2010.asmx" -Nam ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : ObjectNotFound: (http://ssrsserv...ervice2010.asmx:Uri) [New-WebServiceProxy], WebException
        + FullyQualifiedErrorId : WebException,Microsoft.PowerShell.Commands.NewWebServiceProxy
    You cannot call a method on a null-valued expression.
    At C:\Scripts\SSRSScript.ps1:10 char:1
    + $subscriptions += $rs2010.ListSubscriptions($site); # use "/" for default native ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
        + FullyQualifiedErrorId : InvokeMethodOnNull

    I'm able to accessing to the "admin" page using URL "http://ssrsServer/Reports_ssrsServer/Pages/Folder.aspx?ViewMode=Detail". So I believe the correct URL for this should be something like:

    "http://ssrsServer/Reports_ssrsServer/ReportService2010.asmx"

    On the browser this returns "The resource cannot be found."

    Any advises from where I should take a look? I believe I'm not able to see those resources in anyway, not like on IIS?


    Petri

    Friday, August 7, 2020 12:11 PM

Answers

  • So I believe the correct URL for this should be something like:

    "http://ssrsServer/Reports_ssrsServer/ReportService2010.asmx"

    No, that's the base URL for "Report Manager" UI (Reports), not for the services = Reportserver.

    Enter

    http://ssrsServer/Reportserver_ssrsServer/ReportService2010.asmx?WSDL

    in a browser and you will see the WSDL result = "Web Service Definition language"


    Olaf Helper

    [ Blog] [ Xing] [ MVP]


    • Edited by Olaf HelperMVP Friday, August 7, 2020 12:23 PM
    • Proposed as answer by Joy_Zhao Monday, August 10, 2020 6:43 AM
    • Marked as answer by Petri X Tuesday, August 11, 2020 12:05 PM
    Friday, August 7, 2020 12:21 PM
  • Hi,

    Failing that if you open the reporting service configuration manager (start menu) on the SSRS server then I would expect that you should be able to see the Web services URI there.

     

    Also you could try opening IIS on the server and use that to browse to the report services website  to obtain the URL.

    Best Regards,

    Joy


    ""SQL Server related"" forum will be migrated to a new home on Microsoft Q&A SQL Server!
    We invite you to post new questions in the "SQL Server related" forum’s new home on Microsoft Q&A SQL Server !
    For more information, please refer to the sticky post.

    • Marked as answer by Petri X Tuesday, August 11, 2020 12:05 PM
    Monday, August 10, 2020 9:10 AM

All replies

  • So I believe the correct URL for this should be something like:

    "http://ssrsServer/Reports_ssrsServer/ReportService2010.asmx"

    No, that's the base URL for "Report Manager" UI (Reports), not for the services = Reportserver.

    Enter

    http://ssrsServer/Reportserver_ssrsServer/ReportService2010.asmx?WSDL

    in a browser and you will see the WSDL result = "Web Service Definition language"


    Olaf Helper

    [ Blog] [ Xing] [ MVP]


    • Edited by Olaf HelperMVP Friday, August 7, 2020 12:23 PM
    • Proposed as answer by Joy_Zhao Monday, August 10, 2020 6:43 AM
    • Marked as answer by Petri X Tuesday, August 11, 2020 12:05 PM
    Friday, August 7, 2020 12:21 PM
  • Hi,

    Failing that if you open the reporting service configuration manager (start menu) on the SSRS server then I would expect that you should be able to see the Web services URI there.

     

    Also you could try opening IIS on the server and use that to browse to the report services website  to obtain the URL.

    Best Regards,

    Joy


    ""SQL Server related"" forum will be migrated to a new home on Microsoft Q&A SQL Server!
    We invite you to post new questions in the "SQL Server related" forum’s new home on Microsoft Q&A SQL Server !
    For more information, please refer to the sticky post.

    • Marked as answer by Petri X Tuesday, August 11, 2020 12:05 PM
    Monday, August 10, 2020 9:10 AM
  • Hi,

    Big thanks friends for your help. When renaming folders this is results :D

    I took the URL from SSRS manage tool.


    Petri

    Tuesday, August 11, 2020 12:08 PM