Year: 2010

Converting FBA users to SharePoint 2010

With thanks to commenter Anu, I can hereby present a way to convert old FBA users to SharePoint 2010 compatible users when converting a 2007 installation to 2010. The easy way is a simple Powershell script: $w = Get-SPWebApplication(“url”) $w.MigrateUsers(true) But this script seems to have a hardcoded limit to the number of users it

Read more

Invalid URL error when adding action to ECTS

I tried adding an action to an external content type. I entered the URL as follows: https://helpdesk.companyname.nl/app/ib/inc.asp?Typ={0} Now SharePoint told me: “The Action URL is not valid. Either the URL format is not valid or the number of parameters in the URL is fewer than the number of parameters added to the action.” What did

Read more

SP2010: Creating a mixed mode login page for claims based authentication

In SharePoint 2010, claims based authentication provides us with a way of dealing with multiple sorts of authentication in one site. Where in the older SharePoint versions you needed to create a new site for each authentication method (Windows, Forms), you can now use both at the same time. This means all users are visiting

Read more

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