MSBuild cannot deploy to localhost ReportServerDisplaying build times in Visual Studio?How do I specify the platform for MSBuild?Found conflicts between different versions of the same dependent assembly that could not be resolvedmsbuild fails to compile vsto projectMSBuild Tools 2017 with Azure SDK 2.9.6Hybrid DotNet Core/.NET Framework Build with MSBuildconfiguring jenkins msbuild path*.targets cannot be imported again. It was already importedInvalid static method invocation syntax: “[MSBuild]::IsRunningFromVisualStudio()”Could not AOT assembly - When building Xamarin Android project using MSBUILD on Windows

Why is B♯ higher than C♭ in 31-ET?

Moving the subject of the sentence into a dangling participle

A non-technological, repeating, phenomenon in the sky, holding its position in the sky for hours

What happens if I start too many background jobs?

Enumerate Derangements

What word means "to make something obsolete"?

Manager is threatning to grade me poorly if I don't complete the project

Would glacier 'trees' be plausible?

Is there a legal ground for stripping the UK of its UN Veto if Scotland and/or N.Ireland split from the UK?

Does a wine bottle stopper require tevillah?

Would "lab meat" be able to feed a much larger global population

Why do money exchangers give different rates to different bills?

Missed the connecting flight, separate tickets on same airline - who is responsible?

Type-check an expression

Upside-Down Pyramid Addition...REVERSED!

Number of seconds in 6 weeks

Would a 1/1 token with persist dying trigger on death effects a second time?

What was the state of the German rail system in 1944?

SFDX Can query Package Installation Status, can we?

Is it cheaper to drop cargo than to land it?

Help to understand a simple example of clist in expl3

Identifying a transmission to myself

Airbnb - host wants to reduce rooms, can we get refund?

SQL Server Management Studio SSMS 18.0 General Availability release (GA) install fails



MSBuild cannot deploy to localhost ReportServer


Displaying build times in Visual Studio?How do I specify the platform for MSBuild?Found conflicts between different versions of the same dependent assembly that could not be resolvedmsbuild fails to compile vsto projectMSBuild Tools 2017 with Azure SDK 2.9.6Hybrid DotNet Core/.NET Framework Build with MSBuildconfiguring jenkins msbuild path*.targets cannot be imported again. It was already importedInvalid static method invocation syntax: “[MSBuild]::IsRunningFromVisualStudio()”Could not AOT assembly - When building Xamarin Android project using MSBUILD on Windows






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I'm trying to deploy a solution with two rptproj projects to local SSRS ReportServer:



"C:Program Files (x86)Microsoft Visual Studio2017CommunityMSBuild15.0Binmsbuild.exe" 
"C:UsersDocumentsReportsReports.sln" /target:Deploy /p:TargetServerUrl=http://localhost/ReportServer /p:configuration="Release" /p:Username="MYSERVERReportDeployer" /p:Password=sOmepAsSwoRD


Building of rdl files succeeds but when it attempts to deploy, it almost immediately fails with the following message:



C:Program Files (x86)Microsoft Visual Studio2017CommunityMSBuildReporting ServicesMicrosoft.ReportingServices.MS
Builder.targets(30,5): error : : Could not connect to the report server http://localhost/ReportServer. Verify that t
he TargetServerURL is valid and that you have the correct permissions to connect to the report server.


I have verified that the ReportServer is running and that I can access it with the credentials I supply in /p:Username and /p:Password and that the user has all permissions on the root folder on the ReportServer. The reports have already been published from Visual Studio just fine many times - VS just shows the popup for credentials and then it succeeds.



I also tried wget and it successfully passes the authentication and loads the ReportServer page:



wget http://localhost/ReportServer --user "MYSERVERReportDeployer" --password sOmepAsSwoRD

--2019-03-22 23:11:19-- http://localhost/ReportServer
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:80... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Authentication selected: Basic realm="localhost"
Reusing existing connection to [localhost]:80.
HTTP request sent, awaiting response... 200 OK
Length: 574 [text/html]
Saving to: 'ReportServer.1'

ReportServer.1 100%[===================================================>] 574 --.-KB/s in 0s

2019-03-22 23:11:19 (11.4 MB/s) - 'ReportServer.1' saved [574/574]


What's wrong with MSBuild? How do I make it work with local ReportServer?



I also tried devenv.com command line



"C:Program Files (x86)Microsoft Visual Studio2017CommunityCommon7IDEdevenv.com" "C:UsersDocumentsReportsReports.sln" /deploy


with hope that it will display more detailed error information. But it seems to ignore the deploy command and outputs:



------ Build started: Project: Reports, Configuration: Release ------
Build Build complete
...

