Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11508

Deploy Error on contentType.UpdateWorkflowAssociation(wfAssociation);

$
0
0

I am using vs.net 2010 and deploying my feature which includes a workflow.

I am getting the following error "Error5Error occurred in deployment step 'Activate Features': There is already a workflow association with this name 'Test Level'"

This error is occurring on the following line contentType.UpdateWorkflowAssociation(wfAssociation);  If I remove the attempt to update the workflow association it deploys ok.  Also, if i remove the deployment site and recreate it so that there isn't a workflow association it works ok as well.

Why am I getting this error on contentType.UpdateWorkflowAssociation(wfAssociation) ??

 

thanks


dave

Viewing all articles
Browse latest Browse all 11508

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>