Microsoft PlayGround

A Playground for Microsoft Technologies

Entries Tagged ‘Development’

Console Application for SharePoint 2010 [No User Profile Application available to service the request. Contact your farm administrator.]

Today I was working on some cool features to update the User Profile store in SharePoint 2010. To test this feature I usually use a Console Application. In my Console Application I was keep getting an error on a line like below: UserProfileManager profileConfigManager = new UserProfileManager(ServiceContext); The exception I kept getting was : ‘No [...]

SharePoint 2010 Custom Errors

About a year ago I wrote a article on deactivating the custom errors off SharePoint 2007. That had to be done in the following manner: Step 1: Change <SafeMode MaxControls="200" CallStack="false" > to <SafeMode MaxControls="200" CallStack="true" > Step 2: <customErrors mode="Off"/> If you do this on a SharePoint 2010 installation you will still get the [...]

SharePoint 2010: Getting Started with Development

When I was reading and searching information about SharePoint 2010 on the internet I found I really helpful page in the Microsoft download  to get started with development for SharePoint 2010. On the page a 10 Hands on Labs for you to try out in C# and Visual Basic. Overview HOL01 – Developing a Visual [...]

Adding profile properties through code

It can occur that you want to add a property to the property collection of the user profile store by using a feature. If you want to use a feature you would have to create a feature with a FeatureReceiver. In the FeatureReceiver you would have to implement the FeatureActivated and FeatureDeactivating. The feature.xml file [...]