Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- msdeploy -verb:sync -source:appHostConfig="KitchenPC",computerName=192.168.0.3,userName=Administrator,password=secret -dest:package=c:DeployTestKPC.zip
- msdeploy -verb:sync -source:appHostConfig="KitchenPC",computerName=192.168.0.3,userName=kpcpublish,password=secret -dest:package=c:DeployTestKPC.zip
- Error Code: ERROR_USER_NOT_ADMIN
- More Information: Connected to '192.168.0.11' using the Web Deployment Agent Service, but could not authorize. Make sure you are an administ
- rator on '192.168.0.11'. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_USER_NOT_ADMIN.
- Error: The remote server returned an error: (401) Unauthorized.
- Error count: 1.
- Publish enabled for 'SERVERkpcpublish' Granted 'SERVERkpcpublish'
- full control on 'C:Website' Successfully created settings file
- 'C:UsersAdministratorDesktopSERVER_kpcpublish_KitchenPC.PublishSettings'
- msdeploy -verb:sync -source:appHostConfig="Default Web Site",computerName=https://STAGING:8172/msdeploy.axd,userName=Administrator,password=Khorf123 -dest:package=c:DeleteMe.zip
- Info: Using ID 'f3a54096-adc4-4f54-9e4f-ad8fde12edb6' for connections to the remote server.
- Error Code: ERROR_CERTIFICATE_VALIDATION_FAILED
- More Information: Connected to the remote computer ("staging") using the specified process ("Web Management Service"), but could not verify the server's certifi
- cate. If you trust the server, connect again and allow untrusted certificates.
- Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_CERTIFICATE_VALIDATION_FAILED.
- Error: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
- Error: The remote certificate is invalid according to the validation procedure.
- Error count: 1.
- msdeploy -verb:sync -source:appHostConfig="Default Web Site",computerName=http://STAGING:8172/msdeploy.axd,userName=Administrator,password=Khorf123 -dest:package=c:DeleteMe.zip
- Info: Using ID 'ebee66f0-08e5-4d9d-98ea-0c2e59784895' for connections to the remote server.
- Error: Could not complete the request to remote agent URL 'http://staging:8172/msdeploy.axd'.
- Error: The operation has timed out
- Error count: 1.
- msdeploy -verb:sync ^
- -source:appHostConfig="KitchenPC",computerName=http://192.168.0.3:8192/MsDeploy.axd,userName=kpcpublish,password=secret,authType=Basic ^
- -dest:package=c:DeployTestKPC.zip
- msdeploy -verb:sync -source:appHostConfig="Default Web Site",computerName=https://192.168.0.3:8172/msdeploy.axd,authType=Basic,userName=Publish,password=secret -dest:package=c:DeployTestKPC.zip -allowUntrusted
Add Comment
Please, Sign In to add comment