Note |
---|
The procedure for completing this task has changed for cumulative
update 7 or later for Microsoft Dynamics AX 2012 R2. For more
information, see the section later in this topic.
|
Before you begin, your environment must include the following components:
-
A running version of AX 2012 that has been configured for your business
-
A running version of Microsoft SQL Server Integration Services that is
running the same version of SQL Server that is hosting the Microsoft
Dynamics AX business and model store database
Important |
---|
Because the staging environment is highly normalized and might require
significant processing bandwidth, we recommend that you increase the Maximum buffer size
setting for your environment while you migrate data. Use the Server
configuration utility to set the value. For more information, see Tune data access settings.
|
Components of the Data Import/Export Framework must be installed on
computers that are running Integration Services, a computer that is
running an instance of Microsoft Dynamics AX Application Object Server
(AOS), and a computer that is running the Microsoft Dynamics AX client.
You must run the installer locally on each computer.
Caution |
---|
If you have previously installed the Data Import/Export Framework from
InformationSource, you must fully uninstall it and then reinstall it
for cumulative update 7 for Microsoft Dynamics AX 2012 R2. As part of
this full uninstallation, you must remove all binary files by using
Add/Remove Programs and uninstall the Data Import/Export Framework
model. For more information, see How to: Remove (Uninstall) a Model.
|
-
Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX components.
-
Advance through the first wizard pages.
-
If the Setup Support files have not yet been installed on the computer, the Select a file location
page is displayed. The Setup Support files are required for
installation. Enter a file location or accept the default location, and
then click Next.
-
On the Ready to install page, click Install.
-
On the Select components page, select the
appropriate component for the computer that you are installing to, in
the following order: server, AOS component, client component.
-
The prerequisite validation check runs. Address any issues that the
prerequisite check finds outside the installer, and then restart the
validation check. When all prerequisites have been found, click Next.
-
On the computer that is running SQL Server Integration Services, install the Data Import/Export Framework (DIXF) service.
Specify a service account and the version of SQL Server that is running. We recommend that you use the AOS service account.
-
On the AOS instance, specify the name of the server that is running SQL Server Integration Services.
-
The prerequisite validation check runs. Address any issues that the
prerequisite check finds outside the installer, and then restart the
validation check. When all prerequisites have been found, click Next.
Important |
---|
If you are running Microsoft Dynamics AX 2012 R2, we strongly
recommend that you use the version of the Data Import/Export Framework
that is available in cumulative update 7.
|
The Data Import/Export Framework has been released as part of cumulative update 7. Therefore, detailed installation instructions are included in the Apply updates to database, AOS, and clients section of the Apply updates to database, AOS, and clients topic.
Caution |
---|
If you have previously installed the Data Import/Export Framework from
InformationSource, you must fully uninstall it and then reinstall it
for cumulative update 7 for Microsoft Dynamics AX 2012 R2. As part of
this full uninstallation, you must remove all binary files by using
Add/Remove Programs and uninstall the Data Import/Export Framework
model. For more information, see How to: Remove (Uninstall) a Model.
|
Note |
---|
We recommend that you use the version of the Data Import/Export
Framework that is available from InformationSource only with AX 2012 or
Microsoft Dynamics AX 2012 Feature Pack.
|
Download the installation package for the Data Import/Export Framework, DataImportExportFramework.zip, and extract the package to a local folder.
-
On the computer that is running Integration Services, right-click Setup.exe, and then click Run as administrator.
Important If you do not run Setup as an administrator, the Data Import/Export Framework DLLs will not be copied to the correct locations or registered.
-
In the Setup wizard, accept the license terms, and then, on the Select components to install page, click Data Import/Export Framework service.
-
On the Prerequisite validation page, if the computer passes the validations that are required, click Next.
If the computer does not pass the validations, install the prerequisites, and then restart Setup.
-
On the Specify a service account page, enter the same account that is used for the AOS service, and then click Next.
-
On the Select version of Microsoft SQL Server page, select the appropriate version, and then click Next.
Caution This page appears only if Setup detects that versions of Integration Services for both SQL Server 2008 and SQL Server 2012 are installed on the computer.
-
On the Ready to install page, click Install.
-
On the Installation completed page, select Show logs to display the log files, and then click Finish.
The log file is stored in the same location that Setup was run from.
-
On a computer that is running an AOS instance, right-click Setup.exe, and then click Run as administrator.
Important If you do not run Setup as an administrator, the Data Import/Export Framework DLLs will not be copied to the correct locations or registered.
-
In the Setup wizard, accept the license terms, and then, on the Select components to install page, click Application Object Server (AOS) component.
-
On the Prerequisite validation page, if the computer passes the validations that are required, click Next.
If the computer does not pass the validations, install the prerequisites, and then restart Setup.
-
On the Specify SQL Server Integration Services location
page, select the computer that is running the version of SQL Server
Integration Services that you installed the Data Import/Export Framework
service on, and then click Next.
-
On the Ready to install page, click Install.
-
On the Installation completed page, select Show logs to display the log files, and then click Finish.
The log file is stored in the same location that Setup was run from.
-
On a computer that is running a Microsoft Dynamics AX client, right-click Setup.exe, and then click Run as administrator.
Important If you do not run Setup as an administrator, the Data Import/Export Framework DLLs will not be copied to the correct locations or registered.
-
In the Setup wizard, accept the license terms, and then, on the Select components to install page, click Client component.
-
On the Prerequisite validation page, if the computer passes the validations that are required, click Next.
If the computer does not pass the validations, install the prerequisites, and then restart Setup.
-
On the Ready to install page, click Install.
-
On the Installation completed page, select Show logs to display the log files, and then click Finish.
The log file is stored in the same location that Setup was run from.
After all the components have been installed, you must install the Data Import/Export Framework model.
-
On the client computer, from the location where you installed the Data
Import/Export Framework, import the DataImportExportFramework.axmodel
file. For more detailed instructions, see How to: Export and Import a Model.
Note Verify that the Microsoft Dynamics AX Management Shell is pointing to the database that you want to install the model in.
-
Drain client connections to the AOS instance that you are working with.
-
Stop the AOS.
-
Use one of the following command-line tools to import the model.
The version of the model that you import depends on the version of Microsoft Dynamics AX that you are running:
-
For AX 2012, install the model from the 2012 directory.
-
For AX 2012 Feature Pack, install the model from the 2012 FP directory.
-
For AX 2012 R2, install the model from the 2012 R2 directory.
Install-AXModel -File "C:\Program Files\Microsoft Dynamics AX 2012 Data Import Export Framework Client Component\<version number>\model\DataImportExportFramework.axmodel"
axutil import /file: "C:\Program Files\ Microsoft Dynamics AX 2012 Data Import Export Framework Client Component \<version number>\model\DataImportExportFramework.axmodel"
-
For AX 2012, install the model from the 2012 directory.
-
Drain client connections to the AOS instance that you are working with.
-
Restart the AOS service.
-
Start the client.
-
In the Model store has been modified dialog box, click Compile and synchronize.
-
When the synchronization is completed, click Compile into .Net Framework CIL.
-
If the dialog box does not open by itself, follow these steps:
-
Compile the application from System administration > Periodic > Compile.
-
Click System administration > Periodic > Database > SQL administration. On the Table actions menu, click Synchronize database.
-
Compile the application from System administration > Periodic > Compile.
-
Compile into .NET CIL from System administration > Periodic > Compile.
After the model has been compiled into .NET CIL, the Data Import/Export Framework button is added to the navigation pane.
This section describes how to troubleshoot issues with a Data
Import/Export Framework installation from cumulative update 7 for
Microsoft Dynamics AX 2012 R2.
After you slipstream cumulative update 7 for Microsoft Dynamics AX
2012 R2, the Data Import/Export Framework appears to be installed, but
you receive error messages when many forms are opened.
Resolution
When you slipstream install cumulative update 7 for Microsoft Dynamics AX 2012 R2, the Data Import/Export Framework appears to be installed for members of the System Administrators role. However, the binary components of the framework are not present. To fully install the Data Import/Export Framework, you must run the update installer. For more information, see the "Apply updates to database, AOS, and clients" section of the Apply updates to database, AOS, and clients topic.
Resolution
When you slipstream install cumulative update 7 for Microsoft Dynamics AX 2012 R2, the Data Import/Export Framework appears to be installed for members of the System Administrators role. However, the binary components of the framework are not present. To fully install the Data Import/Export Framework, you must run the update installer. For more information, see the "Apply updates to database, AOS, and clients" section of the Apply updates to database, AOS, and clients topic.
After you install the Data Import/Export Framework, if you cannot
compile, validate that the Data Import/Export Framework was installed
correctly.
Copy the DLLs from the installation location (C:\Program Files\Microsoft Dynamics AX 2012 Data Import Export Framework Client Component) to the C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin folder.
-
Verify that the Microsoft Dynamics AX Data Import/Export Framework service is running.
-
Verify that the Data Import/Export Framework DLLs are present in
C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin folder:
-
Microsoft.Dynamics.AX.DMF.Mapper.dll
-
Microsoft.Dynamics.AX.DMF.PreviewGrid.
-
Microsoft.Dynamics.AX.DMF.ServiceProxy.dll
-
DMFConfig.xml
-
Microsoft.Dynamics.AX.DMF.DriverHelper.dll
-
Microsoft.Dynamics.AX.DMF.Mapper.dll
Copy the DLLs from the installation location (C:\Program Files\Microsoft Dynamics AX 2012 Data Import Export Framework Client Component) to the C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin folder.
While you use the Data Import/Export Framework, you might receive the following error message:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException
Verify that the following files are present in the C:\Program Files (x86)\Microsoft Dynamics AX\60\Server\Bin folder on the server that is running the AOS instance:
Copy the .xml and the config files from the installation location (C:\Program Files\Microsoft Dynamics AX 2012 Data Import Export Framework Server Component) to the C:\Program Files (x86)\Microsoft Dynamics AX\60\Server\Bin folder on the server that is running the AOS instance.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException
Verify that the following files are present in the C:\Program Files (x86)\Microsoft Dynamics AX\60\Server\Bin folder on the server that is running the AOS instance:
-
DMFConfig.xml
-
DMFClientConfig.xml
-
Microsoft.Dynamics.AX.DMF.ServiceProxy.dll.config
Copy the .xml and the config files from the installation location (C:\Program Files\Microsoft Dynamics AX 2012 Data Import Export Framework Server Component) to the C:\Program Files (x86)\Microsoft Dynamics AX\60\Server\Bin folder on the server that is running the AOS instance.
<endpoint address="http://<<NEW MACHINE NAME>>:7000/DMFService/DMFServiceHelper.svc"
Note |
---|
The Microsoft.Dynamics.AX.DMF.ServiceProxy.dll.config file is located in the C:\Program Files (x86)\Microsoft Dynamics AX\60\Server\Bin folder on the server that is running the AOS instance. |
0 comments:
Post a Comment