I have developed a SharePoint (WSS 3.0) workflow using Visual Studio 2008. This runs fine on my systems. However, the workflow fails to start on my client's system even when I'm logged in as Administrator (this admin account is also a Site Collection
owner) and gives rise to an "Access Denied" error. I think it's failing on this command
Web.Site.WorkflowManager.StartWorkflow(ListItem, WorkflowAssociation, InitiationData);
and just redirects to the AccessDenied.aspx page. I've checked that the admin user has full permissions on the task list associated with the workflow. I've also tried to run the command as a delegate method inside a SPSecurity.RunWithElevatedPrivileges
block but to no avail.
Any suggestions?