Creating secured BCS objects with BCS Meta Man

We started using BCS in SP2010 to create External Content Types. This is really a powerfull system, and a huge improvement on the ‘old’ BDC approach. For a project, I needed something more then just a BCS layer to get all the data. Data is being fetched from a 3rd party backend system in which

Read more

The big 2010 launch event is near!

Although I won’t be attending (neither in reallife nor online) due to a wedding, I thought I’d just remind you all of the upcoming show from Microsoft. Next week, the 12th of may, Microsoft will be launching Office 2010, SharePoint 2010, Project 2010 and Visio 2010 out into the open. I’m very excited, cause I’ve

Read more

SP2010: Error activating SharePoint Server Publishing Infrastructure

Today I ran into an error when trying to enable the “SharePoint Server Publishing Infrastructure” feature on an existing SharePoint site. The logs told me: “Feature Activation: Failed to ensure feature dependencies for feature ‘PublishingSite’ (id: ‘f6924d36-2fa8-4f0b-b16d-06b7250180fa’), exception thrown: Microsoft.SharePoint.SPException: Provisioning did not succeed. Details: Failed to create the ‘Site Collection Documents’ library. OriginalException: A

Read more

SP2010: Error when trying to add FBA user to sharepoint group

I ran into an error when I tried to add a FBA user (ASP.NET membership) to a SharePoint group. It told me: “The user or group ‘providername:username’ is unknown. at Microsoft.SharePoint.Utilities.SPUtility.FilterValidLoginName(String loginName, SPSite site)”. Weird, because the exact same piece of code had worked properly in 2007 and even in 2010 beta. The only thing

Read more

SP2010: Cannot get membership provider with name…

Today I was yet again playing around with SharePoint 2010 which is RTM now! I’ve downloaded the RTM version from MSDN and installed it on my workstation. Earlier, I had some problems setting up a claims based authentication site with mixed mode authentication (windows + forms auth). I wanted to try that in the RTM

Read more

SP2010: REST Data Sources within SharePoint Designer

With SharePoint 2010, there are multiple methods of getting data from a list. There’s the object model (client / server side), there’s webservices and there’s REST (which is kind of a webservice itself). With REST, you’re able to get data out of a list and view it on other sites. Those other sites don’t need

Read more

SP2010: BDC Metadata Store is Currently Unavailable

I was really impressed by the new BCS stuff which I saw @ SPC2010. Offcourse, after installing the beta on my laptop, I wanted to test it out myself. So I downloaded SharePoint designer (which is pretty damn nice compared to the old one), connected to my newly created SharePoint site and clicked “External Content

Read more

SP2010: SharePoint not supported with .NET framework version

Today I received two errors when developing a new project for SharePoint 2010. The first one was the FileNotFoundException on the SPSite constructor. Turns out that VS2010 defaults to a x86 setting for for instance console apps. This needs to be x64 since SharePoint 2010 is x64 only; switch it. The second one was “microsoft sharepoint

Read more

SharePoint 2010: GetAvailableWebTemplates CollectionNotInitializedException

The new client object model is something which required some getting used to. Most of the data in the objects isn’t loaded untill you request it, even when calling methods. For instance, the method GetAvailableWebTemplates returns an object of type WebTemplateCollection. You would probably expect that object to contain all the available web templates on

Read more