April 2009 Entries

Workflow Activities should be referred by sender object or e.Activity, not by activity property name

In Windows Workflow I had a Replicator Activity inside While Activity. In Replicator _Initialized event handler I've set the InitialChildData property of the activity with the list of my objects, but Replicator didn't invoke any _ChildInitialized event , but went directly to _Completed event (similar problem was reported in the thread ReplicatorActivity shows all children complete when they aren't ). I tried to change a few things without success.It was also confusing that even in Initialized AllChildrenComplete ......

.Net Remoting clent proxy error in debugger inspection

I am using .Net Remoting and tried to debug call from client proxy. It didn't allow me to step into(whick is actually normal) and Debugger inspection showed me that Identity property has an exception: Identity System.Reflection.TargetInv... Exception has been thrown by the target of an invocation. ---> System.Runtime.Remoting.Rem... Permission denied: cannot call non-public or static methods remotely. Server stack trace: at System.Runtime.Remoting.Cha... ......

«April»
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
262728293012
3456789