2011-06-15

Problem connecting to a site collection using SharePoint Designer 2010

Got a weird error when I tried to connect to a SharePoint 2010 site collection:

"An error occurred while trying to fetch data from your sharepoint site" + "The status is 'OK'"

No it's not ok!

Looking at different blog posts several suggestions were provided: different build version, IIS binding issues, and so on.

BUT what fixed it in my case was these steps (suggested by JacobEgholm):


  • In IIS select authentication for the web app that causes you headaches

  • Select Windows Authentication

  • Select Advanced settings and turn off Extended protection

2011-06-01

Branding SharePoint 2010 My Site: Custom Master Page to replace mysite.master (MySitePublicWebPartPage)

We where creating a custom master page to replace the OOB mysite.master. Our plan was to use one common master for all usage scenarios. Applying our master page we got a server error:

Object reference not set to an instance of an object.

in the method:

Microsoft.SharePoint.Portal.WebControls.MySitePublicWebPartPage.OnInit(EventArgs e)

I had no clue what the issue was before i checked the implemntation of the OnInit() method using Reflector.

I turns out that pages inheriting from MySitePublicWebPartPage MUST have the content placeholder "PlaceHolderLeftNavBar" defined - it's hardcoded and NO check on null :-(.

Branding SharePoint 2010 My Site: Custom Master Page to replace mysite.master

We where creating a custom master page to replace the OOB mysite.master. Our plan was to use one common master for all usage scenarios. Applying our master page we got a server error:

Object reference not set to an instance of an object.

in the method:

Microsoft.SharePoint.Portal.WebControls.MySitePublicWebPartPage.OnInit(EventArgs e)

I had no clue what the issue was before i checked the implemntation of the OnInit() method using Reflector.

I turns out that pages inheriting from MySitePublicWebPartPage MUST have the content placeholder "PlaceHolderLeftNavBar" defined - it's hardcoded and NO check on null :-(.