Permissions error regarding Jenkins, Web Deploy, and IISHow do I change permissions for a folder and all of its subfolders and files in one step in Linux?Visual Studio Web Deploy to IIS 6WMSVC works, Web Deploy Agent throws 401IIS7 Permissions Overview - ApplicationPoolIdentityHow to restart Jenkins manually?ssh “permissions are too open” errorConfig Error: This configuration section cannot be used at this pathnpm throws error without sudoWhy is Web Deploy using the wrong account?MS Web deploy tool over http connection

How to use blackboard bold numbers with the Palatino (mathpazo) font?

Why do some audio amps use AC while others use DC

Labeling lines that are not within polygons using field calculator

What is Ferb's name short for?

ISO how high is right at night

In this day and age should the definition / categorisation of erotica be revised?

Who inspired the character Geordi La Forge?

2000's spooky show with a group of teens telling spooky stories in the woods

Is there any research on the development of attacks against artificial intelligence systems?

Fat Cantor Set with large complement???

Is it allowed to let the engine of an aircraft idle without a pilot in the plane. (For both helicopters and aeroplanes)

Why did my relationship with my wife go down by two hearts?

Why it is a big deal whether or not Adam Schiff talked to the whistleblower?

Multiple holes in exterior wall studs for electrical wiring

How can I communicate feelings to players without impacting their agency?

How can the mourner remarry within one month, if he has to wait two regalim?

Company indirectly discriminating against introverts, specifically INTJ

How do I get my boyfriend to remove pictures of his ex girlfriend hanging in his apartment?

How can a stock trade for a fraction of a cent?

How does a ball bearing door hinge work?

Does code obfuscation give any measurable security benefit?

Replace spaces with comma but not in the whole line

If we should encrypt the message rather than the method of transfer, why do we care about wifi security? Is this just security theatre?

Why is my paper "under review" if it contains no results?



Permissions error regarding Jenkins, Web Deploy, and IIS


How do I change permissions for a folder and all of its subfolders and files in one step in Linux?Visual Studio Web Deploy to IIS 6WMSVC works, Web Deploy Agent throws 401IIS7 Permissions Overview - ApplicationPoolIdentityHow to restart Jenkins manually?ssh “permissions are too open” errorConfig Error: This configuration section cannot be used at this pathnpm throws error without sudoWhy is Web Deploy using the wrong account?MS Web deploy tool over http connection






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









0

















We're running a Jenkins slave using a windows domain account to run the service and are configuring Web Deploy 3.6 to deploy to our application in IIS (8.5). We have this configured to deploy on other servers which use the Jenkins service account to deploy and it's running as it's supposed to, but for this one server we're getting the following permissions error:



Start Web Deploy Publish the Application/package to https://<app url>:8172/msdeploy.axd?site=<app> ...
Starting Web deployment task from source: manifest(E:JenkinsCDPworkspace<app folder><app name>GUI - Stage<app folder><app name>objDebugPackage<app name>.SourceManifest.xml) to Destination: auto().
E:Program Files (x86)Microsoft Visual Studio2017CommunityMSBuildMicrosoftVisualStudiov15.0WebMicrosoft.Web.Publishing.targets(4292,5): msdeploy error
ERROR_USER_UNAUTHORIZED: Web deployment task failed.
(Connected to the remote computer ("<app url>") using the Web Management Service, but could not authorize. Make sure that you are using the correct user name and password, that the site you are connecting to exists,
and that the credentials represent a user who has permissions to access the site. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_USER_UNAUTHORIZED.)


The only difference with this server is that it's also running with another account in the app pool in IIS. We've replaced the default admin and user created when Web Deploy is installed with the Jenkins service account and updated the rules in the Management Service Delegation to use that account as well. The Jenkins service account and the app pool account has full permissions to the inetpub directory and we even added it to the administrators group (even though it's not added to the admin group on the other servers that do work) and we still get the same error. I also rebooted the server after installing. I checked the Management Service log and see the following:



#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status time-taken
2019-03-26 15:28:18 <ip addr1> HEAD /msdeploy.axd site=<app name> 8172 - <ip addr2> - - 401 2 5 2089
2019-03-26 15:31:53 <ip addr1> HEAD /msdeploy.axd site=<app name> 8172 - <ip addr2> - - 401 2 5 11


I'd expect to see the actual ID for the cs-username, but I don't see anything. It's as if the service doesn't see the Jenkins service account. But if I run another build using Web Deploy on another server and the same Jenkins slave it functions as it should. We expect to see the following in the Management Service log:



2019-03-18 03:27:23 <ip addr1> HEAD /msdeploy.axd site=<app name> 8172 <domain><user> <ip addr2> - - 200 0 0 139


Any input would be greatly appreciated.










share|improve this question


































    0

















    We're running a Jenkins slave using a windows domain account to run the service and are configuring Web Deploy 3.6 to deploy to our application in IIS (8.5). We have this configured to deploy on other servers which use the Jenkins service account to deploy and it's running as it's supposed to, but for this one server we're getting the following permissions error:



    Start Web Deploy Publish the Application/package to https://<app url>:8172/msdeploy.axd?site=<app> ...
    Starting Web deployment task from source: manifest(E:JenkinsCDPworkspace<app folder><app name>GUI - Stage<app folder><app name>objDebugPackage<app name>.SourceManifest.xml) to Destination: auto().
    E:Program Files (x86)Microsoft Visual Studio2017CommunityMSBuildMicrosoftVisualStudiov15.0WebMicrosoft.Web.Publishing.targets(4292,5): msdeploy error
    ERROR_USER_UNAUTHORIZED: Web deployment task failed.
    (Connected to the remote computer ("<app url>") using the Web Management Service, but could not authorize. Make sure that you are using the correct user name and password, that the site you are connecting to exists,
    and that the credentials represent a user who has permissions to access the site. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_USER_UNAUTHORIZED.)


    The only difference with this server is that it's also running with another account in the app pool in IIS. We've replaced the default admin and user created when Web Deploy is installed with the Jenkins service account and updated the rules in the Management Service Delegation to use that account as well. The Jenkins service account and the app pool account has full permissions to the inetpub directory and we even added it to the administrators group (even though it's not added to the admin group on the other servers that do work) and we still get the same error. I also rebooted the server after installing. I checked the Management Service log and see the following:



    #Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status time-taken
    2019-03-26 15:28:18 <ip addr1> HEAD /msdeploy.axd site=<app name> 8172 - <ip addr2> - - 401 2 5 2089
    2019-03-26 15:31:53 <ip addr1> HEAD /msdeploy.axd site=<app name> 8172 - <ip addr2> - - 401 2 5 11


    I'd expect to see the actual ID for the cs-username, but I don't see anything. It's as if the service doesn't see the Jenkins service account. But if I run another build using Web Deploy on another server and the same Jenkins slave it functions as it should. We expect to see the following in the Management Service log:



    2019-03-18 03:27:23 <ip addr1> HEAD /msdeploy.axd site=<app name> 8172 <domain><user> <ip addr2> - - 200 0 0 139


    Any input would be greatly appreciated.










    share|improve this question






























      0












      0








      0








      We're running a Jenkins slave using a windows domain account to run the service and are configuring Web Deploy 3.6 to deploy to our application in IIS (8.5). We have this configured to deploy on other servers which use the Jenkins service account to deploy and it's running as it's supposed to, but for this one server we're getting the following permissions error:



      Start Web Deploy Publish the Application/package to https://<app url>:8172/msdeploy.axd?site=<app> ...
      Starting Web deployment task from source: manifest(E:JenkinsCDPworkspace<app folder><app name>GUI - Stage<app folder><app name>objDebugPackage<app name>.SourceManifest.xml) to Destination: auto().
      E:Program Files (x86)Microsoft Visual Studio2017CommunityMSBuildMicrosoftVisualStudiov15.0WebMicrosoft.Web.Publishing.targets(4292,5): msdeploy error
      ERROR_USER_UNAUTHORIZED: Web deployment task failed.
      (Connected to the remote computer ("<app url>") using the Web Management Service, but could not authorize. Make sure that you are using the correct user name and password, that the site you are connecting to exists,
      and that the credentials represent a user who has permissions to access the site. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_USER_UNAUTHORIZED.)


      The only difference with this server is that it's also running with another account in the app pool in IIS. We've replaced the default admin and user created when Web Deploy is installed with the Jenkins service account and updated the rules in the Management Service Delegation to use that account as well. The Jenkins service account and the app pool account has full permissions to the inetpub directory and we even added it to the administrators group (even though it's not added to the admin group on the other servers that do work) and we still get the same error. I also rebooted the server after installing. I checked the Management Service log and see the following:



      #Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status time-taken
      2019-03-26 15:28:18 <ip addr1> HEAD /msdeploy.axd site=<app name> 8172 - <ip addr2> - - 401 2 5 2089
      2019-03-26 15:31:53 <ip addr1> HEAD /msdeploy.axd site=<app name> 8172 - <ip addr2> - - 401 2 5 11


      I'd expect to see the actual ID for the cs-username, but I don't see anything. It's as if the service doesn't see the Jenkins service account. But if I run another build using Web Deploy on another server and the same Jenkins slave it functions as it should. We expect to see the following in the Management Service log:



      2019-03-18 03:27:23 <ip addr1> HEAD /msdeploy.axd site=<app name> 8172 <domain><user> <ip addr2> - - 200 0 0 139


      Any input would be greatly appreciated.










      share|improve this question

















      We're running a Jenkins slave using a windows domain account to run the service and are configuring Web Deploy 3.6 to deploy to our application in IIS (8.5). We have this configured to deploy on other servers which use the Jenkins service account to deploy and it's running as it's supposed to, but for this one server we're getting the following permissions error:



      Start Web Deploy Publish the Application/package to https://<app url>:8172/msdeploy.axd?site=<app> ...
      Starting Web deployment task from source: manifest(E:JenkinsCDPworkspace<app folder><app name>GUI - Stage<app folder><app name>objDebugPackage<app name>.SourceManifest.xml) to Destination: auto().
      E:Program Files (x86)Microsoft Visual Studio2017CommunityMSBuildMicrosoftVisualStudiov15.0WebMicrosoft.Web.Publishing.targets(4292,5): msdeploy error
      ERROR_USER_UNAUTHORIZED: Web deployment task failed.
      (Connected to the remote computer ("<app url>") using the Web Management Service, but could not authorize. Make sure that you are using the correct user name and password, that the site you are connecting to exists,
      and that the credentials represent a user who has permissions to access the site. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_USER_UNAUTHORIZED.)


      The only difference with this server is that it's also running with another account in the app pool in IIS. We've replaced the default admin and user created when Web Deploy is installed with the Jenkins service account and updated the rules in the Management Service Delegation to use that account as well. The Jenkins service account and the app pool account has full permissions to the inetpub directory and we even added it to the administrators group (even though it's not added to the admin group on the other servers that do work) and we still get the same error. I also rebooted the server after installing. I checked the Management Service log and see the following:



      #Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status time-taken
      2019-03-26 15:28:18 <ip addr1> HEAD /msdeploy.axd site=<app name> 8172 - <ip addr2> - - 401 2 5 2089
      2019-03-26 15:31:53 <ip addr1> HEAD /msdeploy.axd site=<app name> 8172 - <ip addr2> - - 401 2 5 11


      I'd expect to see the actual ID for the cs-username, but I don't see anything. It's as if the service doesn't see the Jenkins service account. But if I run another build using Web Deploy on another server and the same Jenkins slave it functions as it should. We expect to see the following in the Management Service log:



      2019-03-18 03:27:23 <ip addr1> HEAD /msdeploy.axd site=<app name> 8172 <domain><user> <ip addr2> - - 200 0 0 139


      Any input would be greatly appreciated.







      windows jenkins iis service permissions






      share|improve this question
















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 29 at 3:53







      Jamal

















      asked Mar 28 at 21:34









      JamalJamal

      12 bronze badges




      12 bronze badges

























          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/4.0/"u003ecc by-sa 4.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%2f55407180%2fpermissions-error-regarding-jenkins-web-deploy-and-iis%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%2f55407180%2fpermissions-error-regarding-jenkins-web-deploy-and-iis%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

          SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

          은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현