Skip to main content

Posts

Showing posts from 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…

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:
http://blogs.msdn.com/mikeormond/archive/2009/09/11/simplifying-cross-browser-compatibility-testing.aspx

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/20098:45 am - 9:00 am
Event Kick Off
Mithun Dhar 9:00 am - 10:00 am
Keynote
Scott Guthrie 10:00 am - 11:00 am
Key Silverlight Scenarios
Tim Heuer 11:00 am - 11:15 am
Break11:15 am - 12:15 pm
Expression 3 Overview
(Includes Behaviors)
Adam Kinney 12:15 pm - 1:00 pm
Lunch Break1: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
Break3: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/20098:30 am - 9:00 am
Ch…

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.

E.g.

"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: http://msdn.microsoft.com/en-us/library/system.string.padleft.aspx