See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.InvalidCastException: Unable to cast object of type 'Microsoft.Win32.RegistryValueKind' to type 'System.String'.
at...