locked
VS 2012 RC Premium set crash after reboot System.Windows.Markup.XamlParse RRS feed

  • Question

  • Ran the installer, rebooted, setup resumed and crashes. I tried to uninstall it, and it crashes with the same error. The nice splash screen logo appears, and then the "Check online for a solution" dialog. Here's the text there:

    Problem signature:
      Problem Event Name: VSSetup
      P1: vs_premium
      P2: 11.0.50522.01
      P3: 11.0.50522
      P4: Install
      P5: unknown
      P6: Crash: System.Windows.Markup.XamlParse
      P7: 4f350630
      P8: 5baf
      P9: 445
      OS Version: 6.1.7601.2.1.0.256.1
      Locale ID: 1033

    So at this point, I am unable to finish installation, nor uninstall and try again.

    Edit: I should also note that I have VS 2010+SP1, as well as SQL Server 2012 installed. 

    Here is the setup log: http://pastebin.ca/2157893

    The exception seems to be this:

    [1B74:151C][2012-06-03T16:08:57]: MUX:  ERROR: Cannot create instance of 'TextBox' defined in assembly 'PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. KeyGestureConverter cannot convert from (null).  Error at object 'System.Windows.Controls.Grid' in markup file 'ManagedUx;component/rootview.xaml'.
    [1B74:151C][2012-06-03T16:08:57]: MUX:  Stack:    at System.Windows.Markup.XamlParseException.ThrowException(String message, Exception innerException, Int32 lineNumber, Int32 linePosition, Uri baseUri, XamlObjectIds currentXamlObjectIds, XamlObjectIds contextXamlObjectIds, Type objectType)
       at System.Windows.Markup.XamlParseException.ThrowException(ParserContext parserContext, Int32 lineNumber, Int32 linePosition, String message, Exception innerException)
       at System.Windows.Markup.BamlRecordReader.ThrowExceptionWithLine(String message, Exception innerException)
       at System.Windows.Markup.BamlRecordReader.CreateInstanceFromType(Type type, Int16 typeId, Boolean throwOnFail)
       at System.Windows.Markup.BamlRecordReader.GetElementAndFlags(BamlElementStartRecord bamlElementStartRecord, Object& element, ReaderFlags& flags, Type& delayCreatedType, Int16& delayCreatedTypeId)
       at System.Windows.Markup.BamlRecordReader.BaseReadElementStartRecord(BamlElementStartRecord bamlElementRecord)
       at System.Windows.Markup.BamlRecordReader.ReadElementStartRecord(BamlElementStartRecord bamlElementRecord)
       at System.Windows.Markup.BamlRecordReader.ReadRecord(BamlRecord bamlRecord)
       at System.Windows.Markup.BamlRecordReader.Read(Boolean singleRecord)
       at System.Windows.Markup.TreeBuilderBamlTranslator.ParseFragment()
       at System.Windows.Markup.TreeBuilder.Parse()
       at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
       at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
       at Microsoft.Devdiv.Bootstrapper.RootView.InitializeComponent()
       at Microsoft.Devdiv.Bootstrapper.RootView..ctor(ViewModelCommonUi viewModel)
       at Microsoft.Devdiv.Bootstrapper.ManagedUx.RunUI(ViewModelCommonUi viewModel)
       at Microsoft.Devdiv.Bootstrapper.ManagedUx.InternalRun()
       at Microsoft.Devdiv.Bootstrapper.ManagedUx.Run()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
    [1B74:151C][2012-06-03T16:08:57]: MUX:  Exception: Info: InnerException: Info:
    [1B74:151C][2012-06-03T16:08:57]: MUX:  ERROR: KeyGestureConverter cannot convert from (null).
    [1B74:151C][2012-06-03T16:08:57]: MUX:  Stack:    at System.ComponentModel.TypeConverter.GetConvertFromException(Object value)
       at System.Windows.Input.KeyGestureConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object source)
       at System.ComponentModel.TypeConverter.ConvertFromInvariantString(String text)
       at System.Windows.Input.KeyGesture.CreateFromResourceStrings(String keyGestureToken, String keyDisplayString)
       at System.Windows.Documents.TextEditor.RegisterCommandHandlers(Type controlType, Boolean acceptsRichContent, Boolean readOnly, Boolean registerEventListeners)
       at System.Windows.Controls.TextBox..ctor()
       at System.Windows.Markup.KnownTypes.CreateKnownElement(KnownElements knownElement)
       at System.Windows.Markup.BamlRecordReader.CreateInstanceFromType(Type type, Int16 typeId, Boolean throwOnFail)

    • Edited by MichaelGG Sunday, June 3, 2012 10:19 PM
    Sunday, June 3, 2012 10:14 PM

Answers

All replies

  • Hello Michael,

    I am sorry that you got errors during your installation of VS2012 RC Premium product. And based on the log you offered above, it seems that you install VS2012 RC on the Windows 7 machine. So please try to do a clean reboot of Windows 7 machine, see Step 1: Perform a clean boot part of this KB article for further information: http://support.microsoft.com/kb/929135 

    After that, please download the VS2012 RC Premium installer from the Microsoft official site: http://www.microsoft.com/visualstudio/11/en-us/downloads#premium and then try again.

    Thanks.


    Vicky Song [MSFT]
    MSDN Community Support | Feedback to us

    Tuesday, June 5, 2012 3:39 AM
  • Hello Michael,

    I have marked my reply. And if you still get this installation issue, please post back.

    Thanks.


    Vicky Song [MSFT]
    MSDN Community Support | Feedback to us

    Tuesday, June 12, 2012 3:09 AM
  • Ran the web installer; I get the exact same error:

    ---

    Problem signature:
      Problem Event Name: VSSetup
      P1: vs_premium
      P2: 11.0.50522.01
      P3: 11.0.50522
      P4: Install
      P5: unknown
      P6: Crash: System.Windows.Markup.XamlParse
      P7: 4f350630
      P8: 5baf
      P9: 445
      OS Version: 6.1.7601.2.1.0.256.1
      Locale ID: 1033

    Read our privacy statement online:
      http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

    If the online privacy statement is not available, please read our privacy statement offline:
      C:\Windows\system32\en-US\erofflps.txt

    ---

    I cannot add or remove this broken VS 2012 RC install from my machine.

    Tuesday, June 12, 2012 9:37 AM