Skip to main content

In a site workflow, got following error in query user profile action:

Error querying user profile. UserProfileDBCache_WCFLogging :: ProfileDBCacheServiceClient.GetUserData threw exceptionSystem.TimeoutException

 

I didn't get this error consistently. The query user profile action is in a loop. Sometimes I got the error in the first record, sometimes I got it in the middle of the loop, that means there were successes in querying user profile for some records. I saw some suggestion to increase the timeout limit in sql server, I checked it and it is in 600 which is 10 minutes.

 

I am in sharepoint 2013 on premise.

 

Thank you in advance for any advice!

 

Alex

A follow up, I added 5 minutes pause in the beginning, changed some logic, and the error disappeared.


Reply