This is usually either that the account used when creating the TaskService object doesn't have rights to create the task with an S4U user, you haven't supplied a username in the RegisterTaskDefiniton method, or there is a combination of settings on the task's definition that can't be run interactively.
↧