點擊User Profile Service Application時出錯

    User Profile Service是一個讓人頭疼的服務。剛開始,頁面右上角的"My Site", "My Profile"不見了,後來又發現點擊Site Collection中的"Search Scope"也出問題了,實在是不解決不行了,我纔開始通過"Correlation ID"找到錯誤的詳細信息,具體命令如下:

get-splogevent | ?{$_.Correlation -eq "<GUID>"} | select Area, Category, Level, EventID, Message | Format-List

 

    通過查看log信息,發現,MySite鏈接的消失和點擊Search Scope時出錯,都跟User Profile Service有關。於是我需要先解決點擊User Profile Service Application時出錯的問題。在查看此處的log信息是,發現錯誤信息如下:

User Profile Application Proxy failed to retrieve partition of User Profile Application.

    這是個很普通的錯誤,在網上搜索了一下,很多文章都說到,大部分文章都說重啓IIS之後就可以了,但我試過了網上的很多方法,都不行。但網上的很多文章都提到了User Profile Synchronization Service,於是我就去查看此服務(CA-->System Settings-->Manage services on server),發現它沒有啓動。於是我嘗試去啓動User Profile Synchronization Service,但發現其啓動不了,一直處於"Starting"的狀態。沒辦法,我又去查找這個服務不能啓動的原因,發現了這篇文章 ;我按照文章中的說法去執行以下兩個命令:

net start FIMService
net start FIMSynchronizationService

然後重啓IIS。再次點擊"User Profile Service Application"時就正常了,而且右上角的"My Site"和"My Profile"也出現了,並且Site Collection中的"Search Scope"也可以工作了。

    這只是我解決此問題的過程,希望能給碰到相同問題的朋友一點幫助。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章