Tuesday, August 09, 2011

Solving the No User Profile Application available to service the request. Contact your farm administrator error when using Powershell to modify SharePoint 2010 user profiles

SharePoint permissions can be quite tricky – yesterday I stumbled upon an error “No User Profile Application available to service the request. Contact your farm administrator." when trying to update SharePoint 2010 user profiles using Powershell – luckily Steve explained what was wrong “No User Profile Application Available” Mystery in SharePoint 2010.

You have to configure security in 2 different places:

  • Click the administrators button on the Service Applications page and add yourself with Full Control
  • On the same page you will also notice a permissions button to the far right – don’t forget to add your account here as well

Monday, August 08, 2011

Installing Office Web Apps on Windows 7 not supported

Don’t try to install Office Web Apps on Windows 7 – apparently it is not supported – check out KB2276219 – When Installing Office Web Apps you get a message “Windows Server Features or Role Services required by this product are not enabled”

SharePoint data visualization with the Silverlight Pivot Viewer

A while ago I was looking for another way to visualize large dataset from within SharePoint – a cool way to do this is using the Microsoft Silverlight Pivot Viewer (check out The Silverlight Pivot Viewer Control documentation and videos  for more background info how to use this) – a great example of this is the Top SharePoint Internet Sites liver pivot .

At first I thought about writing a generic webpart myself which would load the cxml file (this is basically a specific xml format for defining the Pivot collection which you want to display) – but then I found this great project on Codeplex from Xavier Vanneste called the Pivot Viewer for SharePoint.

The Pivot Viewer for SharePoint Codeplex project contains an HTTP handler to dynamically generate a cxml file for a specific list or library – it also handles the Deepzoom image generation using Office Web Apps - and a webpart which is used to render the cxml file created by the HTTP Handler.

Off course you can still build your own custom solution on top of the Silverlight Pivot Viewer – these are the tools that you need to install to get going:

Some other links which might get you started:

Sunday, August 07, 2011

Setting up a Windows 7 with Boot from VHD option

After finding out that VMWare and Windows Phone 7.1 beta emulator were not very likely to work together correctly – I decided to explore the Boot from VHD option in Windows 7 so that I would create a second “portable and bootable” partition using a VHD file which would contain a clean version of Windows 7.

There is a lot of interesting guidance out there but finally I decided to not go for this option give the fact that I did not want to “generalize” my own portable to build the custom Windows 7  wim image. It would be interesting if a Windows 7 “install.wim” would also be provided as a download on MSDN or TechNet.

Maybe something for when I have more time on my hands:

Saturday, August 06, 2011

Third Microsoft MVP at RealDolmen–congrats Thomas

RealDolmen has another MVP – congrats to Thomas Vuylsteke for being awarded MVP for Identity Lifecycle Manager . Definitely check out his blog – http://setspn.blogspot.com

How search suggestions work in SharePoint Server 2010

A while ago I wrote about one of the new features for end users with SharePoint 2010 is that suggestions are provided while you are typing a search query which is commonly referred to as search suggestions in SharePoint 2010. The TechNet posting Manage query suggestions (SharePoint Server 2010) now explains how and when these suggestions are added:

Query suggestions are automatically created over time for any query that has a specified number of result click-throughs. By default, a query suggestion is created after users click through six times.

Thursday, August 04, 2011

Listing features on SharePoint 2010 with Powershell

The Get-SPFeature PowerShell cmdlet allows you to list all the features for a specific scope – to list all features installed on the farm sorted by DisplayName you use the following

   1:  Get-SPFeature | Sort - Property DisplayName




This will give you an enormous amount of information about the different features such as DisplayName, ReceiverAssembly, UIVersion, Scope, … basically all the properties which can be defined for a Feature Element.



You can also specify which fields you want displayed using the following syntax




   1:  Get-SPFeature | Select  DisplayName, Scope, ID



It is also quite easy to export the results to CSV format




   1:  Get-SPFeature | select DisplayName, Scope, ID | export-csv c:\features.csv




If you only need to list activated features for a specific site collection you can use the following




   1:  Get-SPFeature -Site http://url | Sort DisplayName




And similar for an individual SharePoint site




   1:  Get-SPFeature -Web http://url



 


 




Tuesday, August 02, 2011

Two little known facts about the thumbnail and PowerPoint preview feature in FAST Search Server 2010

Two interesting facts you should be aware of with regards to the thumbnail and PowerPoint preview feature – for those of you don’t know this – take a look at the screenshot below.



For Word documents a preview will be generated of the first page – for PowerPoint files you get a scrolling view of your slides.

Sunday, July 31, 2011

