我收到了一臺新計算機,並試圖通過Visual Studio中的Web部署從新計算機發布我的網站,但由於未經授權的用戶,它一直說失敗。我使用的是同一個Visual Studio帳戶,密碼相同。其他一切與舊電腦中的相同。從新計算機進行Web部署
在azure網站上是否有某些東西需要更新才能讓新電腦發佈?密碼與我登錄進入天藍色門戶的用戶名/密碼不同嗎?在我的舊電腦的密碼輸入中,似乎還有更多的****比所需要的更多。我只是假設它在某種程度上是出於安全目的。
這是在Visual Studio中的發佈窗口要設置的時候,我得到的錯誤,當我點擊驗證連接:
Connect to the remote computer ("website name" using the Web Management Service, but could not authorize. Make sure that you are using the correct user name and password, that the site you are connecting to exists, and the credentials represent a user who has permissions to access the site. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_USER_UNAUTHORIZED . The remote server returned an error: (401) Unauthorized.
以管理員身份打開VS,並按照下列步驟操作:https://support.discountasp.net/kb/a1286/how-to-deploy-visual-studio-2013-web-application-project-to-discountasp_net-using-web -deploy-ftp.aspx」 – HarshalY