MSDeploy.exe can connect as Administrator, but not any other Windows account

后端 未结 6 1809
情话喂你
情话喂你 2021-02-02 15:37

I\'m integrating MSDeploy into my build process, and having problems authenticating. The following command works fine:

msdeploy -verb:sync -source:appHostConfig         


        
6条回答
  •  独厮守ぢ
    2021-02-02 16:24

    After configuring Web Deploy my server as follows. I continued to get HTTP 404 connection failures. In may what worked for me was the following additional efforts...

    1. Uninstall all previous version of Web Deploy that existed. I was not even aware they existed; however, previous versions appear to conflict with completing a connection to the latest Web Deploy service. Newer version don't uninstall their predecessors. In the last part, I was getting HTTP 401.7 - File Extension Denied.
    2. For good measure, performed a repair of the current version of Web Deploy, currently Microsoft Web Deploy 3.6
    3. For good measure, recreate and import my Visual Studio 2013 deployment profile...
      1. recreate the publish settings file using the Configure Web Deploy Publishing dialogue available from the Deploy context menu option of the target website in IIS Manager's Connections panel. (Note, the publish settings file will be recreated when you press Setup as the file whose full path is specified in the dialogue entry, Specify a location to save the publish settings file)
      2. Copy or otherwise make the publish settings file available to Visual Studio and selecting Publish from your project's context menu, create a Visual Studio publish profile by importing the publish settings file.

提交回复
热议问题