It’s been some time since my last blog post. This had mostly to do with some personal changes in my life and not really having interesting topics. But since that last post I’ve seen some “error in thinking” that most SP developers did, that I’ve decided to write a blog series about writing code and more importantly, writing code that does the job quicker or better (improving code quality).

Keep in mind that I never criticize the code of other developers, you never know in what mindset the code has been written. Were they on time pressure, lack of knowledge or is it more fundamental and they always write code the same way. Nothing is wrong with that, but as a consultant it is a good nature to question sometimes your own code and asking yourself, can’t this be done faster or is this the correct way?  

Continue reading

So today we had a nice issue to look into. After doing some patching of SharePoint (installing CU’s and SP1) we noticed that a certain site collection gave some issues with the CSWP.

Now we tested everything:

  • checking if query was actually giving results, it was the case , we would see results in the tests pane of the build query page
  • same query on a different site collection = works.
  • Ok, checking if all the site collection (site) features were activated, was (almost) the case
  • still nothing , very very strange

I forgot the cardinal rule, check ULS 🙂 … after doing this we noticed 2 lines with a high level


Enable-SPFeature –ID 592ccb4a-9304-49ab-aab1-66638198bb58 –Url (URL of the Site coll giving the issue)

Et voila it was working all ok 🙂 Hope it helps

Strange part was that the CSWP was selectable to add to the page and all… No clue why it was depending on this feature to display the results.


Well since SharePoint is such a big platform It is only natural that we display some curiosity to the other. Going from development to infra seems a big step and most people are reluctant to even look at the infra side of SharePoint. Most developers I know say that they don”t want and need to look at this side of SharePoint. Well here I believe they are wrong, as a developer it is more and more important that we know about the infra side of things. Not that we need to fully understand this side, but at least we have to  know the basics. With the app model It is becoming more clear that only coding isn”t sufficient to understand the platform.

Since I am doing more and more infra here a few things I have seen a lot and almost nobody that fixes them, while it is such an easy solution.

First Issue: Central admin is only accessible from the APP server and not from the WFE.

I see at many clients the same issue coming back every time. The administrator can access the central admin from the app server, but not from any other server. A credentials window comes up 3 times and doesn”t show anything.

But before I just tell you the solution.. Let”s do some investigation first..

Fiddler is your best friend in this.. I needed to know what happened with those authentication windows and why no page was shown.

So fired up my servers and using fiddler and IE to navigate to my CA address and see what”s happening.



At this point it was clear that this wouldn”t work what so ever, going to test with another browser (Firefox in this case). And surprise , Firefox came with a credential question, filled in all the data and CA was loaded. Strange



As you can see, the authorization headers and authentication headers are different with IE and Firefox. The first one goes for ‘Negotiated’ and Firefox uses ‘NTML’.

Ok going to check the authentication provider on the CA web application…



And just as I expected it was set to negotiate. Changed this to NTML and low and behold I could log in via the Web front end server to the CA.


Hope it helps for someone and that they don”t keep going to the App server just to be able to log on to the CA.

Edit 09/04/2014

Some time ago a buddy of mine (Koen Vosters, MSC) read this blog and noted a small issue with it.

1. The strange part is that it supposed to be negotiated, so meaning if Kerberos is not working, IE should fall back to the NTML way.

2. I should have defined SPN if I am using Kerberos.

  1. Apps, Apps And Apps … A Story (Step 1)
  2. Apps, Apps And Apps … A Story (Step 2) – Commenting App – this blog
  3. Apps, Apps And Apps … A Story (Step 2b) – Commenting App Going AngularJS

So in the previous blog post we”ve created a SharePoint App with an Office App embedded, this is called a composite model.

Now we are going to create a real life example of this model that has a way of commenting an entire document.

Continue reading

  1. Apps, Apps And Apps … A Story (Step 1) – this blog
  2. Apps, Apps And Apps … A Story (Step 2) – Commenting App
  3. Apps, Apps And Apps … A Story (Step 2b) – Commenting App Going AngularJS

A few weeks ago I gave a presentation about SharePoint Apps and Office apps combined on the SharePoint Connections: Amsterdam conference.

It was lots of fun and I always love meeting new people.

I’ve mentioned I would put my slides and my code up on my blog. Which I did of course Glimlach  .

Now I’m going to create a small blog series about the 2 technologies and combining them together. In the end it’s really not that hard and opens a world of additional possibilities that the SharePoint Apps mechanism already provides.

If you don”t know what Apps for Office are I suggest reading the technet article first.

Also if you want to know more about AngularJS there are 2 blog posts you can read:

I am using Visual Studio 2013 but it should be the same with Visual Studio 2012.

Continue reading

So yesterday evening I had to give a presentation about Apps.

This was more of an intro session into Apps but it gave you a general knowledge about all the aspects that come with the App model. It wasn’t ment to go deepdive into every part, but more a high level overview.

I’ve uploaded my presentation to skydrive so you can download it.

Hope it helps

have a nice day