Wednesday, April 7, 2010

Workflow - Failed on Start error.

I have a practice of changing the default class name of workflow1.cs to some logical name.cs based on the workflow i create. I created the workflow deployed it - however when I run the workflow - i get "Failed on start".

I even tried to debug the same but breakpoint never came.

I made a silly mistake in workflow.xml.I forgot to change the class name
CodeBesideClass="Namespace.Workflow1"

Resolution: Just change the Workflow1.cs to your classname and done....;))
CodeBesideClass="Namespace.CustomWorkflowClassName"

No comments:

Post a Comment