After calling a very simple WCF Service I bind the result an Observable Collection of Countries to WPF ComboBox, in second ComboBox of cities I displayed the filtered cities based on the selected country. It works fine the first time but when
I select another country it takes lots of time to display, the Visual Studio 2010 output displays this like 50 times:
A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in mscorlib.dll
Intereting to point out that it only happens if I try to open the ComboBox and not if if navigate through code doing something like SelectedIndex=2 . It does not happen as well if instead of the ComboBox I use a ListBox or TreeView.
Some extra details.... the real exception detail is:
An event was unable to invoke any of the subscribers (Exception from HRESULT: 0x80040201)
Please help with this bug....
View Complete Post