I have a business object (CustomerBO) that I’ve configured to raise a single property changed event for all properties. I’ve placed this BO on a SF maintenance form. The maintenance form also includes a ChildFormDialog that maps CustomerBO to the dialog form. If I add the FieldPropertyChanged event handler to the maintenance form code, I get an invalid operation exception (see attached) when I attempt to show the ChildFormDialog. If the FieldPropertyChanged event handler is not present on the maintenance form, the ChildFormDialog executes okay. The FieldPropertyChanged event handler doesn’t have to contain any code to cause the error.
-Larry
I downloaded and re-compiled the updated source and problem solved. Thanks for the quick fix. I’m glad you were able to reproduce this one. I still haven’t been able to get the database connection wizard to work without causing an application exception. Since you can’t reproduce it I’m feeling that I must have missed something in setting up security but can’t figure out what.