K2 Solutions Professional Training – Day 1


The training didn’t exactly get off to a cracking start as the training machines weren’t configured and I had the luck of sitting at a machine with only 2GB of RAM.  Try running a VPC on that.

Later in the day we eventually got the machine related issues resolved and our labs worked as prescribed.

The instructor is an absolute K2 ninja (true story) and his knowledge on the product and surrounding topics are amazing. #impressed.

Rather than writing out a long winded summary of the actual training, I decided to keep things bite size.  So here, in no particular order, are the K2 snacks that I picked up on day 1 of the training:

K2 supports out of office and automatic escalations

K2 blackpoint for SharePoint 2010 is due for release any day

Definition update:

Workflow – Ad hoc flow of events / data

Process – Formalized, documented business process

K2 is forms agnostic and developers can thus use any UI input method they wish, for example Silverlight, InfoPath Forms, ASP.Net Forms, etc.

K2 supports Business Activity Monitoring (BAM)

Folio is the friendly name for the K2 process

K2 studio has a documentation view which will export your process for documentation purposes.

K2 allows processes to be called from one another using the IPC Server Event

Can only have 1 client event per activity

FBA is not currently supported. Only SharePoint sites with windows authentication is.

K2 integrates very tightly with Visual Studio 2008 Professional Edition

WPF is used for K2′s event wizards

K2 is sensitive to working hours and this effects start rules and escalations

The Finish action type will also save data back to the process. It is therefore not required to call the Update action prior to calling the Finish action

Actions and outcomes do not work with server events

K2 will be releasing Apple and Blackberry support

Day 1 consisted of a lot of theory.  This, although understandable considering the topic, was a little disappointing as I really wanted to get my hands dirty with the new version of the product.  Let’s hope the days that follow are a little more practical.

 

Mounting an ISO image on Windows Server 2008


I used to use Daemon Tools exclusively for all my images.  Games, program installs, you name it.  It worked just fine.  Then I took a small break from the ISO world (work and life happens) and on my return I found that sadly Daemon is no longer the answer to all of my ISO related challenges.

I needed a quick way to mount the Visual Studio 2010 evaluation image so I can develop on my BikeID project and after doing a little bit of research I found Magic ISO Maker.

Quick and easy to install and it just works.  My kind of development support application.

I came across a great post on how to download, install and enable it for Windows Server 2008 by MrGroove. *Love the name btw.

Here is a link to the post.  It saved me quite a bit of time. – GroovyPost.com

Solved – Media failed to load


On our brand spanking new migrated portal I’ve started adding tutorial type videos.  Instead of dead links I decided to use the Assets Library and stream the videos to the users.  It worked great for a basic video, but unfortunately the first clip I made using Community Clips didn’t work and when I tried to view it it simply said – “Media failed to load”

I quickly rolled up my sleeves and looked for a resolution.  It wasn’t all that difficult to resolve, but sadly you need to encode your videos specifically for web servers when uploading them.  This will ensure they can stream.

To complete this, follow the following steps:

- Download Encode Expression 4:  http://www.microsoft.com/downloads/details.aspx?FamilyID=75402be0-c603-4998-a79c-becdd197aa79&displaylang=en

- Install .NET Framework 4:  http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=9cfb2d51-5ff4-4491-b0e5-b386f32c0992

- Encode the file in question using Windows Media Encoder

- Upload the file.

The Asset Library and media components in SharePoint is really a great way to encourage user adoption and with this behind me I”ll be creating more and more content using Community Clips.

Watch this space.

Cannot Access SharePoint from Server


I recently upgraded our internal portal from MOSS 2007 to SharePoint 2010.  The process was pretty seamless and the users are happily working on the new environment.  After the upgrade I’ve started configuring all the bits and pieces for SharePoint 2010 to show more value out of the product.

Search is off course is a monster upgrade from MOSS 2007 with the refinement panel and the other goodies.  As the portal is seamlessly available internally and externally I created a host header when upgrading the portal.  Search therefore needs to access the site using this FQDN name as well.

