Tell me more ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I want to incorporate social feed into my SharePoint webpart. I followed this tutorial: Code example: Retrieve social feeds by using the SharePoint 2013 JavaScript object model. Even if I used exactly the same JavaScript code, when I get to this line:

clientContext.executeQueryAsync(CallIterateFunctionForFeeds, RequestFailed);

the method always returns with an error:

The request was aborted: The request was canceled

My question:
Are there some settings in SharePoint, that I may need to change? Could I have missed something, that is not covered in the tutorial?

Oh, and my solution is deployed as Farm Solution.

share|improve this question
 
Do you have Full Control on the User Profile Service Application? –  Robert Lindgren Jul 16 at 8:00

1 Answer

up vote 0 down vote accepted

Turns out, the problem was SqlException. My web application is different than MySites web app. Application pool user of my web app could not login to content database of MySites web app.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.