Workflow Lite for SharePoint: "Value does not fall within the expected range" exception
A few people have reported some problems with the Workflow Lite for SharePoint RC1. When you're using the COPY action for example, the workflow engine reports the following exception in the event log:
Unable to instantiate event handler (assembly "Leadit.SharePoint.Workflow, Version=0.2.0.0, Culture=neutral, PublicKeyToken=3948f234bbbabe18", class "Leadit.SharePoint.Workflow.EventHandler"), or report event for "..." in "...". Could not execute the COPY action.(System.ArgumentException: Value does not fall within the expected range.
It turns out to be that it's not a bug, but a problem with the XML namespaces in the configuration file that was included in the setup package as an example. So everybody who's having that problem, check out my (corrected) previous post for an example config file. An updated version of the setup package will be uploaded tonight, I think RC1b is a nice name. :-) Anyway, I'm sorry for the inconvenience and I thank everyone for helping to solve the problem (especially Jessica J., who now owes me a beer!).