Help – Windows Phone 7.1 Emulator crashes my VMWare Workstation

When reading about the Integrating SharePoint 2010 and Windows Phone 7 Training Course on MSDN – I decided to immediately start trying out some stuff.

Since I have some SharePoint 2010 VM instances already setup and I have the Windows Phone 7.1 Development tools installed (the training kit is still written for Windows Phone 7.0 though) – I thought about just using this setup. Remember that you can quite easily access your SharePoint running within the VM instance from your guest by using the VMWare Network Adapter VMNet1 (host only) – (see quick tip – accessing guest from host with VMWare Workstation)

Unfortunately as soon as I started the Windows Phone 7.1 Emulator  - my VM just crashed – this seemed to be an issue with the beta release of Windows Phone 7 as well – check out Windows Mobile 7 Emulator kills VMWare – I tried the workaround outlined here – Round 1, fight! Windows Phone emulator x VMWare but unfortunately it did not work for me …

Anyone another workaround – please leave a comment….

Saturday, July 30, 2011

Integrating SharePoint 2010 and Windows Phone 7 Training Courses available on MSDN

This thing got me really excited – Microsoft has released a new training course on MSDN for building Windows Phone 7 apps for SharePoint 2010.  The training kit is also available as an offline training kit – both the offline and online training kit contain a number of great modules and hands on labs. Enjoy …

Thursday, July 28, 2011

Deploying farm based SharePoint solutions requires access to SharePoint databases

Something you might overlook as a SharePoint developer is the fact that when you are using STSADM commands to deploy your solution you are running under your own account context. This in contrast with actions that you perform using SharePoint central admin which will typically run under the context of the farm service account.

So if you need to deploy/upgrade farm based solutions using stsadm I would typically do the following:

  • Add your account to the local Administrators group on the SharePoint server machine
  • Add the user with the public role and db_owner role on the SharePoint database in SQL Server

For more background information – check out You receive error messages when you try to use the stsadm.exe command line tool to perform administrative operations in Windows SharePoint Services – this support article is written for 2007 but is still valid for 2010.

Monday, July 25, 2011

Introduction to FAST Search Server 2010 for SharePoint

Windows Phone 7 training resources for developers

If you are new to Windows Phone 7 development – there are tons of resources out there – here’s just a small list to get you started (it did for me …)

Windows Phone 7 link collection June 2011

Saturday, July 23, 2011

MSDN Forum Assistant available for download

You can now check out MSDN Forums and receive updates directly on your desktop with the MSDN Forum Assistant. Features include Ask a Question, Latest Post, Thread Updates, Priority Support, and Forum Q&A. You can download the MSDN Forum Assistant here: http://gallery.live.com/liveItemDetail.aspx?li=822a3787-89e8-4c6d-8fc4-a413437d86e9

You can find more information here:

MSDN Forum Assistant Web Site: http://msdn.microsoft.com/en-sg/gg650455

Video Overview: http://www.youtube.com/watch?v=JYrNemrjQc8

Technorati Tags: ,,

Wednesday, July 06, 2011

Claim Based Authentication in SharePoint 2010 for Community Day 2011 on slideshare

About collaboration, innovation and organizational success

Next are a collection of links which I came across during my little stroll on the web when going through my RSS subscriptions which were tagged as interesting reads. Lots of with background information on collaboration, social software, organizational success … and off course SharePoint.

Saturday, June 25, 2011

Cleaning up a rogue SharePoint 2010 Shared Service Application

A couple of weeks ago I run into problems with a SharePoint 2010 Search SSA which apparently did not work anymore. Nothing helped to get it working again so we decided to delete it. Unfortunately doing this through the UI did not work nor did using Powershell. So we decided to just delete the associated SQL database. Afterwards I needed to remove the reference in the SSA administration screen. Luckily there is a stsadm command to do this:

Stsadm -o deleteconfigurationobject -id “GUID identifying the Search SSA”

To get at the GUID for the Search SSA – you can use the Get-SPEnterpriseSearchServiceApplication Powershell command.

This is probably not the recommended way of doing this but if nothing else helps you can still revert to this method.

Tuesday, June 07, 2011

Seven useful tips and tools for Windows Phone 7 developers

If you think I left something out – do not hesitate to leave a comment.

Monday, June 06, 2011

Windows Phone 7 and the LongListSelector

If you are using a Windows Phone 7 you have probably seen the elegant way that you can navigate across all of your contacts in the People Hub by using a jump list with the first letters of the names. If you are not using WP7 take a look at this YouTube video explaining the concept:

