user286353
user286353

Reputation:

WPF 4.0 Application load error in some environments

I have 4 environments:

  1. Win 7 64 bit
  2. Win 2003 32 bit
  3. Win XP SP3 32 bit
  4. Win 2003 64 bit

In the first 2, my app loads and runs successfully. In the latter 2, I get the following error (shortened):

System.Windows.Markup.XamlParseException: The method or operation is not implemented.
---> System.NotImplementedException: The method or operation is not implemented.
at System.Windows.Baml2006.Baml2006SchemaContext.ResolveBamlType(BamlType bamlType, Int16 typeId)
...
at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
--- End of inner exception stack trace ---
...
at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
at DBSophic.Qure.WorkloadAnalyzer.UI.App.InitializeComponent()
in e:\Qure\Dev\BuildSystem\Sources\Trunk\DBSophic.Qure.WorkloadAnalyzer.UI\App.xaml:line 1
at DBSophic.Qure.WorkloadAnalyzer.UI.AppMain.Main()
in e:\Qure\Dev\BuildSystem\Sources\Trunk\DBSophic.Qure.WorkloadAnalyzer.UI\AppMain.cs:line 21

What might cause it?

Upvotes: 12

Views: 6605

Answers (3)

Nathan Phillips
Nathan Phillips

Reputation: 12425

The missing DLL will be one referenced by a namespace in your XAML.

Upvotes: 8

user286353
user286353

Reputation:

It was a missing dll.

Upvotes: 2

Zamboni
Zamboni

Reputation: 8043

Try loading your application in Dependency Walker to see if all dependent modules exist on each computer. As a guess I'd question if DBSophic is installed with the correct version (or at all), and of course that the latest .NET 4 framework is installed.

Upvotes: 2

Related Questions