We recently were struggling to manage our Dynamics AX Workflow developments, as we have a number of AOS running on the same physical machine. The IIS also sits on the same physical server. Much to our consternation it was discovered that the workflow website only connects using the currently active Business Connector configuration (on the box which workflow is running on). We only discovered this via examining the System event log numerous times and doing a Shurlock Holmes to eliminate the possibilities until we figured it out.
This all being figured out we were able to activate the correct business connector based on the environment that we were working on. Irritating, but it worked. However this week while searching the knowledge base on partner source we discovered an even better solution. Apparently this was a bug and has subsequently been fixed by Hotfix #960801 from Microsoft, available for download at PartnerSource. In essence the process for environments like ours is as follows. Install hotfix, duplicate Workflow Website (with application pool), Rename the new Website, add a line to your new websites config file to specify which Business Connector configuration to use and link your AOS to the new website. Easy!
More details:
1) Install Hotfix 960801
2) Create a duplicate Workflow Website in IIS:
2.1) Duplicate the Workflow folder in your directory (typically C:\Program Files\Microsoft Dynamics AX\50)
2.2) Rename the folder to something logical for you to know which environment it will be pointing to e.g. WorkflowClientx
2.3) In IIS Manager, duplicate both your application pool and your virtual directory and name them accordingly e.g MicrosoftDynamicsAXWorkflow50Clientx
2.4) Link your New website to the folder that you duplicated in 2.1, and link it to your new application pool.
2.5) Edit the new website’s config file change: <appSettings /> to
<appSettings>
<add key=”BUSINESS_CONNECTOR_CONFIGURATION” value=”[BCPROXY CONFIG NAME]” />
</appSettings>
3) Restart IIS
4) Run the Workflow Infrastructure Configuration Wizard, in your new AOS and choose your new websites URL. e.g http://SERVER01:80/MicrosoftDynamicsAXWorkflow50Clientx
5) Enjoy your multiple AOS!
Like this:
Be the first to like this post.