我正在使用 CompanyApp.deploy.cmd 来远程部署 Web 应用程序包 (/t:Package)。AppPool 在域用户下运行(因为 kerberos),而不是在网络服务帐户下。
我正在使用本地管理员进行部署。
在我们的 CI 服务器上构建时,我调用:
CompanyApp.deploy.cmd
/Y
/M:IP
/U:Administrator
/P:******
-enableRule:DoNotDeleteRule
发生以下错误:
27-Mrz-2013 14:41:28 SetParameters from:
27-Mrz-2013 14:41:28 "C:\b\SH-SDS09-DEP2\CompanyApp\CompanyApp.SetParameters.xml"
27-Mrz-2013 14:41:28 You can change IIS Application Name, Physical path, connectionString
27-Mrz-2013 14:41:28 or other deploy parameters in the above file.
27-Mrz-2013 14:41:28 -------------------------------------------------------
27-Mrz-2013 14:41:28 Start executing msdeploy.exe
27-Mrz-2013 14:41:28 -------------------------------------------------------
27-Mrz-2013 14:41:28 "C:\Program Files (x86)\IIS\Microsoft Web Deploy V3\msdeploy.exe" -source:package='C:\b\SH-SDS09-DEP2\CompanyApp\CompanyApp.zip' -dest:auto,computerName="IP",userName="Administrator",password="********",includeAcls="False" -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -setParamFile:"C:\b\SH-SDS09-DEP2\CompanyApp\CompanyApp.SetParameters.xml" -enableRule:DoNotDeleteRule -setParam:...
27-Mrz-2013 14:41:29 Info: Using ID '475e8a8f-94a4-4cda-8e4c-a281bbc75145' for connections to the remote server.
27-Mrz-2013 14:41:29 Info: Adding ACL's for path (Default Web Site/CompanyApp)
27-Mrz-2013 14:41:29 Error: (3/27/2013 2:41:29 PM) An error occurred when the request was processed on the remote computer.
27-Mrz-2013 14:41:29 Error: The account 'COMPANYDOMAIN\service_user' does not appear to be valid. The account was obtained from this location: 'system.applicationHost/applicationPools/CompanyAppPool'.
27-Mrz-2013 14:41:29 Error: Some or all identity references could not be translated.
27-Mrz-2013 14:41:29 Error count: 1.
当 AppPool 在 Network Service Account 下运行时,远程部署成功。
哪个星座可以在这里成功部署?