Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Getting a System.Windows.Markup.XamlParseException error, with event ID 1026

$
0
0

We've got a new WPF app we've written, using .NET 4.5, VS 2012. It's working fine on several machines, but isn't working on one. We're getting errors like this:

Log Name:      Application
Source:        .NET Runtime
Date:          1/8/2014 2:13:45 PM
Event ID:      1026
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      AMCI-DCH701D1
Description:
Application: ASI-R.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Windows.Markup.XamlParseException
Stack:
   at System.Windows.FrameworkTemplate.LoadTemplateXaml(System.Xaml.XamlReader, System.Xaml.XamlObjectWriter)
   at System.Windows.FrameworkTemplate.LoadTemplateXaml(System.Xaml.XamlObjectWriter)
   at System.Windows.FrameworkTemplate.LoadOptimizedTemplateContent(System.Windows.DependencyObject, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector, System.Collections.Generic.List`1<System.Windows.DependencyObject>, System.Windows.UncommonField`1<System.Collections.Hashtable>)
   at System.Windows.FrameworkTemplate.LoadContent(System.Windows.DependencyObject, System.Collections.Generic.List`1<System.Windows.DependencyObject>)

I don't know what could be wrong. The .NET Framework 4.5 is installed on that machine - I did it myself. All machines are running Windows 7 Pro or Enterprise, with SP1. The only difference I can think of is the machine it's failing on is a 32-bit machine, whereas all of the others are 64-bit, but I've just double checked the project and it's set to x86 Processor, so that shouldn't be an issue. What could be causing this?


Rod


Viewing all articles
Browse latest Browse all 18858

Trending Articles