The password supplied with the username Domain\UserName was not correct. Verify that it was entered correctly and try again
起因
今天想进入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就可以成功了