After completing the content source configuration I found that the crawler logged an error:

Access is denied. Verify that either the Default Content Access Account has access to this repository, or add a crawl rule to crawl this repository. If the repository being crawled is a SharePoint repository, verify that the account you are using has "Full Read" permissions on the SharePoint Web Application being crawled.   (0×80041205)

This was very strange to me as the user in question was part of the site collection administrators group.  I then started fiddling with the proxy settings / host entries etc, but couldn’t help but think that something else was up here.  I recalled while configuring MOSS 2007 on Windows Server 2008 there were a number of hoops that you had to jump through for example UAC and the rest.  I started a bit of research into the problem and came across an obscure security setting that Windows Server 2008 has that interferes with SharePoint accessing itself.  This is called the Loopback Check.

To disable the Loopback Check simply execute the following command in Powershell:

New-ItemProperty HKLM:\System\CurrentControlSet\Control\Lsa -Name "DisableLoopbackCheck" -Value "1" -PropertyType dword

After completing the command, complete an IISRESET and re-test.  You will find that you are now able to navigate to the server via its FQDN from itself.  This in turn resolves the search issue (0×80041205) as the crawler can now access itself.

I read a couple of articles during my research, but I have to send a special shout out to Adam Preston for his short and concise resolution of the problem which can be found here.

//Edited 2010-11-22

The loopbackcheck is actually a security feature, so be sure to only complete this action in a development environment.  In a single server production installation I would recommend looking into the other option noted in KB 896861 that explains how to add the name of the server into the registry.

Here is a link to the KB article – http://support.microsoft.com/kb/896861

Master Pages in SharePoint 2010


First and foremost, I have to give credit to Michael O’Donovan that helped me solve this in a late SMS exchange the other evening.  The main issue in question here is something that has come up in a number of times during the site configuration / customisation process.  I’ve also read about it in a couple of places (read: technet forums), but I haven’t seen someone accurately describe the problem and solution.

Here goes.

The Challenge

When a new Team Site site collection is created, the implementation team would like to create a new master page to include updated created amongst other things.  Once the publishing infrastructure has been enabled (Site Collection & Site), the default master page is changed, but the landing page of the site collection is not effected.

The Solution

When the publishing infrastructure is enabled, the features affects the pages living in the /Pages/ library and not in the /SitePages/ library.  As the default home page of the Team Site is sitting in the /SitePages/ library, the custom master page will not effect it.

Simply create a new page from within the /Pages/ library and set it as the welcome page for the site collection.

What is BikeID?


Overview

Cycling, no matter which form, is a huge sport in this country.  Many people participate in various categories every weekend. BikeID

N number of cyclists’ suit up every weekend for fun rides, recreational rides, club rides, events, tours, excursions and more.  In the same token, thousands of golfers play golf every weekend.  Golfers have an online identity which they access via myhandicap.co.za.  This identity allows the golfer to track their progress throughout the year as they play round after round.

Why can’t cyclists do the same?

The simple answer to this question is that cyclists CAN do the same.  It’s just going to take key relationship management, a solid solution implementation and a bit of marketing to spread the word.

Introducing, BikeID, the online identity for all cyclists.  The website, www.bikeid.co.za, will act as an aggregator of information in the cycling industry with one key differentiator, your BikeID.  BikeID will work on the principle that each cyclist, once they’ve completed their race, will be able to come to one web destination to view their results and compare them to their friends’ results, plus a whole lot more.

BikeID will not try to replace any of the existing websites or portals that exist today, but rather fulfil a need that is simply not catered for: a one stop shop to track your race results.  BikeID was conceptualised because of the following high level reasons:

  • Cumbersome and time-consuming to find race results / photos:  When participating in a race, participants need to return to the particular site for race results.  A number of action photo providers also exist, and participants aren’t always sure where to find their photos;
  • Difficulty in finding events:  A number of websites host event calendars including cyclelab, ndorfin, entrytime, mtncycling, Nissan Series to name a few;
  • Tracking history of events: There are a number of key timing players in the cycling industry, for example Racetec, Championchip and SSTiming.  These organisations keep a history of all races completed by an individual, but the rider has no way to track their history across all events, as these organisations do not merge their results together.

