Guest User

Untitled

a guest
Oct 24th, 2014
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.53 KB | None | 0 0
  1. msdeploy -verb:sync -source:appHostConfig="KitchenPC",computerName=192.168.0.3,userName=Administrator,password=secret -dest:package=c:DeployTestKPC.zip
  2.  
  3. msdeploy -verb:sync -source:appHostConfig="KitchenPC",computerName=192.168.0.3,userName=kpcpublish,password=secret -dest:package=c:DeployTestKPC.zip
  4.  
  5. Error Code: ERROR_USER_NOT_ADMIN
  6. More Information: Connected to '192.168.0.11' using the Web Deployment Agent Service, but could not authorize. Make sure you are an administ
  7. rator on '192.168.0.11'. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_USER_NOT_ADMIN.
  8. Error: The remote server returned an error: (401) Unauthorized.
  9. Error count: 1.
  10.  
  11. Publish enabled for 'SERVERkpcpublish' Granted 'SERVERkpcpublish'
  12. full control on 'C:Website' Successfully created settings file
  13. 'C:UsersAdministratorDesktopSERVER_kpcpublish_KitchenPC.PublishSettings'
  14.  
  15. msdeploy -verb:sync -source:appHostConfig="Default Web Site",computerName=https://STAGING:8172/msdeploy.axd,userName=Administrator,password=Khorf123 -dest:package=c:DeleteMe.zip
  16. Info: Using ID 'f3a54096-adc4-4f54-9e4f-ad8fde12edb6' for connections to the remote server.
  17. Error Code: ERROR_CERTIFICATE_VALIDATION_FAILED
  18. More Information: Connected to the remote computer ("staging") using the specified process ("Web Management Service"), but could not verify the server's certifi
  19. cate. If you trust the server, connect again and allow untrusted certificates.
  20. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_CERTIFICATE_VALIDATION_FAILED.
  21. Error: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
  22. Error: The remote certificate is invalid according to the validation procedure.
  23. Error count: 1.
  24.  
  25. msdeploy -verb:sync -source:appHostConfig="Default Web Site",computerName=http://STAGING:8172/msdeploy.axd,userName=Administrator,password=Khorf123 -dest:package=c:DeleteMe.zip
  26. Info: Using ID 'ebee66f0-08e5-4d9d-98ea-0c2e59784895' for connections to the remote server.
  27. Error: Could not complete the request to remote agent URL 'http://staging:8172/msdeploy.axd'.
  28. Error: The operation has timed out
  29. Error count: 1.
  30.  
  31. msdeploy -verb:sync ^
  32. -source:appHostConfig="KitchenPC",computerName=http://192.168.0.3:8192/MsDeploy.axd,userName=kpcpublish,password=secret,authType=Basic ^
  33. -dest:package=c:DeployTestKPC.zip
  34.  
  35. 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