Search code examples
wpf.nettiers

netTiers causes FatalExecutionEngineError in WPF


I created a brand new WpfApplication, referenced netTiers classes, stuck a DataGrid on MainWindow, and set DataGrid.ItemsSource = DataRepository.SomeViewProvider.GetAll().

This causes the returned VList to be successfully bound and displayed. After i run the program, clicking one of the datagrid headers orders by that column.

The problem occurs on the second click of any column header. The program crashes and throws a FatalExecutionEngineError at VList.InsertItem.

Can anyone explain why this is happening, or give me some pointers as to how I can debug this error?


Solution

  • Is there any chance you could contact CodeSmith Support with a sample and we will take a look into this issue. As a side note, I know that there was a set of Microsoft Patches that fixed this Fatal Execution Error for VS2008.

    Fatal Execution Error in W3WP with .NET 3.5 SP1 - crash in the loader

    An update for the .NET Framework 3.5 Service Pack 1

    Thanks -Blake Niemyjski