Problem using CreateTaskWithContentType
I recieve an error when try to set the ContentTypeId to other than 0x010801 (0x01080100D09BD90EFB3244a194C27F1CBD6D525C).
I'm able to use this contenttype when it is set as defalut in workflow.xml (TaskListContentTypeId)
Exception from wss workflow infrastructure:
System.Reflection.TargetInvocationException:>
System.ArgumentException:"Value is not from expected range"
or
System.NullReferenceException
.....
Microsoft.SharePoint.SPContentTypeId..ctor(String id) in Microsoft.SharePoint.Workflow.SPWinOETaskService.CreateTaskWithContentType(Guid taskId, SPWorkflowTaskProperties properties, String taskContentTypeId, HybridDictionary specialPermissions).
Any idea how to resolve the problem?