If you want to use something similar yourself in your own Windows Phone 7 apps, you should take a look the Silverlight for Windows Phone Toolkit – one of the tools you will find in there is the LongListSelector – this control allows you to build a grouped list of items (basically you are grouping by first letter of the first name or last name).

Here are some links to get you started:

Thursday, May 26, 2011

Having problems with FAST and the Microsoft Information Worker virtual image , try creating a new certificate …

If you want to try out FAST and SharePoint without having to do a complete install yourself you can  use the 2010 Information Worker Demonstration and Evaluation Virtual Machine (RTM) image – which also includes FAST Search Server 2010 for SharePoint. Don’t forget to update the certificate though because this image uses a self signed certificate which has expired – for a detailed description how to do this correctly check out remember to give your SharePoint 2010 Information Worker Virtual Machine a fresh certificate

Wednesday, May 25, 2011

Community Day 2011 registrations are open ….

Registrations are open for Community Day 2011  - do not hesitate to register for this whole day of technical sessions – free of charge. Registrations will be handled on a first come first serve basis – so don’t wait. There are 2 SharePoint related sessions on the agenda as well …

Tags van Technorati: ,,,

Using the default property extractors in FAST and how it works with the search refinements

Property extraction in Fast Search 2010 for SharePoint is a process that extracts information from the textual content of an item which is crawled and then adds this information into a number of crawled properties. Afterwards you map these crawled properties to SharePoint managed properties and use it in your search – within the search refiners, within the search results and even as input for sorting of your search results.

FAST has a number of standard extractors shipped with the product – all of these use a generic dictionary to recognize the different terms within a crawled document:

  • Companies – activated by default and present in the search refiners on the search result page
  • Locations – activated by default but not present in the  search refiners on the search result page
  • Person names  - this one is not activated by default. You will need to modify OptionalProcessing.xml which you can find in FASTSearch\etc\config_data\DocumentProcessor\ . Switch <processor name=”personnameextraction” active=”no”/> to <processor name=”personnameextraction” active=”yes”/>. Afterwards you will need to reset the processorserver using the FAST command line – psctrl –reset (For reference take a look at psctrl.exe reference on Technet). Afterwards you will need to do a full crawl.

Although these extractors use a generic dictionary you still have some control over the way that they work – by defining include and exclude lists of items within the FAST search administration screens – this is nicely explained in this article - Manage property extraction. You can off course also use PowerShell – to fill these include/exclude lists as explained in this blog post -  Property extraction in FS4SP.

If you want to use information from the person names and locations extractors in the search refinemens you will need to modify them and add the following.

For the people refiner:

<Category Title="People" Description="Use this filter to restrict results by people" Type="Microsoft.Office.Server.Search.WebControls.ManagedPropertyFilterGenerator" MetadataThreshold="1" NumberOfFiltersToDisplay="4" MaxNumberOfFilters="200" ShowMoreLink="True" MappedProperty="personnames" MoreLinkText="show more" LessLinkText="show fewer" ShowCounts="Count" />

For the location refiner:

<Category Title="Location" Description="Use this filter to restrict results by location" Type="Microsoft.Office.Server.Search.WebControls.ManagedPropertyFilterGenerator" MetadataThreshold="1" NumberOfFiltersToDisplay="4" MaxNumberOfFilters="20" ShowMoreLink="True" MappedProperty="locations" MoreLinkText="show more" LessLinkText="show fewer" ShowCounts="Count" />

Sunday, May 22, 2011

Introductory information about FAST Search Server 2010 for SharePoint

I will be presenting a MSDN live meeting on Tuesday the 24th of May about FAST Search Server 2010 from a development perspective. For those of you who want to attend – it might be useful to take a look at these links beforehand – since they present an overview of what FAST Search Server 2010 for SharePoint allows you to build as a developer:

If there are more must read articles or videos that you would recommended, just leave a link.

Sunday, May 15, 2011

BIWUG on Community Day 2011

This year’s Microsoft Day will take place on Thursday 23th of June in Utopolis, Mechelen. Community Day is a joint effort of the 14 Belgian Microsoft user groups and brings a whole day of sessions about Microsoft technology … for free.

This year BIWUG (Belux Information Worker User Group) will bring two different sessions:

  • Claim Based Authentication in SharePoint Server 2010 Demystified. In this session we will explore how claim based authentication allows for new ways authentication, authorization and how it enables service oriented architecture in a heterogenous identity environment. This session targets both developers and IT pros and will explain the benefits as well as the caveats around claim based authentication. We will take a look at external identity providers (Windows Live), custom identity providers as well as how ADFS fits into the whole picture.  Speaker: Joris Poelmans
  • SharePoint Governance - Stop thinking about features features features when talking about governance. When designing governance for a SharePoint implementation, a lot (not to say all) energy and words go out to technical stuff, SLA's and not to the things that define the business value. And the business value is not only a perfect technically tuned and performant SharePoint farm(if that even exists) – Speaker: Patrick Sledz