------ Skipped Deploy: Project: Reports, Configuration: Release ------
Project not selected to build for this solution configuration
========== Build: 2 succeeded or up-to-date, 0 failed, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 2 skipped ==========


Why does it say "Build started", while if I run Deploy in Visual Studio it outputs "Deploy started" and indeed deploys the project?



How do I automate SSRS project deployment then?










share|improve this question






























    0















    I'm trying to deploy a solution with two rptproj projects to local SSRS ReportServer:



    "C:Program Files (x86)Microsoft Visual Studio2017CommunityMSBuild15.0Binmsbuild.exe" 
    "C:UsersDocumentsReportsReports.sln" /target:Deploy /p:TargetServerUrl=http://localhost/ReportServer /p:configuration="Release" /p:Username="MYSERVERReportDeployer" /p:Password=sOmepAsSwoRD


    Building of rdl files succeeds but when it attempts to deploy, it almost immediately fails with the following message:



    C:Program Files (x86)Microsoft Visual Studio2017CommunityMSBuildReporting ServicesMicrosoft.ReportingServices.MS
    Builder.targets(30,5): error : : Could not connect to the report server http://localhost/ReportServer. Verify that t
    he TargetServerURL is valid and that you have the correct permissions to connect to the report server.


    I have verified that the ReportServer is running and that I can access it with the credentials I supply in /p:Username and /p:Password and that the user has all permissions on the root folder on the ReportServer. The reports have already been published from Visual Studio just fine many times - VS just shows the popup for credentials and then it succeeds.



    I also tried wget and it successfully passes the authentication and loads the ReportServer page:



    wget http://localhost/ReportServer --user "MYSERVERReportDeployer" --password sOmepAsSwoRD

    --2019-03-22 23:11:19-- http://localhost/ReportServer
    Resolving localhost (localhost)... ::1, 127.0.0.1
    Connecting to localhost (localhost)|::1|:80... connected.
    HTTP request sent, awaiting response... 401 Unauthorized
    Authentication selected: Basic realm="localhost"
    Reusing existing connection to [localhost]:80.
    HTTP request sent, awaiting response... 200 OK
    Length: 574 [text/html]
    Saving to: 'ReportServer.1'

    ReportServer.1 100%[===================================================>] 574 --.-KB/s in 0s

    2019-03-22 23:11:19 (11.4 MB/s) - 'ReportServer.1' saved [574/574]


    What's wrong with MSBuild? How do I make it work with local ReportServer?



    I also tried devenv.com command line



    "C:Program Files (x86)Microsoft Visual Studio2017CommunityCommon7IDEdevenv.com" "C:UsersDocumentsReportsReports.sln" /deploy


    with hope that it will display more detailed error information. But it seems to ignore the deploy command and outputs:



    ------ Build started: Project: Reports, Configuration: Release ------
    Build Build complete
    ...

    ------ Skipped Deploy: Project: Reports, Configuration: Release ------
    Project not selected to build for this solution configuration
    ========== Build: 2 succeeded or up-to-date, 0 failed, 0 skipped ==========
    ========== Deploy: 0 succeeded, 0 failed, 2 skipped ==========


    Why does it say "Build started", while if I run Deploy in Visual Studio it outputs "Deploy started" and indeed deploys the project?



    How do I automate SSRS project deployment then?










    share|improve this question


























      0












      0








      0








      I'm trying to deploy a solution with two rptproj projects to local SSRS ReportServer:



      "C:Program Files (x86)Microsoft Visual Studio2017CommunityMSBuild15.0Binmsbuild.exe" 
      "C:UsersDocumentsReportsReports.sln" /target:Deploy /p:TargetServerUrl=http://localhost/ReportServer /p:configuration="Release" /p:Username="MYSERVERReportDeployer" /p:Password=sOmepAsSwoRD


      Building of rdl files succeeds but when it attempts to deploy, it almost immediately fails with the following message:



      C:Program Files (x86)Microsoft Visual Studio2017CommunityMSBuildReporting ServicesMicrosoft.ReportingServices.MS
      Builder.targets(30,5): error : : Could not connect to the report server http://localhost/ReportServer. Verify that t
      he TargetServerURL is valid and that you have the correct permissions to connect to the report server.


      I have verified that the ReportServer is running and that I can access it with the credentials I supply in /p:Username and /p:Password and that the user has all permissions on the root folder on the ReportServer. The reports have already been published from Visual Studio just fine many times - VS just shows the popup for credentials and then it succeeds.



      I also tried wget and it successfully passes the authentication and loads the ReportServer page:



      wget http://localhost/ReportServer --user "MYSERVERReportDeployer" --password sOmepAsSwoRD

      --2019-03-22 23:11:19-- http://localhost/ReportServer
      Resolving localhost (localhost)... ::1, 127.0.0.1
      Connecting to localhost (localhost)|::1|:80... connected.
      HTTP request sent, awaiting response... 401 Unauthorized
      Authentication selected: Basic realm="localhost"
      Reusing existing connection to [localhost]:80.
      HTTP request sent, awaiting response... 200 OK
      Length: 574 [text/html]
      Saving to: 'ReportServer.1'

      ReportServer.1 100%[===================================================>] 574 --.-KB/s in 0s

      2019-03-22 23:11:19 (11.4 MB/s) - 'ReportServer.1' saved [574/574]


      What's wrong with MSBuild? How do I make it work with local ReportServer?



      I also tried devenv.com command line



      "C:Program Files (x86)Microsoft Visual Studio2017CommunityCommon7IDEdevenv.com" "C:UsersDocumentsReportsReports.sln" /deploy


      with hope that it will display more detailed error information. But it seems to ignore the deploy command and outputs:



      ------ Build started: Project: Reports, Configuration: Release ------
      Build Build complete
      ...

      ------ Skipped Deploy: Project: Reports, Configuration: Release ------
      Project not selected to build for this solution configuration
      ========== Build: 2 succeeded or up-to-date, 0 failed, 0 skipped ==========
      ========== Deploy: 0 succeeded, 0 failed, 2 skipped ==========


      Why does it say "Build started", while if I run Deploy in Visual Studio it outputs "Deploy started" and indeed deploys the project?



      How do I automate SSRS project deployment then?










      share|improve this question
















      I'm trying to deploy a solution with two rptproj projects to local SSRS ReportServer:



      "C:Program Files (x86)Microsoft Visual Studio2017CommunityMSBuild15.0Binmsbuild.exe" 
      "C:UsersDocumentsReportsReports.sln" /target:Deploy /p:TargetServerUrl=http://localhost/ReportServer /p:configuration="Release" /p:Username="MYSERVERReportDeployer" /p:Password=sOmepAsSwoRD


      Building of rdl files succeeds but when it attempts to deploy, it almost immediately fails with the following message:



      C:Program Files (x86)Microsoft Visual Studio2017CommunityMSBuildReporting ServicesMicrosoft.ReportingServices.MS
      Builder.targets(30,5): error : : Could not connect to the report server http://localhost/ReportServer. Verify that t
      he TargetServerURL is valid and that you have the correct permissions to connect to the report server.


      I have verified that the ReportServer is running and that I can access it with the credentials I supply in /p:Username and /p:Password and that the user has all permissions on the root folder on the ReportServer. The reports have already been published from Visual Studio just fine many times - VS just shows the popup for credentials and then it succeeds.



      I also tried wget and it successfully passes the authentication and loads the ReportServer page:



      wget http://localhost/ReportServer --user "MYSERVERReportDeployer" --password sOmepAsSwoRD

      --2019-03-22 23:11:19-- http://localhost/ReportServer
      Resolving localhost (localhost)... ::1, 127.0.0.1
      Connecting to localhost (localhost)|::1|:80... connected.
      HTTP request sent, awaiting response... 401 Unauthorized
      Authentication selected: Basic realm="localhost"
      Reusing existing connection to [localhost]:80.
      HTTP request sent, awaiting response... 200 OK
      Length: 574 [text/html]
      Saving to: 'ReportServer.1'

      ReportServer.1 100%[===================================================>] 574 --.-KB/s in 0s

      2019-03-22 23:11:19 (11.4 MB/s) - 'ReportServer.1' saved [574/574]


      What's wrong with MSBuild? How do I make it work with local ReportServer?



      I also tried devenv.com command line



      "C:Program Files (x86)Microsoft Visual Studio2017CommunityCommon7IDEdevenv.com" "C:UsersDocumentsReportsReports.sln" /deploy


      with hope that it will display more detailed error information. But it seems to ignore the deploy command and outputs:



      ------ Build started: Project: Reports, Configuration: Release ------
      Build Build complete
      ...

      ------ Skipped Deploy: Project: Reports, Configuration: Release ------
      Project not selected to build for this solution configuration
      ========== Build: 2 succeeded or up-to-date, 0 failed, 0 skipped ==========
      ========== Deploy: 0 succeeded, 0 failed, 2 skipped ==========


      Why does it say "Build started", while if I run Deploy in Visual Studio it outputs "Deploy started" and indeed deploys the project?



      How do I automate SSRS project deployment then?







      reporting-services deployment msbuild






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 22 at 22:01







      JustAMartin

















      asked Mar 22 at 21:27









      JustAMartinJustAMartin

      6,1271270138




      6,1271270138






















          0






          active

          oldest

          votes












          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55308012%2fmsbuild-cannot-deploy-to-localhost-reportserver%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55308012%2fmsbuild-cannot-deploy-to-localhost-reportserver%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript