Workflow Soluiton

 View Only
  • 1.  Preserving changes to Web.config files

    Posted Dec 13, 2012 09:30 AM

    I need to make changes to the Web.config file to extend the executionTimeout parameter.  Each time I publish the associated project, the change to the config file has to be recreated.  Is there a way to preserve custom settings in the web.config file?



  • 2.  RE: Preserving changes to Web.config files

    Posted Dec 13, 2012 09:39 AM

    Just asking a few questions here... can you modify the web.config in your project beforehand, increasing the timeout (the web.config is only a resource)... then publish it? Republishing a project should overwrite the existing web.config with the project's web.config... at least it should. What version of WF are you running?



  • 3.  RE: Preserving changes to Web.config files

    Posted Dec 14, 2012 08:55 AM

    I am on Workflow 7.1.

    When I modify the web.config I am making the change in the Program Files\Altiris\Workflow\WorkflowDeploy\Release\ project name directory.  Each time I publish the project, this file gets rebuilt.  Is there a source file I should be editing instead?



  • 4.  RE: Preserving changes to Web.config files

    Posted Dec 14, 2012 09:38 AM

    You have to do it at the project level before you publish your workflow so that it keeps the configuration not in the folder directory where you're currently changing it. Here's a screenshot of where it should be changed and it should be be something like \Workflow\WorkflowProjects\WorkflowFolder



  • 5.  RE: Preserving changes to Web.config files

    Posted Dec 14, 2012 11:12 AM

    Great.  Thanks for your help.



  • 6.  RE: Preserving changes to Web.config files

    Posted Dec 14, 2012 12:16 PM

    Aryanos said what I was trying to say much better with pictures and everything... edit your project web.config with the changes you want published.