3

MSDeploy を使用して Web アプリケーションをデプロイしようとしています。最初のステップでは、アプリはテスト サーバー (ビルド中に作成されたパッケージを使用) にデプロイされ、次に運用サーバー (ソースと宛先はiisApp) にデプロイされ、次のステップはweb.config運用サーバーへの運用ファイルのデプロイです。

すべて正常に動作しますが、web.configファイルの展開でエラーが報告されます

Error Code: ERROR_USER_NOT_AUTHORIZED_FOR_DEPLOYMENTPROVIDER
More Information: Could not complete an operation with the specified
provider ("filePath") when connecting using the Web Management Service. 
This can occur if the server administrator has not authorized the user for 
this operation. filePath http://go.microsoft.com/fwlink/?LinkId=178034

Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_USER_NOT_AUTHORIZED_FOR_DEPLOYMENTPROVIDER.

展開に同じマシン、同じユーザー名、同じパスワードを使用しています。展開に使用されたマシンの IIS マネージャーの [管理サービスの委任] 画面で、ユーザーのfilePath展開が有効になっていることを確認できます ( dirPathcontentPathiisAppおよび)。setAcl

ここに画像の説明を入力

と についても失敗しdirPathますcontentPath

誰でも助けることができますか?ありがとう

更新 - MSDeploy が-verboseフラグ付きで実行されたときのログ

"C:\Program Files (x86)\IIS\Microsoft Web Deploy V3\msdeploy" 
  -verb:sync -source:filePath="C:\MyProject\DeployConfig\web\web.config" 
  -dest:filePath="web/web.config",computerName="https://deployement:8172/MSDeploy.axd?site=my-site",userName="publish",password="password",authtype="Basic",includeAcls="False" 
  -allowUntrusted -verbose

Info: Using ID '7fcedfe4-c103-48f4-ab98-4fae743d5eb7' for connections to the remote server.
Verbose: Pre-authenticating to remote agent URL 'https://deployment:8172/MSDeploy.axd?site=my-site' as 'publish'.
Verbose: Performing synchronization pass #1.
Verbose: Pre-authenticating to remote agent URL 'https://deployment:8172/MSDeploy.axd?site=my-site' as 'publish'.
Verbose: No backup was executed.
Verbose: Received response from agent (HTTP status 'OK').
Info: Adding MSDeploy.filePath (MSDeploy.filePath).
Verbose: The dependency check 'DependencyCheckInUse' found no issues.
Verbose: The current synchronization pass is missing stream content for 1 objects.
Info: Using ID '8f582c09-614e-4344-87c9-64867e44fc4e' for connections to the remote server.
Verbose: Performing synchronization pass #2.
Verbose: Pre-authenticating to remote agent URL 'https://deployment:8172/MSDeploy.axd?site=my-site' as 'publish'.
Info: Adding MSDeploy.filePath (MSDeploy.filePath).
Verbose: Received response from agent (HTTP status 'OK').
Info: Adding child MSDeploy.filePath (C:\MyProject\DeployConfig\web\web.config).
4

0 に答える 0