Keep an eye open for the Community Day site - http://www.communityday.be – registration will open soon.

Friday, May 06, 2011

The difference between introvert and extrovert IT person?

Heard on Wednesday on a seminar: What is the difference between an extrovert and an introvert IT person?

The extrovert IT person will be staring at your shoes instead of his own when talking to you….

Technorati Tags: ,,

Tuesday, May 03, 2011

MSDN Live Meeting - FAST Search Server 2010 for SharePoint: a developers walkthrough

I will be presenting a MSDN live meeting on the 24th of May around at 14:00 (GMT+1) around FAST Search Server 2010 for SharePoint from a developers perspective.

Microsoft FAST Search Server 2010 for SharePoint extends the SharePoint search functionality and provides an exceptional search experience by incorporating features such as an extensible content processing pipeline, contextual search, extensible
relevance models and an advanced query language.

This session will introduce the FAST search platform from a developer's perspective and will explore the different functionalities as well as talk about common developer tasks around Fast Search 2010 for SharePoint 2010 such as:
-     Configuration and extension of the FAST search webparts
-     Extending the content processing pipeline
-     Building search applications using the SharePoint object model combined with the capabilities of the FAST Query Language (FQL).

Click here to register for this MSDN Live Meeting.

Monday, May 02, 2011

ECM Maturity Model and SharePoint

If you don’t know the ECM Maturity Model – definitely take a look at http://ecm3.org/about/ – they are currently at version 2.0. The ECM Maturity Model provides a framework for creating a roadmap in the context of an overall ECM strategy. It categorizes an organization across 13 maturity dimensions into one of the 5 levels of ECM maturity:

  • Unmanaged
  • Incipient
  • Formative
  • Operational
  • Pro-active

I’m wondering if anyone has already applied this model to a typical SharePoint implementation. Please leave a comment if you have.

Windows Phone Developer Tools January 2011 Update

Just finished installing the Windows Phone Developer Tools January 2011 update. Now off to finalize my WP7 app. Expect more news about this in the coming weeks.

Wednesday, March 09, 2011

How to get SharePoint 2010 people search to work together with FAST Search 2010

If you install FAST Search Server 2010 for SharePoint you will notice that you get some extra service applications – a FAST Query Search Service Application and a FAST Content Search Service Application. The people search is actually handled by the FAST Query Search Service Application – so this is where you need to do some extra configurations:

  • Go to Central Admin and click Manage Service Applications > Select the FAST Query Search Service App and click Manage in the Ribbon)
  • Create a new crawl rule:
      • Path http://[servername];sps3://[servername]
      • Crawl configuration : Include all items in this path - crawl SharePoint content as http pages
      • Specify authentication: Use the default content access account
  • Content sources - Make sure that both http://[servername] and sps3://[servername] are listed in the content source listing.
  • Configure security on the User Profile Service Application. Go to Central Admin and click Manage Service Applications > Select the User Profile Service Application and click Administrators in the ribbon. Make sure that you add the default content access account in this screen and give it at least permission to "Retrieve People Data for Search Crawlers".

Excel 2010 and SharePoint 2010 on a single box demo environment–the Excel file is corrupt using edit in Excel

A typical SharePoint 2010 demo environment has everything installed on a single machine (Office 2010, SharePoint, etc…). Unfortunately this has some side effects – one of the things you might encounter is the fact that it seems that Excel integration does not work correctly anymore. Every time I uploaded an Excel document to SharePoint 2010 and tried opening it using the Edit in Excel option – I got an error stating that the file was corrupt.

Luckily I knew this had something to do with theTrust Center settings. Go to File Options > Trust Center. Next click the Trust Center Settings button. On the new screen which popups – go to Protected View and unselect all the three protected view options displayed on the top of this settings page.

Close Excel and try the “Edit in Excel” option again …

Related post: Getting Office 2010 to work on a single box SharePoint 2010 demo environment

Tuesday, March 01, 2011

Installing client side TFS certificate on Windows 7

Apparently with Windows 7 you can’t simply use the wizard to import the client certificates for Team Foundation Server connections. You will need to do this manually.

Open Internet Explorer and go to Internet Options. Select Content and next the Certificates tab. Select Trusted Root Certification authorities when importing the certificate.

Monday, February 28, 2011

Search suggestions in SharePoint 2010