BikeID will overcome the challenges noted above, by creating a neat, clean and easy to use web interface whereby visitors can complete the following key functions:

  • View ALL race results:  BikeID will aggregate race results from all the major time keeping providers and surface it in a way that is easy to use, while giving cycling enthusiasts a tool whereby they can track their progress online in a very similar way that myhandicap.co.za allows golfers to track their handicaps;
  • Race Statistics:  Having one datawarehouse filled with race results and rider demographic information will give BikeID the ability to offer reports that were never before possible.  For example, “show me all the riders aged 30 years and older that have completed the Magalies Monster in under 3 hours”;
  • Find ANY event:  BikeID will set up partnerships with all event providers to build up the most comprehensive event listing in South Africa;
  • Find ALL photos: BikeID will have access to the photo providers in the same way that it will have access to the race results.

Benefits of having a central datawarehouse of results don’t only extend to the cyclists.  CyclingSA & Central Gauteng Cycling, for example, can also benefit by having an much easier way to seed riders.

The following diagram illustrates how BikeID will make cyclists’ lives easier:

BikeID Solution

As illustrated above, cyclists will no longer need to sift through tons of websites without direction trying to find that elusive event, photograph or race result. Instead, they will now be able to go to one website, www.bikeid.co.za, login to their profile, and view all this information in one place.

Initially, the website will cater for the three key areas that is frustrating cyclists today, which are events, results and photos.  A couple of key opportunities exist in doing so.  Advertising space is the first key area and moving forward, the information gathered from cyclists can be used for further profiling and target marketing.

A bit about the technology

BikeID will be built using Microsoft SharePoint 2010 and will take advantage of the rich reporting capabilities available in PerformancePoint Services.  The decomposition tree report (made possible by Silverlight 4) and PowerPivot will feature prominently to allow cyclists to dynamically report on data.  Static reports using dashboards will also be available, but with PerformancePoint Services these static reports are simply the beginning.  Cyclists will be able to drill into data dynamically by simply interacting with the report via the browser.

What about the existing websites?

As noted above, BikeID is not here to replace functionality of existing websites.  Race providers such as racetec, sstiming, championchip build their business models around the timing of events and not in providing their users a web front-end to analyse data.  It is important to note that where data is used from a particular provider, the provider will be prominently advertised with links back to their website etc.

Cyclenation is in my opinion one of the better community type websites out there.  BikeID will therefore not try to compete with social initiatives already running, but will rather add something to the cycling community which can be cool to use and get people excited about cycling.

Last Word

A good friend of mine, John Nelson, once said “If something is measured, it will be improved.”  I’m not 100% sure if he was quoting someone, or simply dropping knowledge, but since hearing that I’ve become determined to give the cycling community a tool to effectively measure themselves in a cool, funky, and easy to use way.

This is BikeID, your online bike identity.

Where is “Alert Me”?


While browsing one of our internal sites I came across the fact that the “Alert Me” element was missing.  At first I was little dumbstruck and proceeded to go through the various ribbons etc to look for it.  Ya know, perhaps it was moved and I simply can’t remember where it is?

Well, after that did not succeed and I convinced myself that I was in fact not going mental and dived into Central Administration to find that the outgoing e-mail settings had not been configured.  **Light Bulb Moment.arrive();**

After updated the settings I revisited the site in question and badaboom, it was back. 

Hey, its back!

As basic as this could seem, I’m very happy that this check has been put in place.  I can’t tell you how many hours of my life I’ve lost due to users settings alerts only to have the SMTP being incorrect / not configured.

Bravo, Microsoft!

ps.  The configuring of emails sent to people in the “Assigned To” field works in the same fashion.