SQL SERVER 2008 安裝過程中,
進行到server configuration步驟,
報錯 “The credentials you provided for the SQL Server Agent service are invalid.”解決方案如下:
報錯內容示例:
The specified credentials that were provided for the sql server service are not valid...
還有
TITLE: Message Details ------------------------------ The credentials you provided for the SQL Server Agent service are invalid. To continue, provide a valid account and password for the SQL Server Agent service. ------------------------------ BUTTONS: OK ------------------------------
報錯截圖:
解決方案:(一張圖輕松解決,見下)
1. 點擊use the same account for all SQL Server services. (當然你也可以不用同一個賬戶,我只是節約時間)
2.在彈出對話框中,account name旁邊,點擊按鈕 Browse...
3.輸入對象名稱,比如administrator,
4.點擊“檢查名稱”,點擊確定,
5.輸入該賬戶的密碼。
成功的話,你可以看到報錯消失,然后我們可以點擊Next >
NOTE:
如果是在WIN7上安裝,且你沒有為賬戶設置密碼,請先設置密碼 (控制面板\所有控制面板項\用戶帳戶 -》添加密碼)。
follow the tips below to solve this error:
1. select a user from the drop down menu other than creating one on the spot
2. the password is the password of the user you selected not that you setup on the spot
3. the user you selected should have the proper priority
其他reference:
https://stackoverflow.com/questions/11932573/credentials-for-the-sql-server-agent-service-are-invalid
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/07f22d2b-2968-419a-a9c5-7b0ab8227629/help-stuck-in-server-configuration-in-sql-server-2008?forum=sqlsetupandupgrade