One of the new features for end users with SharePoint 2010 is that suggestions are provided while you are typing a search query - for a complete list of enhancements - check out – What’s new in Enterprise search(SharePoint Server 2010) . Now if you want to force these suggestions for demo scenario’s you can use some powershell scripts – the next code sample is meant to be used in a setup with Fast Search 2010:

$SearchApp = Get-SPEnterpriseSearchServiceApplication "FAST Query SSA"
New-SPEnterpriseSearchLanguageResourcePhrase -SearchApplication $SearchApp -Language En-Us -Type QuerySuggestionAlwaysSuggest -Name "SharePoint"
New-SPEnterpriseSearchLanguageResourcePhrase -SearchApplication $SearchApp -Language En-Us -Type QuerySuggestionAlwaysSuggest -Name "SharePoint Server 2010"
Start-SPTimerJob -Identity "Prepare Query Suggestions"

Monday, January 10, 2011

Collaboration, Enterprise 2.0, Knowledge Management NextGen and digital marketing

One of my predictions for 2011 is that we will finally witness the boom or bust of social media apps within the enterprise for the Belux market. Here’s some background info that might get you thinking

This is one of my pet peeves  about which I have written a couple of blog posts:

Web Content Management in SharePoint 2010 – some random links

Mental reminder – check out this collection of links about Web Content Management in SharePoint 2010

Porting oAuth with Silverlight for Windows Phone 7 to RTM version

Recently I stumbled upon this interesting blog post Windows Phone 7 with Twitter which showed how to use oAuth on Windows Phone 7 but it was unfortunately built with the beta versions of Windows Phone 7. As an exercise I decided to upgrade the code to get it to work with the RTM release.

Some things which needed fixing or which bugged me during the upgrade

  • You will need to remove references to Microsoft.Phone.Controls, Microsoft.Phone.Controls.Navigation, Microsoft.Phone.Controls.WebBrowser, Microsoft.Controls.WebBrowser.interop. Don’t forget to to change the namespace declarations in the XAML files as well.
  • Add a reference to Microsoft.Phone assembly – all the previous dll’s have been combined into one dll.
  • Be carefull about some changes in the APIs - WebBrowser is now a sealed class. You cannot inherit from it. IsScriptEnabled, Source, and Base are now dependency properties. NavigatedEventArgs change to NavigationEventArgs.

  • Changes have been made to WMAppManifest.xml - http://10rem.net/blog/2010/09/16/announcing-the-windows-phone-7-release-wp7-silverlight-toolkit-and-xna-40 – you can find this xml underneath the properties folder in your project

    This will probably get you going … have fun

  • 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.

    Friday, December 31, 2010

    Code profiler for Windows Phone 7

    EQATEC  has recently release comes a code-profiler that can profile your WP7 Silverlight app on real phone hardware, as well as on the emulator. The profiler is free for single-assembly applications. You can download it now from www.eqatec.com.

    For more info check out Channel 9 – World’s first profiler for Windows Phone 7 or the Eqatec  profiler website.

     

    Thursday, December 30, 2010

    Crop the webbrowser control in a Windows Phone 7 app

    When building my Windows Phone 7 app – I needed to login into LinkedIn – unfortunately the login page of LinkedIn does not seem to scale as well as the Twitter login page so I decided to only show a specific part of the page within the WebBrowser control for Windows Phone. I kind of got it working by using the Clip property (for reference see How to: Crop an object (Silverlight))

    <phone:WebBrowser HorizontalAlignment="Stretch" 
    Name="webBrowser1" VerticalAlignment="Stretch" Height="466" Width="480"
    IsScriptEnabled="True" Visibility="Collapsed">
    <phone:WebBrowser.Clip>
    <RectangleGeometry Rect="0,0,400,300" />
    </phone:WebBrowser.Clip>
    </phone:WebBrowser>




    Thursday, December 16, 2010

    Windows Phone 7–Solving the missing dll issue in Training Kit Lab–Using Pivot and Panorama controls

    The lab Using Pivot And Panorama Controls seems to be missing file that supports the reference to the Syndication namespace - System.ServiceModel.Syndication.dll . You can copy that one over from the install directory of the Silverlight 3.0 SDK (C:\Program Files (x86)\Microsoft SDKs\Silverlight\v3.0\Libraries\Client).  You can ignore the warning message when adding the dll – everything will work correctly.

    Thursday, December 09, 2010

    Slidedecks BIWUG on SPS2010 WCM and FAST Search 2010 available

    Thanks to the people who showed up on the december 2th BIWUG session despite 600 km of traffic jams  - the slide decks are now available only:

    Also thanks to Sven and Pieter for delivering their presentation.