I have a workflow deployed to my custom content type which inherits from a folder content type.
The deployment work fine but when I create a new folder in my document library I get the following error message in the event log:
Error loading and running event receiver Microsoft.SharePoint.Workflow.SPWorkflowAutostartEventReceiver in Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c. Additional information is below.
: The object specified does not belong to a list.
The K2 process does not start, I ran the K2 in console mode. SharePoint does not even try to start the process.