asp.net - Deployment works ok in Visual Studio, fails using MSDeploy -


I have a web project and I would like to deploy it using a MSDeploy in a fun environment < Ul
  • Site name: Li
  • Username: Administrator
  • Password: SomePasswordHere
  • Destination: mystaging.com
  • (mystaging.com Public site - obviously, it is not)

    Deployment View Studio

    MSDeploy is trying the same thing as:

      -verb: sync-campaign untruth-source: contentPath = "C: \ Users \ ... \ obj \ Staging \ Package \ PackageTmp" -Nifty: contentpath = 'C: \ Inetpub \ wwwroot \ project-staging' includeAcls = 'False', ComputerName = https: // mystaging. Com: 8172 / msdeploy.axd? Site = project-staging, userName = administrator, password = some passwordHair, or type = basic  

    failed with it:

     < Code> Error code: ERROR_USER_UNAUTHORIZED More info: From the remote computer Ter ("mystaging.com") using the Net Web Management service, but could not authorize make sure that you are using the correct username and password, the site you are present on, and that the credentials Represent the user, whose access to the site is allowed. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_USER_UNAUTHORIZED Error: Remote server returned an error: (401) Unauthorized error number: 1. Process -1 exits the code.  

    I have tried everything (raising permissions, making other users etc) and nothing worked.

    How does someone tip me about fixing this issue and also being posted from MSDeploy?

    Do you have access to the target deployment server to analyze applications, security and webserver logs? In these drilling, the last failed deployment attempt can be more indicative of the error of the date and time being discovered.

    Edit: Correct Typo


    Comments

    Popular posts from this blog

    python - Overriding the save method in Django ModelForm -

    html - CSS autoheight, but fit content to height of div -

    qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -