Quantcast
Channel: Project Customization and Programming forum
Viewing all articles
Browse latest Browse all 5347

Problem with config when deploying two workflows

$
0
0

I am using Dynamic workflow from Solution Starters package. I have deployed it to my PWA and it was ok. When I deploy, I get this line in web.config:

<WorkflowService Assembly="DMDynamicWorkflow, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3c7199f2d7b40b41" Class="DemandManagement.ProxyPSIService" />

But, I want to have a new workflow, so I deleted that instance and created new one (from Dynamic Management solution).

But, now, every time I deploy my solution, I get two lines in web.config:

<WorkflowService Assembly="DMDynamicWorkflow, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3c7199f2d7b40b41" Class="DemandManagement.ProxyPSIService" />

<WorkflowService Assembly="my.DMDynamicWorkflow, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3c7199f2d7b40b41" Class="myDemandManagement.ProxyPSIService" />

I am only using one WF (second line), but I always get two lines in web.config - one from old WF (first line) and one from new WF (second line), even though the old WF isn't on the machine anymore. And, WF in Project Server won't start untill I manually delete this first line from web.config, and then it is ok.

How can I deploy so that there is always one reference to my WF in web.config??


Viewing all articles
Browse latest Browse all 5347

Trending Articles



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