Monday, January 10, 2011

Tips to get the Social sample for SharePoint 2010 to work

There’s an interesting code sample that you can download from MSDN called SharePoint to LinkedIn Connector which is part of the Microsoft SharePoint 2010 SDK. Here’s a number of extra steps that I took to get it to work on my SharePoint 2010 dev box.

Some tips:

  • I needed to add a reference to Microsoft.SharePoint.ApplicationPages.dll assembly – you can find it underneath C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\CONFIG\ADMINBIN.
  • It has a hard coded reference to http://mysite in the feature activated event receiver – don’t forget to change that.
  • During deployment I got an error stating - “No User Profile Application available to service the request. Contact your farm administrator.” – thankfully Steve to the rescue – “No User Profile Application Available Mystery” in SharePoint 2010

After that everything worked smoothly.

No comments: