I have a project which uses a remote Contact object that I would like to use as a data source in my client application.
I have narrowed the problem down to two errors,
Binding in code I get - "Exception has been throw by the target of an invocation" (TestForm1 in the example)
Using a BindingControl I get - "Permission Denied: cannot call non-public or static methods remotely" (TestForm2)
I think both are due to the remote object trying to raise one of the property changed events however I need to use them to update the control they are bound to when an internal value changes.
It all works when the object is not remote - Does anybody know how to get around this?
Example - http://www.4shared.com/file/1440175/dd67d83a/remoteeg.html
I have narrowed the problem down to two errors,
Binding in code I get - "Exception has been throw by the target of an invocation" (TestForm1 in the example)
Using a BindingControl I get - "Permission Denied: cannot call non-public or static methods remotely" (TestForm2)
I think both are due to the remote object trying to raise one of the property changed events however I need to use them to update the control they are bound to when an internal value changes.
It all works when the object is not remote - Does anybody know how to get around this?
Example - http://www.4shared.com/file/1440175/dd67d83a/remoteeg.html