We are using the Sharepoint 2010 rating functionality in our application. The application page is able to retrieve the document rating but while updating the rating to the document through an application page, it throws error –
UserProfile.RetrieveUser() Exception: Microsoft.Office.Server.UserProfiles.UserProfileApplicationNotAvailableException: System.ServiceModel.EndpointNotFoundException at Microsoft.Office.Server.UserProfiles.ProfileDBCacheServiceClient.GetUserData(UserSearchCriteria searchCriteria) at Microsoft.Office.Server.UserProfiles.UserProfileCache.GetUserData(UserProfileManager objManager, Nullable`1 recordId, Guid gAcct, String strAcct, Byte[] bSid, String strEmail, Boolean doNotResolveToMasterAccount)
The user profile and the user profile synchronization services are running on the server.
Any pointers on this would be appreciated.
SOLUTION 1:
You may want to have a look at the application pool for the user profile service application on the app server which is running the user profile service. Ensure that it is in started state and that the particular server has no connectivity issues. Check the windows log on the app server for any WCF (System.ServiceModel exceptions)
Also, as per the stack trace ProfileDBCacheServiceClient service is throwing the exception. Check the endpoint configurations in the corresponding web.config file in the <Install Dir>:\Program Files\Microsoft Office Servers\14.0\WebServices\Profile
Thanks,
Sridhar.
No comments:
Post a Comment