cloud.net

Wednesday, August 4, 2010

BMW K1300R Wins Bad Motor Works Wonky Bike of the Year

Movie of the day: Mr. Nobody

I watched the extended version of Mr. Nobody the other night. I thought director Jaco Van Dormael did a fantastic job with the great attention to detail. Jared Leto was good too.

Mr. Nobody
imdb.com

Friday, July 9, 2010

SPS 2010 Certifications

With the new version of SharePoint comes four new certifications and this time they include two Pro certification and no WSS/MOSS separation.

    IT Professionals
  • Exam 70-667 TS: Microsoft SharePoint 2010, Configuring
    Microsoft Official Curriculum: Course covers configuration of SharePoint 2010 including deployment, upgrade, management, and operation on a server farm.
  • Exam 70-668 PRO: Microsoft SharePoint 2010, Administrator
    Microsoft Official Curriculum: Course covers advanced SharePoint 2010 topics including capacity planning, topology designing, and performance tuning.
    Developers
  • Exam 70-573 TS: Microsoft SharePoint 2010, Application Development
    Microsoft Official Curriculum: Five-day instructor-led course designed for developers with six months or more of .NET development experience. Course covers what you need to know to be an effective member of a SharePoint development team that uses Visual Studio 2010.
  • Exam 70-576 PRO: Designing and Developing Microsoft SharePoint 2010 Applications
    Microsoft Official Curriculum: Five-day instructor-led training course designed for development team leads who have already passed the Developing on SharePoint 2010 technical specialist exam. The course covers choosing technologies for and scoping a SharePoint project, best practices for SharePoint development, configuring a SharePoint development environment, advanced use of SharePoint developer features, and debugging of code in a SharePoint project.
Read more here

Saturday, May 22, 2010

WTF Correlation ID

I was setting up a new SPS 2010 environment when I got:



Error
The given key was not present in the dictionary.

Troubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: 59994675-c867-4246-8fd3-56f6a70087c9
Date and Time: 5/22/2010 12:07:50 PM


It's highly unlikely (read impossible) that you will receive the same error as Correlation ID's are unique. To understand a little more about them read this: ILM 2007 Design Concepts
So how do you fix your problem after you receiving an error.


My initial strategy was to check the event log for a more detailed description because I was setting up an SPS service... that search was fruitless so I checked the sharepoint logs.


Steps to resolve:


  1. Go to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS
  2. Find the log that was modified around the time of the error
  3. Search for your Correlation ID.
My error is below and it basically means there's something missing from the AD account I used to run the service which MS think should be there... well guess what, yours truly used a security group instead of a User account.

05/22/2010 12:07:48.63 w3wp.exe (0x2408) 0x277C SharePoint Foundation Runtime tkau Unexpected System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.ThrowHelper.ThrowKeyNotFoundException() at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at Microsoft.SharePoint.Utilities.SPUtility.GetUserPropertyFromAD(SPWebApplication webApplicaiton, String loginName, String propertyName) at Microsoft.SharePoint.Administration.SPManagedAccount.GetUserAccountControl(String username) at Microsoft.SharePoint.ApplicationPages.AdminConfigServices.ValidateUserLogon(Object sender, ServerValidateEventArgs e) at System.Web.UI.WebControls.CustomValidator.OnServerValidate(String value) at System.Web.UI.WebControls.BaseValidator.Validate() at System.Web.UI.Page.Validate() at System.Web.UI.WebControls.Button.Ra... 59994675-c867-4246-8fd3-56f6a70087c9

Wednesday, March 3, 2010

Bug in SPWeb CreateDefaultAssociatedGroups

In an environment I manage I recently encountered an MS bug in some site generation code.

Case: Sharepoint list form with site metadata. When the record gets approved a site is automatically generated, with unique permissions based on data from the list.

Bug: The site is created but the Visitor group property isn't saved. By default CreateDefaultAssociatedGroups will not create the Visitor group, but instead associate the Site Collection Visitor group with the new site's AssociatedVisitorGroup property. To get around this you need to set this property to null before you call CreateDefaultAssociatedGroups eg:

oNewSite.AssociatedVisitorGroup = null;

oNewSite.BreakRoleInheritance(false);

oNewSite.Update();

oNewSite.CreateDefaultAssociatedGroups(oOwner.LoginName, oOwner.LoginName, sNewSite);

oNewSite.Update();

But, and here's the bug; while this does create the groups and the proper association, the site property vti_associatevisitorgroup is not updated. What happens now is that even if you update the Site Groups through the UI it still won't update this property and there will never be a Visitor group association.

Fix: Fortunately the fix is easy; just update the property with the created visitor group id.

oNewSite.CreateDefaultAssociatedGroups(oOwner.LoginName, oOwner.LoginName, sNewSite);

oNewSite.Properties["vti_associatevisitorgroup"] = oNewSite.AssociatedVisitorGroup.ID.ToString();

oNewSite.Properties.Update();

oNewSite.Update();

Thursday, December 3, 2009

Haigs Dimple 15 YO Blend Review


[The reviewer and scores explained.]

Bottle: Haigs Dimple 15 YO Blend
Cost: $60
Score: 48
Scent: Uncharacterized by anything pleasant. Strong alcohol, burns the nostrils.
Palate: Slightly sweet medicinal with bitter after taste.
Effect: Good mood, but the taste limited my enjoyment. Extra energy.
Empty glass scent: Smoky peaty scent and the burn your nostrils vapour wasn’t present.
Day after: Slight hangover.
Bottom line: Avoid purchasing, but don't say no if it's offered.

The review:  I made a departure from my usual choice of single malts and tried a blend for the 1st time in over a year. I had high expectations from the seductive bottle. And I was sadly disappointed. The taste was just plain unpleasant all the way through from initial contact to finish. The blend didn’t highlight any recognizable style. I had a hard time finishing my 1st glass; it sure wasn’t one of the glasses that leads to another and then you promise yourself its the last glass before you talk yourself in to another. I gave it another go after a chicken roast and it didn’t fare any better. I wasn’t able to finish the 2nd glass and it ended up adding something to some chocolate ice cream. I found it a little hard to sleep, and I woke up before the alarm. The next day I really felt the 1.8 glasses, and need some aspirin. I’m not sure I really want to drink the rest of the bottle. Your money is much better spent on a cheaper 12yo single malt like Glenfiddich.
Dimple didn't even give us a decent cork top, it's a plastic twist cap!

Tuesday, November 24, 2009