Wednesday, 16 September 2009

SQL Express 2008 Install Consistency Rule Failed

Oh happy days - SQL Express 2008 has failed to install with the following error:

"Rule 'Consistency validation for SQL Server registry keys' failed". The SQL Server registry keys from a prior installation cannot be modified. To continue, see SQL Server Setup documentation about how to fix registry keys.

The most likely cause is registry permissions, DO NOT try some users advice of uninstalling all copies of SQL Server, at least not until you have checked the registry permissions.

You will find the installation log in Program Files\Microsoft SQL Server\100\Setup Bootstrap\LOG folder. Open the log and check for any errors in the steps relating to registry key checks/updates. If the errors relate to security or access permissions this is your problem. Open registry editor, locate the key indicated in the install log, right-click and select Permissions, change the permissions at the very least local administrators have full access. After doing this for each affected key try the install again.

Monday, 14 September 2009

IE Cross Browser Compatibility Testing

Microsoft really have got into the spirit of free software lately. If you aren't already using Expression Studio 3 then Microsoft have provided a free version of their SuperPreview tool that allows quick comparisons of site designs between different browser versions.

More details from Mike Ormond:

Wednesday, 9 September 2009

MSDN FREE Firestarter Events


MSDN are hosting a couple of free events in the next few weeks to enhance developers skills. The events are in the US (OK so not very practical to attend in person) but will also be web cast so you can dip in and out whenever you wish.

All times below are PST.

Silverlight – Thursday 17/09/2009

8:45 am - 9:00 am
Event Kick Off
Mithun Dhar

9:00 am - 10:00 am
Scott Guthrie

10:00 am - 11:00 am
Key Silverlight Scenarios
Tim Heuer

11:00 am - 11:15 am

11:15 am - 12:15 pm
Expression 3 Overview
(Includes Behaviors)
Adam Kinney

12:15 pm - 1:00 pm
Lunch Break

1:00 pm - 1:30 pm
Sketch Flow
Janete Perez

1:30 pm - 2:30 pm
Toolkit & Controls
Justin Angel/
Shawn Oster

2:30 pm - 3:30 pm
RIA Services
Brad Abrams

3:30 pm - 3:45 pm

3:45 pm - 4:30 pm
Building Silverlight UIs with XAML Power toys
Karl Shifflett

4:30 pm - 5:00 pm
Q&A Panel
All Speakers


ASP.NET MVC – Saturday 03/10/2009

8:30 am - 9:00 am
Check-in/ Breakfast

9:00 am - 9:10 am

9:10 am - 10:45 am
Intro to ASP.NET MVC & the MVC Design Pattern

10:45 am - 11:00 am

11:00 am - 11:45 am
Framework Fundamentals & Practices

11:45 am - 12:30 pm
Routing & Controllers

12:30 - 1:15 pm

1:15 pm - 2:00 pm
Rendering Markup

2:00 pm - 3:15 pm
Working with Data

3:15 pm - 3:30 pm

3:45 pm - 5:00 pm

5:00 pm - 5:15 pm
Wrap-up & Giveaways

Full details:

Tuesday, 8 September 2009

String.PadLeft() Total Length Clarification

Very quick note on String.PadLeft() to clear up some confusion. The specified total length is actually the minimum total length for the string.


"5".PadLeft(2, Convert.ToChar("0"))
Output = 05

"55".PadLeft(2, Convert.ToChar("0"))
Output = 55

"555".PadLeft(2, Convert.ToChar("0"))
Output = 555

Microsoft documentation: