起因
今天想進入SharePoint 2013 Central Administration建立一個WebApplication,盡然發生了錯誤:
The password supplied with the username Domain\UserName was not correct. Verify that it was entered correctly and try again
具體如下圖:
中文意思是Password不正確,驗證之後再嘗試,想了一下,確實之前AD中設定了密碼過期了,所以更新了Farm(spDevFarmAcc)的密碼,難道是這個原因?
解惑
確實是由於更新了密碼導致了驗證不通過,所以需要更新Credential:
- 開啟CMD.EXE,快捷鍵:Win+R
- 開啟STSADM.EXE,先定位STSADM.EXE資料夾:
C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\BIN>
- 更新Credential,執行一下命令:
stsadm.exe -o updatefarmcredentials -userlogin domain\userName -password yourPassword
- 如果更新命令執行成功,則提示
Operation completed successfully.
OK,退出後重新登陸SharePoint Central Administration,建立新WebApplication就可以成功了