Skip to content

Integrating Dynamics Ax 2009 with TFS 2010–part 5:Installing a Dynamics Ax AOS Instance


In the last post, we installed the Ax database and Application files. This post will describe installing the remainder of the Dynamics Ax bits.

Installing an AOS Instance

In order for development to occur on a developers machine, a local AOS instance will need to be installed for each branch of TFS Version Control that will be used on the developers machine. This enables a developer to be independent of other developers, while integrating their source into the ALM process of TFS 2010.

  • Start the Dynamics Ax install. Select the default language then select OK


  • Select Next


  • Accept the software licence then select Next


  • Select Custom Installation then select Next


  • Select the Application Object Server (AOS) and select Next. If you are installing on Windows 7, then a warning is shown regarding Windows 7 not being supported. Select Yes


  • Accept Microsoft SQL Server and select Next


  • If you are warned about pre-requisites then select the Install prerequisite software


  • Accept the default install location and select Next


  • Ensure that the database created earlier is selected then select Next


  • Accept the defaults in the AOS: Locate the application files


  • Accept the instance name and the port then select Next


  • Select the Network Service then select Next


  • Ensure that the Start the AOS instance after installation is completed is not selected then select Install


  • Select Finish


  • NOTE. This will need to be repeated for each “instance”. (e.g.: DEV, MAIN,REL,HOTFIX for our example)

Install the Dynamics Ax Client

If the Dynamics Ax development client has not been installed, then install as detailed below

  • Follow the steps as above until you get to the Add or Modify components section.
  • Select Client in the Base section then select Next


  • Select your language then Next


  • Select Install


Install Other Components as Needed

The other components can also be installed at this point. Note that WSS development would not be able to be installed on a client OS (e.g. Windows 7) as WSS 3 cannot be readily installed on Windows  7. For Enterprise Portal development, a separate Server Development machine would need to be installed, following the installation procedures as described in these blog posts. This is left as an exercise for the reader.


  • Create a configuration for the instance that you want to connect to using the Microsoft Dynamics AX 2009 Configuration tool. Save the configuration file to a directory (e.g. C:\Program Files\Microssoft Dynamics AX\LocalConfiguration) and create a shortcut using the newly created configuration file as the target. An example of the Target setting for a shortcut is given below:

"C:\Program Files\Microsoft Dynamics AX\50\Client\Bin\Ax32.exe" "C:\Program Files\Microsoft Dynamics AX\LocalConfiguration\LMAx5_MAIN.axc"

  • Ensure that the client has been started once, and that the instance has been configured and compiled. Also, ensure that the initialisation list has been completed.
  • Copy your current source to the Appl\Instance directory, overwriting the source files that are installed by default. This will ensure that when we get to the Add to TFS step in the next post that your source code will be added. Example is given below:

C:\Program Files\Microsoft Dynamics AX\50\Application\Appl\LMAx5_MAIN

  • Make sure that the following hotfix has been applied. This should enable the installation of the Reporting Services bits, but your mileage may vary. We had a lot of trouble getting the reporting services developments pieces to install, and ended up leaving them on the original server that was used for development:

  • If you are installing on Windows 7, then you will not be able to install the Role Centre and Enterprise Portal components, or the Enterprise Portal Development bits.

The next post will get to the interesting bits, where we actually integrate the Dynamics Ax development environment into TFS 2010.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: