Vous êtes sur la page 1sur 17

Author: Tom Burnett Dynamics AX Technical Architect and Developer

Version: 1.0 Date: 01st July 2013 Loc: AX


1
Dynamics AX 2012 R2 Import Export Framework Walkthrough
Installation

This document is based on Multi-server deployment for AX 2012 R2:
Server 1: SQL Server 2012 with SP1
Server 2: Dynamics AX 2102 R2 AOS
Server 3: Terminal or RDS Server with the AX 2012 R2 client pre-installed on this server.
There are three installation steps/points which must be followed in this order:
Install Import/Export Framework Services on the SQL Server running SQL Server Integration
Services.
Install Import/Export Framework for the AOS on the Server running the AOS.
Install Import/Export Framework for the AX Client on the T/S Server running the AX Client.

Installation Part 1 of 3: Install IEF on SQL Server running SSIS:
Prerequisites:
1. .Net Framework 4.5 must be installed.
http://www.microsoft.com/en-gb/download/details.aspx?id=30653

2. Right-click on setup.exe, and choose Run as administrator













Author: Tom Burnett Dynamics AX Technical Architect and Developer
Version: 1.0 Date: 01st July 2013 Loc: AX
2


3. At the Welcome to.. screen, click Next:


4. Accept Licence terms and click Next:


Author: Tom Burnett Dynamics AX Technical Architect and Developer
Version: 1.0 Date: 01st July 2013 Loc: AX
3


5. At select Components to install screen, select Data Import/Export Framework services
then Click, Next:


6. You may/may not get error during prerequisite validation checks:

Author: Tom Burnett Dynamics AX Technical Architect and Developer
Version: 1.0 Date: 01st July 2013 Loc: AX
4

Errors:
For GACutil utility for registering .Net 4.0 assembly.
Download and install the Windows SDK
Then re-run the Import/Export Framework installer

7. You should by now have all prerequisites validated. Click Next:




Note: You might also run into another .Net Framework issue where you might have higher
version of .Net framework installed than the one needed by the IEF. Uninstall the higher .Net
framework version and install the one required by the IEF should resolve the issue.














Author: Tom Burnett Dynamics AX Technical Architect and Developer
Version: 1.0 Date: 01st July 2013 Loc: AX
5



8. You should end up with Installation Complete.
























Author: Tom Burnett Dynamics AX Technical Architect and Developer
Version: 1.0 Date: 01st July 2013 Loc: AX
6
Installation Part 2 of 3: Install IEF on Dynamics AX 2012 R2 AOS server

1. Login to the Dynamics AX 2012 R2 AOs Server.
2. Right-click setup.exe and select Run as administrator


3. At Welcome screen, Click Next:













Author: Tom Burnett Dynamics AX Technical Architect and Developer
Version: 1.0 Date: 01st July 2013 Loc: AX
7


4. Agree to Licence Terms and click Next:


5. At Components to install, Select AOS component option and click Next:


Author: Tom Burnett Dynamics AX Technical Architect and Developer
Version: 1.0 Date: 01st July 2013 Loc: AX
8



6. At Prerequisite validation checks screen, fix any errors:



For this error, download and install the Windows Server 2008 R2/2012 SDK.




















Author: Tom Burnett Dynamics AX Technical Architect and Developer
Version: 1.0 Date: 01st July 2013 Loc: AX
9




7. After fixing errors, you should now have the Next button enabled:























Author: Tom Burnett Dynamics AX Technical Architect and Developer
Version: 1.0 Date: 01st July 2013 Loc: AX
10

8. At next screen displayed, Enter the location of the SSIS Server:

Enter SQL Server name without any instance name. SQL Server SSIS is not instance specific.

9. Click finish at Completed screen:



Author: Tom Burnett Dynamics AX Technical Architect and Developer
Version: 1.0 Date: 01st July 2013 Loc: AX
11
Installation Part 3a of 3: Install IEF on RDS/Application Client Machine

1. Right-click setup.exe and select Run as administrator:


2. At Welcome screen, click Next:















Author: Tom Burnett Dynamics AX Technical Architect and Developer
Version: 1.0 Date: 01st July 2013 Loc: AX
12

3. At next screen, select add/modify components and then click Next:


4. At select components to install screen, select Client Component and click Next:



Author: Tom Burnett Dynamics AX Technical Architect and Developer
Version: 1.0 Date: 01st July 2013 Loc: AX
13
5. At Prerequisite validation screen, if Next button is enabled, click it:



6. At Ready to install screen, click Install:



Author: Tom Burnett Dynamics AX Technical Architect and Developer
Version: 1.0 Date: 01st July 2013 Loc: AX
14


7. Click finish at end.




Congratulations, you have now installed the Import Export Framework for Microsoft Dynamics AX
2012 R2 on SQL Server, AOS Server and the RDS/Application client Server.

There is one last step to complete before you can run the IEF tool and that is importing the model
into the AX R2 database.

See next page to see how you do this.













Author: Tom Burnett Dynamics AX Technical Architect and Developer
Version: 1.0 Date: 01st July 2013 Loc: AX
15
Installation Part 3b of 3: Install IEF on RDS/Application Client Machine

1. Drain the AX Clients and stop the AOS.
2. On the Dynamics AX AOs Server, run the Powershell for Dynamics AX as administrator:


3. On the Dynamics AX 2012 R2 AOS Server find the location of the AX model file to import:
This is usually something like:
C:\Program Files\Microsoft Dynamics AX 2012 Data Import Export Framework Client
Component



4. Type the following command in the Dynamics AX powershell:

Install-AXModel -File "C:\Program Files\Microsoft Dynamics AX 2012 Data Import Export Framework Client
Component\<version number>\model\DataImportExportFramework.axmodel"

Replace <version number> with the name of the folder as displayed in screenshot above
(2012 R2).




Author: Tom Burnett Dynamics AX Technical Architect and Developer
Version: 1.0 Date: 01st July 2013 Loc: AX
16

5. In Powershell, run the script:



6. If no errors, you should get this result:













Author: Tom Burnett Dynamics AX Technical Architect and Developer
Version: 1.0 Date: 01st July 2013 Loc: AX
17


7. Restart the AOS.
8. Login to AX.
9. You should get The model store has been modified screen displayed. Select Compile and
synchronize option and click OK:



This can take couple of hours. Go get coffee/tea and biscuits. You deserve it !


Please refer to document Running and Configuring the Import Export Framework for Dynamics AX
2012 R2

Vous aimerez peut-être aussi