.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

"Cannot get member 'Myfunction'"?? from IfElseActivity

Posted By:      Posted Date: September 27, 2010    Points: 0   Category :SharePoint


      I developed a workflow that sends out email and i added in an IfElseActivity to check for a criteria that tells whether to send the mail or not. The problem is I put the SendMail activity in the left hand side of the IfElseActivity diagram and put a 'Execute Code' activity at the right hand side. Basically the Execute Code will call an 'empty' function that does nothing. However, this is what the WSS responsded when executing the workflow.


08/10/2007 18:20:50.87  OWSTIMER.EXE (0x07F4)                    0x0810 Windows SharePoint Services    Workflow Infrastructure        936l High     Engine RunWorkflow: System.Runtime.Serialization.SerializationException: Cannot get the member 'ExecuteNothing'.     at System.Reflection.MemberInfoSerializationHolder.GetRealObject(StreamingContext context)     at System.Runtime.Serialization.ObjectManager.ResolveObjectReference(ObjectHolder holder)     at System.Runtime.Serialization.ObjectManager.DoFixups()     at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)     at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCr

View Complete Post

More Related Resource Links

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend