Issue: SharePoint 2007 - The workflow failed to start due to an internal error
Cause: Site created using custom template. As a result the workflow doesn't get provision properly.
Solutions: Run following stsadm commands from the sharepoint server.
OffWFCommon
stsadm -o deactivatefeature -id C9C9515D-E4E2-4001-9050-74F980F93160 -url <url> -force
stsadm -o uninstallfeature -id C9C9515D-E4E2-4001-9050-74F980F93160 -force
ExpirationWorkflow
stsadm -o deactivatefeature -id C85E5759-F323-4EFB-B548-443D2216EFB5 -url <url> -force
stsadm -o uninstallfeature -id C85E5759-F323-4EFB-B548-443D2216EFB5 -force
ReviewWorkflows
stsadm -o deactivatefeature -id 02464C6A-9D07-4F30-BA04-E9035CF54392 -url <url> -force
stsadm -o uninstallfeature -id 02464C6A-9D07-4F30-BA04-E9035CF54392 -force
SignaturesWorkflow
stsadm -o deactivatefeature -id 6C09612B-46AF-4B2F-8DFC-59185C962A29 -url <url> -force
stsadm -o uninstallfeature -id 6C09612B-46AF-4B2F-8DFC-59185C962A29 -force
translationWorkflow
stsadm -o deactivatefeature -id C6561405-EA03-40A9-A57F-F25472942A22 -url <url> -force
stsadm -o uninstallfeature -id C6561405-EA03-40A9-A57F-F25472942A22 -force
Install & activate
OffWFCommon
stsadm -o installfeature -name offwfcommon -force
stsadm -o activatefeature -id C9C9515D-E4E2-4001-9050-74F980F93160 -url <url> -force
ExpirationWorkflow
stsadm -o installfeature -name Expirationworkflow -force
stsadm -o activatefeature -id C85E5759-F323-4EFB-B548-443D2216EFB5 -url <url> -force
ReviewWorkflows
stsadm -o installfeature -name ReviewWorkflows -force
stsadm -o activatefeature -id 02464C6A-9D07-4F30-BA04-E9035CF54392 -url <url> -force
SignaturesWorkflow
stsadm -o installfeature -name SignaturesWorkflow -force
stsadm -o activatefeature -id 6C09612B-46AF-4B2F-8DFC-59185C962A29 -url <url> -force
TranslationWorkflow
stsadm -o installfeature -name Translationworkflow -force
stsadm -o activatefeature -id C6561405-EA03-40A9-A57F-F25472942A22 -url <url> -force