MS AX Installation Guide
MS AX Installation Guide
MS AX Installation Guide
Guide
Microsoft Corporation
Published: May 2008
Microsoft Dynamics is a line of integrated, adaptable business management solutions that
enables you and your people to make business decisions with greater confidence. Microsoft
Dynamics works like and with familiar Microsoft software, automating and streamlining financial,
customer relationship and supply chain processes in a way that helps you drive business
success.
Table of Contents
Getting started with installation ........................................................................................................ 6
Overview of Microsoft Dynamics AX installation .......................................................................... 7
Microsoft Dynamics AX server overview ...................................................................................... 9
User accounts that are used for server connections .................................................................. 11
Prerequisite software installed by Setup .................................................................................... 12
Installation Guide 5
Microsoft Dynamics AX
Installation Guide 6
Microsoft Dynamics AX
For more detailed information about the steps in the process, see the following sections.
Look for updated Microsoft Dynamics AX Microsoft Dynamics AX documentation Web site
2009 documentation on the Web.
Make sure that your domain account has Rights required for installation
appropriate rights to perform the installation
Installation Guide 7
Microsoft Dynamics AX
Installation Guide 8
Microsoft Dynamics AX
Database server
® ®
The database server stores Microsoft Dynamics AX data. You can use a Microsoft SQL Server
database server or an Oracle database server.
File server
A file server contains the Microsoft Dynamics AX application files, which include indexes,
headers, and labels for each application layer. The directory where the application files are
installed must be accessible to all AOS servers.
Installation Guide 9
Microsoft Dynamics AX
Workflow server
A Workflow Web server runs the Windows Workflow Foundation, which enables you to create
individual workflows, or business processes, in Microsoft Dynamics AX. A workflow controls how
a document flows through the system by specifying who must process and approve it.
For more information about setting up a Workflow server, see WorkfIow.
Reporting server
A reporting Web server adds to the reporting functionality in Microsoft Dynamics AX by linking to
Microsoft SQL Server Reporting Services. A reporting server provides enhanced support for ad
hoc reporting.
For more information about setting up a reporting server, see Reporting extensions.
Domain controller
®
A domain controller in an Active Directory network manages user logons and access to network
and shared resources.
Messaging server
A messaging server enables sending and receiving e-mail messages and instant messages.
Microsoft Dynamics AX can use e-mail to send alerts to users. Microsoft Dynamics AX requires
the messaging server to support SMTP.
Installation Guide 10
Microsoft Dynamics AX
Account Function
AOS service account The domain account or Network Service account that
the AOS Windows service runs as. Communicates with
the database server.
For more information about the AOS service account,
see Install an Application Object Server (AOS)
instance.
Business Connector proxy A domain account that is used to connect to the AOS
on behalf of a Microsoft Dynamics AX user, without
granting that user excessive privileges in the system.
This functionality is used by the Role Centers and
Enterprise Portal, Workflow, and Reporting Services
extensions.
For information about Business Connector proxy
account requirements, see Set the Business Connector
proxy user.
Workflow system account An account that is used for running application business
logic and accessing Microsoft Dynamics AX data.
For more information about the Workflow system
account, see Configure Workflow accounts.
Synchronization service account The domain account that the synchronization service
runs as. We recommend that this domain account be
configured with no local log-on rights.
For more information, see Install the synchronization
service for Microsoft Office Project.
Installation Guide 11
Microsoft Dynamics AX
Microsoft Windows SharePoint Services 3.0, Role Centers and Enterprise Portal framework
Service Pack 1
®
Microsoft Visual C++ 2005 Redistributable AOS
Package Client
.NET Business Connector
Microsoft SQL Server 2005 ADOMD.NET Role Centers and Enterprise Portal framework
If you are not the system administrator, consult a system administrator before installation. You
cannot use Microsoft Dynamics AX Setup to uninstall this software later.
Installation Guide 12
Microsoft Dynamics AX
Installation Guide 13
Microsoft Dynamics AX
Microsoft SQL Server database Member of the dbcreator role on the SQL
Server instance.
Application Object Server (AOS) Member of the securityadmin role on the SQL
Server instance you want to connect to and full
permissions to the folder where the application
files are installed.
Client None
Role Centers and Enterprise Portal framework Member of the Administrators group in
Microsoft Dynamics AX and a member of the
dbcreator role on the SQL Server instance
being used for Windows SharePoint Services (if
WSS is installed through Microsoft Dynamics
AX Setup).
Debugger None
Installation Guide 14
Microsoft Dynamics AX
System requirements
For up-to-date hardware and software requirements for Microsoft Dynamics AX, see the system
requirements Web page (http://go.microsoft.com/fwlink/?LinkId=107378).
Some software prerequisites will be installed automatically by Setup. For more information, see
Prerequisite software installed by Setup.
Installation Guide 15
Microsoft Dynamics AX
Important:
You should not use the Developer installation in a production environment. Use this
installation type only for development and testing.
For more information about the Developer installation type, see Install a developer installation of
Microsoft Dynamics AX.
Installation Guide 16
Microsoft Dynamics AX
Topic Description
Install an Application Object Server (AOS) Provides instructions for installing the
instance Application Object Server (AOS) Windows
service.
The AOS controls communications among
Microsoft Dynamics AX clients, databases, and
applications.
Installation Guide 17
Microsoft Dynamics AX
Note:
Setup places the database and transaction log in the same location. For a production
environment, we recommend that you move the transaction log to a different drive. For
more information, see the SQL Server documentation.
Installation Guide 18
Microsoft Dynamics AX
Note:
We recommend that you use a uniform naming convention for all aspects of the
installation, including the database name, the AOS name, and the application file
instance name. For example, you might use a name like Fabrikam_DYNAX09_Live,
which includes a shortened form of your business name, the Microsoft Dynamics
AX version, and a code for the purpose of the installation.
If you're installing multiple databases, provide a different name for each instance.
6. Click Next until the component has been installed.
Installation Guide 19
Microsoft Dynamics AX
4. Configure an AOS instance to connect to the new database. Installing an AOS instance sets
the appropriate rights for the AOS service account on the selected database server and creates
stored procedures used for session management.
If you want an existing AOS instance to connect to the manually created database, you must
set the appropriate rights for the AOS account. Set the following permissions in the database:
Make the account a login on the database server. (This login already exists if you are
installing on the same SQL Server computer as the first database.)
Assign the user to the db_ddladmin, db_datareader, and db_datawriter database
roles.
Grant the user execute rights on the createserversessions and createusersessions
stored procedures.
See Also
Rights required for installation
Installation Guide 20
Microsoft Dynamics AX
Option Value
Note:
If you are upgrading, you must use the same
tablespace names in the previous version and the
new version.
Installation Guide 21
Microsoft Dynamics AX
2. Create a database user for the Microsoft Dynamics AX administrator to use when installing
an AOS instance. Setup uses the Windows account of the installing user to connect to the
Oracle database and to write stored procedures to the Oracle database. Set the following
rights:
Add the network account of the person who will install the AOS to the database
administrators group in Oracle.
Set Oracle to use Windows authentication.
3. Optional: Create database users for the service accounts of all AOS instances. Grant the
database users the following rights in the database:
GRANT CREATE USER TO "<AOSaccount_name>";
If you do not perform this step, Setup grants the following rights to the current AOS instance:
ALL PRIVILEGES
SELECT ANY DICTIONARY
4. Optional: Create a schema (user account) for each database instance and grant the rights
listed in Rights for a manually created Oracle schema.
If you do not perform this step, Setup grants the following rights to the schema.
ALL PRIVILEGES
SELECT ANY DICTIONARY
SELECT_CATALOG_ROLE
5. Optional: Import the Setup stored procedures. You can find the stored procedures
OracleCreateServerSessions and OracleCreateUserSessions in the Support folder on the
Microsoft Dynamics AX DVD. The stored procedures have been wrapped. If you do not
perform this step manually, it will be performed by Microsoft Dynamics AX Setup.
2. If some users that log on from clients are not on the same domain as the database, you must
also set REMOTE_OS_AUTHENT to true, and restart the Oracle service.
Installation Guide 22
Microsoft Dynamics AX
(DESCRIPTION =
(ADDRESS =
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = databasename)
Installation Guide 23
Microsoft Dynamics AX
8. On the AOS: Connect to an Oracle database server page, select the connection type you
plan to use.
If you select Use a net service (TNS) to connect, type in the service name.
If you select Use custom settings to connect, type in the host name, database service
name, and TCP/IP port to connect to.
In the Schema (user) name box, specify a name for the schema under which the
Microsoft Dynamics AX objects will be created in the database. You can accept the
default value of DBO. If you enter a schema name that does not already exist, Setup
creates it for you. In the Password box, specify a password for the schema.
9. On the AOS: Locate the application files page, type or browse to the location where you
installed the Microsoft Dynamics AX application files.
Note:
By default, the application files are installed to <Drive>:\Program Files\Microsoft
Dynamics AX\ApplicationInstanceName.
10. On the AOS: Create an instance page, assign a name to the AOS instance, and optionally,
a TCP/IP port.
11. On the AOS: Select an account page, choose whether to use the Network Service account
of the local computer or a domain account for the AOS account.
Note:
If you are installing the AOS and the Oracle database on the same computer, you
must use a domain account for the AOS account.
12. Click Next until the component has been installed. Setup performs the following actions on
the computer that is running Oracle:
Grants the AOS account Full Control on the Oracle installation directory.
Runs a script that creates a schema, if it does not already exist.
Creates session persistence stored procedures.
Installation Guide 24
Microsoft Dynamics AX
Important:
If the application files are at the root of the share (for example,
\\ApplicationServer\Share), when you install an AOS instance that connects to the
application file server, Windows removes any permissions that the folder inherited
from folders above it for all accounts, including members of the Administrators and
Power Users groups.
Permissions on the directory should be highly restrictive. Allow access to the directory only to
AOS accounts and Microsoft Dynamics AX administrators. Client computers do not require
access to the directory, so access should not be granted. For recommendations about how to
set permissions for systems running multiple AOS instances, see Install multiple instances of
Microsoft Dynamics AX.
The share where the application files are installed cannot be configured as a Distributed File
System (DFS).
Installation Guide 25
Microsoft Dynamics AX
6. On the Application files: Set an instance name page, enter a name for this instance of the
application files. The location for the files is set to
InstallationPath\Application\Appl\instancename.
Note:
We recommend that you use a uniform naming convention for all aspects of the
installation, including the database name, the AOS name, and the application file
instance name. For example, you might use a name like Fabrikam_DYNAX09_Live,
which includes a shortened form of your business name, the Microsoft Dynamics AX
version, and a code for the purpose of the installation.
If you plan to install multiple instances of the application files, use a different name for each
instance.
Click Next.
7. On the Application files: Select a country or region page, choose a country or region to
install. Regions provide country-specific tax and financial functionality. For more information,
see Choosing regional functionality.
Click Next.
8. On the Ready to install page, click Install.
See Also
Rights required for installation
Installation Guide 26
Microsoft Dynamics AX
Installation Guide 27
Microsoft Dynamics AX
Note:
If you do not install in this order, you can use the Server Configuration utility to specify
the database and the application file location.
If the computer on which you are installing the AOS uses Windows Firewall, the firewall service
must be running. By default the AOS service runs on TCP/IP port 2712.
Note:
By default, the files are installed to <Drive>:\Program Files\Microsoft Dynamics
AX\50.
7. If you selected Microsoft SQL Server as the database, the AOS: Connect to a SQL Server
database page appears. In the Server name box, type or select the name of the SQL Server
to connect to. In the Database name box, select the name of the database to which you want
to connect.
8. If you selected Oracle as the database, the AOS: Connect to an Oracle database server
page appears. Select the connection type to use: net service (TNS) or custom settings. Enter
a schema (user) name and password to use to connect to the database.
9. On the AOS: Locate the application files page, type the location or click Browse to
navigate to the location where the Microsoft Dynamics AX application files have been
installed. The application files may be located on a different computer.
In addition, enter the name of the application files instance that you want to use. Click Next.
10. On the AOS: Create an instance page, assign a name to the AOS instance, and optionally,
a TCP/IP port. The default port is 2712.
Note:
We recommend that you use a uniform naming convention for all aspects of the
installation, including the database name, the AOS name, and the application file
instance name. Because Microsoft Dynamics AX installations typically include one
database, one set of application files, and multiple AOS instances, make sure that
AOS instance names are consistent with the naming convention, yet unique. For
example, you might use a name like Fabrikam_DYNAX09_Live_AOS1, which
includes a shortened form of your business name, the Microsoft Dynamics AX
version, a code for the purpose of the installation, and an identifier for the AOS
instance.
Installation Guide 29
Microsoft Dynamics AX
11. Optional: To send information to Microsoft about any fatal error in the AOS instance, select
Participate in error reporting.
Note:
®
This option applies only if you are installing on Windows Server 2003. If you are
installing on Windows Server 2008, you must use Server Manager to set error
reporting options.
If you enable error reporting, information is sent over a secure (https) connection to Microsoft,
where it is stored with limited access. Microsoft uses the reports only to improve Microsoft
Dynamics AX, and treats all information as confidential.
12. On the AOS: Select an account page, choose whether to use the Network Service account
of the local computer or a domain account to run the AOS service.
Setup grants the following permissions to the AOS account:
Adds the AOS account to the database as a user, and makes it a member of the
db_ddladmin, db_datareader, and db_datawriter database roles.
Grants the user execute rights on the createserversessions and createusersessions
stored procedures.
Grants the AOS account Full Control permissions on the application files directory.
13. On the Ready to install page, click Install. If you want the AOS service to start after it has
been installed, mark Start the AOS instance after installation is completed.
Note:
The AOS Windows service can take several minutes to start the first time after
installing. To determine whether it has started, go to Administrative tools >
Services, and review the status of the Dynamics AX Object Server service.
Installation Guide 30
Microsoft Dynamics AX
4. Make the login a user in the Microsoft Dynamics AX database, and add the user to the
following database roles: db_ddladmin, db_datareader, and db_datawriter.
5. Grant the Active Directory group full permissions to the folder that contains the application
files.
6. Optionally, remove permissions on the application folder and in the database for the
individual AOS accounts.
Install a client
A Microsoft Dynamics AX client is the interface to Microsoft Dynamics AX data and functionality.
When you install the Microsoft Dynamics AX client, the following components are included:
The Microsoft Dynamics AX interface that connects to an Application Object Server (AOS).
The Microsoft Dynamics AX Configuration utility.
You must be logged on to the client computer to install the client.
If you are installing a large number of clients, we recommend that you install them from a file
server and create a shared configuration file. For details, see Mass deployment of clients.
Note:
You can set clients to use a shared configuration file only when you install the client from
the command line. This option is not available through the Setup wizard.
Installation Guide 31
Microsoft Dynamics AX
Installing a client
Use this procedure to install a Microsoft Dynamics AX client using the Setup wizard. If you are
installing other Microsoft Dynamics AX components at the same time, the installation screens will
vary based on the components you are installing.
1. Start Microsoft Dynamics AX Setup.
2. Step through the initial wizard pages.
3. On the Select installation type page, click Custom installation and then click Next.
4. On the Select components page, select Client and then click Next.
5. On the Install files page, provide a file location for the Microsoft Dynamics AX client or
accept the default location and then click Next.
6. On the Client: Select a display language page, select the language to view the Microsoft
Dynamics AX client in and then click Next. If you later decide to use a different language, you
can modify the user settings in the client.
7. On the Client: Select Help languages page, select the languages to view Microsoft
Dynamics AX Help in and then click Next. We recommend that you install all the Help
languages required for the client during initial installation.
Note:
To view the Help in a different language, you can change the user settings in the
Microsoft Dynamics AX client. If you do not install the Help files for all the languages
that you need, you can install additional Help files later by running Setup again.
Select the Client component, and then select any additional languages you require.
8. On the Client: Connect to AOS instance page, enter the name of the computer running the
AOS instance to connect to and then click Next. You can optionally specify the AOS instance
name and TCP/IP port number.
If you do not know the name of the Application Object Server, contact the Microsoft Dynamics
AX administrator.
9. On the Ready to install page, click Install.
Next steps
The client uses a TCP port to connect to the AOS. If Windows Firewall is enabled on the
computer, we recommend adding a firewall exclusion for the Ax32.exe application.
Installation Guide 32
Microsoft Dynamics AX
Note:
You can set clients to use a shared configuration file only when you install the client from
the command line. This option is not available through the Setup wizard.
1. On a client that has local configuration settings and is connected to the appropriate AOS
instance, start the Microsoft Dynamics AX Configuration utility (Start > Control Panel >
Administrative Tools > Microsoft Dynamics AX Configuration).
2. Verify that the settings in the configuration are those you want to distribute broadly.
3. Click Manage, and then click Export configuration to file. Name and save the configuration
file.
4. Copy the saved configuration file to a shared directory. The user of each client computer
must have read permissions on the shared directory.
Installation Guide 33
Microsoft Dynamics AX
Note:
Instead of entering all parameters directly in the command file, you can set up the
command file to use a parameter file. For more information, see Silent installation.
We recommend that you determine which parameters to use by installing a client on a single
computer and then reviewing the Setup log file, which is located at
%AllUsersProfile%\Microsoft\Dynamics AX\Dynamics AX Setup Logs\Date Time\
DynamicsSetupLog.txt. The log lists the parameters that were used in the installation.
For more information about individual parameters, see Setup parameters.
1. Create a command file named AxInstallClient.cmd in the Microsoft Dynamics AX DVD shared
folder, at the same level as Setup.exe.
2. Specify installation parameters in the command file. Use the following example as a guide:
X:\Setup.exe HideUI=1 AcceptLicenseTerms=1 InstallClientUI=1 ClientAosServer=Company1
ClientLanguage=en-US ClientHelpLanguages=en-US;fr-CA
3. Optional. To install clients without installing the Microsoft Dynamics AX Client Configuration
utility, set the parameter ClientConfig to zero.
4. Optional. To set up clients to use a shared configuration file, set the ClientConfigFile path
parameter to the file in the shared directory.
ClientConfigFile="X:\<name of configuration file>.axc"
Installation Guide 34
Microsoft Dynamics AX
Section Description
Start Microsoft Dynamics AX Provides information about the first time you
start the Microsoft Dynamics AX client.
Run the checklist items without user interaction Contains information about automating
checklist tasks.
Installation Guide 35
Microsoft Dynamics AX
Note:
The client cannot start until the AOS Windows service has started. The AOS service can
take several minutes to start after you install it the first time. To determine whether it has
started, go to Administrative tools > Services, and review the status of the Dynamics
AX Object Server<$InstanceNumberAOSInstanceName> service.
Installation Guide 36
Microsoft Dynamics AX
Initialization checklist
This section provides information about the tasks in the initialization checklist. Use the
initialization checklist to guide you through the initial setup of the system. You must complete the
initialization checklist before you install required, development, and integration components using
the Setup wizard.
Important:
You must complete the initialization checklist before you add any users to the system. If
you add users to the system before completing the initialization checklist, they receive full
user rights to the application, regardless of which user group they are assigned to, until
you complete the checklist.
The initialization checklist opens after you have installed the Microsoft Dynamics AX client, or you
can open it by clicking Administration > Setup > System > Checklists > Initialization
checklist.
When you complete the checklist, you can select the Prevent startup of the checklist check box
so that the initialization checklist does not open every time that you start the client.
After you complete the initialization checklist, you must restart the Microsoft Dynamics AX client.
Installation Guide 37
Microsoft Dynamics AX
For more information about the symbols used in the checklist, with the checklist open, click F1.
Compile application Update references and make Administration > Compile the
sure that the application is Periodic > Compile application
ready for use. This process application
must be completed if there is
more than one layer in your
system.
License information Import or enter the Microsoft Administration > Provide license
Dynamics AX licenses that Setup > System > information
were purchased. Licenses License information
activate configuration keys
that are used to enable
modules and functions.
Start demonstration mode by
clicking the Optional icon
.
Statistics (Oracle Specify the Oracle usage Available only from Configure Oracle
only) statistics for Microsoft the initialization statistics
Dynamics AX to checklist
collect automatically.
Oracle storage Manage the placement of Available only from Configure Oracle
(Oracle only) Microsoft Dynamics AX the initialization tablespaces
tables within Oracle checklist
tablespaces.
Installation Guide 38
Microsoft Dynamics AX
Modify data types Change the properties for Administration > Modify data types
data types without accessing Setup > System >
the Application Object Tree Modify data types
(AOT). You must be an
administrator to make these
changes. All changes must
be made before data is
entered into the system.
Global address Set up virtual companies for Administration > Create virtual
books shared address books. Setup > Virtual companies for
company accounts global address
books
Initialize Role Select the default user Basic > Setup > Select default
Center profiles profiles to enable for Role Role Centers > user profiles for
Centers. Role Centers are Initialize Role Role Centers
customizable home pages. Center profiles
Installation Guide 39
Microsoft Dynamics AX
Important:
To run the Compile application task, the .NET Business Connector must be installed on
the computer where you are running the checklist.
Run the compile process from the initialization checklist or the upgrade checklist, or click
Administration > Periodic > Compile application.
When the application is compiled, the application source code is translated into binary code that
can be interpreted by the kernel. The binary code is stored in the .aod file.
Close the Compiler output dialog box when the compilation is finished.
Important:
Depending on your hardware, the compilation can take an hour or more to finish. Also, it
is critical that the compilation runs until it is finished.
Note:
If you change your current license settings because license keys are updated, the new
functionality will not be available until the client is restarted.
In addition to license codes for Microsoft Dynamics AX functionality, there are four licenses for
access to the Microsoft Dynamics AX development environment. For more information, see
Development access licenses.
If you do not have a license, you can set up Microsoft Dynamics AX in demonstration mode.
Demonstration mode provides all the functionality of Microsoft Dynamics AX, and enables all
configuration keys by default.
Installation Guide 40
Microsoft Dynamics AX
3. Click the folder icon and browse for your license file.
Note:
We recommend that you store your license file in a secure location that is known only
to Microsoft Dynamics AX administrators.
4. Click OK. A message appears, asking whether you want to synchronize the database.
5. Click Yes.
6. Close the License information window.
Important:
The first four entries (name of the license holder, the system's serial number,
expiration date, and license code) determine what appears in the remaining codes.
Therefore, they must be entered correctly.
4. Enter the remaining codes.
For each, review the Status field to make sure that the code is accepted.
Language-specific licenses
If your license includes specific languages, you must restart the AOS after importing the license
file. Restarting the AOS ensures that the correct languages are listed in the Options form
(Microsoft Dynamics AX > Tools > Options...).
If you do not restart the AOS, end users will be able select unlicensed languages, which would
prevent the Microsoft Dynamics AX client from starting.
Installation Guide 41
Microsoft Dynamics AX
Installation Guide 42
Microsoft Dynamics AX
3. In the Oracle setup group, in the Tablespace list, select the appropriate tablespace. Set any
other options as appropriate.
We recommend that you assign the Microsoft Dynamics AX tables to one or more
tablespaces, and that you assign the indexes to one or more indexspaces.
4. Repeat steps 2 and 3 for all objects that you are associating with tablespaces.
5. Close the form to save your changes.
Installation Guide 43
Microsoft Dynamics AX
Installation Guide 44
Microsoft Dynamics AX
Example
To change the number of decimal places on the Amount data type, enter the number of decimal
places you require in the Decimals field. If you change the number from 2 to 0, an amount that
inherits from the Amount data type appears as 200 instead of 200.00. The change is reflected
everywhere that the Amount data type is used.
Note:
Any changes must be made before entering data in the system.
The adjustable data types and their default settings are as follows:
Bonus 10 Left -
Calendar 10 Left -
Installation Guide 45
Microsoft Dynamics AX
Description 60 Left -
Group 10 Left -
Location 10 Left -
Name 60 Left -
Project 10 Left -
Reference 60 Left -
Import data
If you plan to import company data, you must complete this task before you start using Microsoft
Dynamics AX in a production environment. Parameters, setup data, default data, and master data
are typically imported for initial setup.
1. Open the Import options form from the initialization checklist or click Administration >
Periodic > Data export/import > Import
2. In the Definition group field, select a definition group.
A definition group defines the tables and fields into which you will import data. Using a
definition group is optional.
Note:
You can define a definition group in Administration > Periodic > Data
export/import > Definition groups.
Installation Guide 46
Microsoft Dynamics AX
3. In the File name field, enter the path of the file, and then click Open.
The file type must be .dat, which is the file type that is used for a Standard export (instead of
®
Excel or Custom) from Microsoft Dynamics AX.
4. To run the import on the server, select the Execute on AOS check box.
If this option is selected, the file that you selected in step 3 must be on the server, and you
must have appropriate permissions to the server folder and the file.
5. Click the Advanced tab to set up options for data import. Click the Batch tab to define batch
processing parameters for the import.
6. Click OK to start the data import.
Important:
You must set up virtual companies for address books before you create customer,
vendor, employee, competitor, or contact records for a company.
For more information about company accounts, virtual company accounts, and global address
books, see the System and Application Setup Help, available on the Help menu in Microsoft
Dynamics AX.
Installation Guide 47
Microsoft Dynamics AX
Example
Fabrikam Inc. has five companies set up in Microsoft Dynamics AX:
Company 1 and Company 2 are in related manufacturing and distribution businesses.
Company 3 and Company 4 are in the professional services industry.
Company 5 is in the retail industry.
Fabrikam Inc. requires that related businesses share address book information. Therefore, the
administrator sets up the following virtual companies:
N/A Company 5
Installation Guide 48
Microsoft Dynamics AX
Installation Guide 49
Microsoft Dynamics AX
Installation Guide 50
Microsoft Dynamics AX
Note:
The XML file syntax is described in the documentation for the SysAutoRun
class. See the developer documentation for more information. In addition, see
the sample file below.
3. Open a command prompt and type the following:
ax32.exe –StartupCmd=AutoRun_c:\PathToFile\FileName.XML
Note:
The XML code allows you to skip steps that are marked as mandatory.
+ <Configuration>
+ <AdjustGlobalTypes>
<Synchronize />
+ <UserGroups>
<PasswordParameters />
+ <Users>
+ <CompanyAccounts>
Installation Guide 51
Microsoft Dynamics AX
<PreventCheckList />
</AxaptaAutoRun>
Installation Guide 52
Microsoft Dynamics AX
Topic Description
Enterprise Portal and Role Centers Provides instructions for installing Role Centers
and Enterprise Portal.
Role Centers provide a single point of access
to role-specific information and work items.
Enterprise Portal is a Web-based application
that provides access to Microsoft Dynamics AX
data and allows users to participate in business
processes via the Web.
Installation Guide 53
Microsoft Dynamics AX
Installation Guide 54
Microsoft Dynamics AX
Microsoft Office SharePoint Server If you plan to use Office SharePoint Server
instead of Windows SharePoint Services, you
must purchase and install it separately.
Installation Guide 55
Microsoft Dynamics AX
Important:
The Setup wizard cannot install both Internet Information Services and Windows
SharePoint Services if both are missing. We recommend installing Internet
Information Services before you begin.
ASP.NET 2.0
Microsoft Dynamics AX .NET Business Connector
Installation Guide 56
Microsoft Dynamics AX
Note:
We recommend installing the version of Windows SharePoint Services for your locale. If
you do not install a localized version, Role Center pages will display text in mixed
languages.
Be aware that when you install Windows SharePoint Services, the installation process stops the
Default Web Site in IIS Manager. If you installed Microsoft Dynamics AX Workflow or any other
Web applications on the Default Web Site, those applications will not be available until you
specify a new port for the Default Web Site and restart the site in IIS Manager.
1. On the Web farm administration server (the server with the Internet-facing network interface
card), start the Windows SharePoint Services installation wizard.
2. On the Choose the installation you want page, click Advanced.
3. On the Server Type page, click Web Front End, and then click Install Now.
4. When the installation is completed, verify that the Run the SharePoint Products and
Technologies Configuration Wizard now option is selected and click Close.
5. On the Welcome to SharePoint Products and Technologies page, click Next.
6. Click Yes to confirm that you understand that services will be restarted while configuring
Windows SharePoint Services.
7. On the Connect to a Server Farm page, select No, I want to create a new server farm if
you are installing on the first server. On subsequent servers, select Connect to an existing
server farm. Click Next.
8. On the Specify Configuration Database Settings page, specify the server details and
account credentials and click Next.
9. On the Configure SharePoint Central Administration Web Application page, leave the
default settings and click Next.
10. On the Completing the SharePoint Products and Technologies Configuration Wizard
page, verify the settings and click Next.
11. After the wizard completes, click Finish.
12. Repeat this procedure on each IIS Web server in the server farm.
Installation Guide 57
Microsoft Dynamics AX
Important:
If Setup prompts you to install IIS on this page, quit Setup and install IIS. After you
have installed IIS, restart Setup. For more information about installing IIS, see your
Windows documentation.
If Setup prompts you to install other prerequisite components, then click the Install
prerequisite software button. When Setup verifies that all prerequisite software is installed
on the server, click Next.
6. On the Install files page, type the location or click Browse to navigate to the location where
you want to install the files for this component.
7. On the Select display language page, select the language in which you would like to first
run Microsoft Dynamics AX. If you later decide to change languages, you can modify the user
language from within the client.
8. On the .NET Business Connector: Connect to AOS instance page, enter the name of the
computer running the AOS instance to connect to and then click Next. You can optionally
specify the AOS instance name and TCP/IP port number.
9. On the .NET Business Connector proxy account information page, enter the
domain\username and password for the .NET Business Connector proxy account. Click Next.
Installation Guide 58
Microsoft Dynamics AX
10. On the Role Centers and Enterprise Portal framework: Configure IIS page, select a Web
site.
We recommend selecting the Configure for Windows SharePoint Services option. If you
select this option, Setup creates a SharePoint Web application and site collection, sets the
application pool to run under the Business Connector proxy account, and sets the
authentication method to Windows NTLM.
Select the Create Web site option to create a site at the following URL:
http://ServerName:Port/sites/DynamicsAX. By default, Setup creates a new site that uses
port 80. Click Next.
Note:
To change the URL, title, and description before completing the installation, specify
your changes in the EPSetupParams file: AOT>Web>Web Files>Static
Files>EPSetupParams.
11. On the Ready to install page, click Install.
If appropriate, select the option to restart IIS when the installation has completed. Before
selecting this option, consider the impact of an IIS reset on other applications on the Web
server.
Installation Guide 59
Microsoft Dynamics AX
Note:
We recommend installing the version of Office SharePoint Server for your locale. If you
do not install a localized version, Role Center pages will display text in mixed languages.
Be aware that when you install Office SharePoint Server, the installation process stops the
Default Web Site in IIS Manager. If you installed Microsoft Dynamics AX Workflow or any other
Web applications on the Default Web Site, those applications will not be available until you
specify a new port for the Default Web Site and restart the site in IIS Manager.
Installation Guide 60
Microsoft Dynamics AX
Installation Guide 61
Microsoft Dynamics AX
6. In the Application Pool section, verify that Create new application pool and Configurable
are selected, and then enter the credentials for the application pool. The application pool
must use a domain account. Do not use the Business Connector proxy account for this
service. Leave all other default options on this page and click OK. The New Shared
Services Provider page opens.
7. Enter credentials for the SSP Service. The SSP Service must use a domain account. Do not
use the Business Connector proxy account for this service. Click OK.
8. After the shared service provider is successfully created, click OK.
Installation Guide 62
Microsoft Dynamics AX
6. On the Install files page, type the location or click Browse to navigate to the location where
you want to install the files for this component.
7. On the Select display language page, select the language in which you would like to first
run Microsoft Dynamics AX. If you later decide to change languages, you can modify the user
language within the client.
8. On the .NET Business Connector: Connect to AOS instance page, enter the name of the
computer running the AOS instance to connect to and then click Next. You can optionally
specify the AOS instance name and TCP/IP port number.
9. On the .NET Business Connector proxy account information page, enter the
domain\username and password for the .NET Business Connector proxy account. Click Next.
10. On the Role Centers and Enterprise Portal framework: Configure IIS page, select a Web
site.
We recommend selecting the Configure for Windows SharePoint Services option. If you
select this option, Setup sets the application pool to run under the Business Connector proxy
account, and sets the authentication method to Windows NTLM.
Select the Create Web site option to create a site at the following URL:
http://ServerName:Port/sites/DynamicsAX. By default, Setup creates a new site that uses
port 80. Click Next.
Note:
To change the URL, title, and description before completing the installation, specify
your changes in the EPSetupParams file: AOT>Web>Web Files>Static
Files>EPSetupParams.
11. On the Ready to install page, click Install.
If appropriate, select the option to restart IIS when the installation has completed. Before
selecting this option, consider the impact of an IIS reset on other applications on the Web
server.
Installation Guide 63
Microsoft Dynamics AX
Installation Guide 64
Microsoft Dynamics AX
8. In the Load Balanced URL section, enter the Web site URL. By default, the URL is
http://ServerName/sites/DynamicsAX.
9. In the Application Pool section, verify that Create new application pool is selected.
10. Select Predefined and verify that Network Service is the selected service in the list.
11. Leave the default settings for the remaining options on this page, and click OK.
Important:
If Setup prompts you to install IIS on this page, quit Setup and install IIS. After you
have installed IIS, restart Setup. For more information about installing IIS, see your
Windows documentation.
6. On the Install files page, type the location or click Browse to navigate to the location where
you want to install the files for this component.
7. On the Select display language page, select the language in which you would like to first
run Microsoft Dynamics AX. If you later decide to change languages, you can modify the user
language from within the client.
8. On the .NET Business Connector: Connect to AOS instance page, enter the name of the
computer running the AOS instance to connect to and then click Next. You can optionally
specify the AOS instance name and TCP/IP port number.
9. On the .NET Business Connector proxy account information page, enter the
domain\username and password for the .NET Business Connector proxy account. Click Next.
Installation Guide 65
Microsoft Dynamics AX
10. On the Role Centers and Enterprise Portal framework: Configure IIS page, select the
SharePoint - 80 Web application that you created in the previous procedure.
Select the Configure for Windows SharePoint Services option so that Setup sets the
application pool to run under the Business Connector proxy account and sets the
authentication method to Windows NTLM.
Select the Create Web site option to create a site at the following URL:
http://ServerName:Port/sites/DynamicsAX. Click Next.
On subsequent servers, clear these options. The site must be created on the Web farm
administration server only.
Note:
To change the URL, title, and description before completing the installation, specify
your changes in the EPSetupParams file: AOT>Web>Web Files>Static
Files>EPSetupParams.
11. On the Ready to install page, click Install. If appropriate, select the option to restart IIS
when the installation has completed. Before selecting this option, consider the impact of an
IIS reset on other applications on the Web server.
12. Repeat this procedure on every Web server in the server farm.
3. Edit the web.config files on the other servers in the Web farm. Replace the existing
machineKey values with the values that you copied from the Web farm administration server.
For more information about configuring machineKey properties, see How to: Configure
MachineKey in ASP.Net 2.0, and specifically read the section called "Web Farm Deployment
Considerations."
Installation Guide 66
Microsoft Dynamics AX
If you have not already done These extensions must be Reporting extensions
so, install the reporting installed so that users can view Analysis extensions
extensions and analysis reports on Enterprise Portal
extensions. pages and Role Centers.
Deploy and configure Role Required if your organization "Setting up and maintaining
Centers. or business plans to use Role Role Centers" in the System
Centers. and Application Setup Help,
which is available from the
Help menu in the Microsoft
Dynamics AX Windows client.
Add the Enterprise Portal Add the Enterprise Portal site Internet Explorer > Tools >
Web site to the list of Trusted to the list of Trusted Sites so Internet Options > Security
Sites in Microsoft Internet that Internet Explorer
®
Explorer on all Enterprise Enhanced Security
Portal client computers. Configuration does not prompt
users for credentials every time
they access the site.
Installation Guide 67
Microsoft Dynamics AX
WorkfIow
The Workflow system enables you to create individual workflows, or business processes. A
workflow defines how a document moves through the Microsoft Dynamics AX system by showing
who must process and approve it.
Workflow must be installed on a server running Microsoft Internet Information Services (IIS). We
recommend using a dedicated server, especially in a production environment.
Note:
Workflow is an intranet-only solution. Workflow should not be used in an extranet
environment.
Use the following topics to install Workflow:
Configure Workflow accounts
Install prerequisites on the Workflow Web server
Select a Web site for Workflow
Install Workflow
Add the Workflow Web site to the list of trusted sites
Set up the Workflow system
Installation Guide 68
Microsoft Dynamics AX
Workflow system account The Workflow Web server Select a domain account or a
uses this account to Microsoft Dynamics AX user in
communicate with Microsoft the System service accounts
Dynamics AX. form (Administration > Setup >
Security > System service
accounts).
If you select a domain account,
the domain account must:
Be a dedicated account
(used only for this purpose).
Have a password that does
not expire.
Have minimal access to
network resources.
Workflow execution account This account is used for Select a domain account or a
running application business Microsoft Dynamics AX user in
logic and accessing Microsoft the System service accounts
Dynamics AX data. form.
If you select a domain account,
the domain account must:
Be a dedicated account
(used only for this purpose).
Have a password that does
not expire.
Have minimal access to
network resources.
Installation Guide 69
Microsoft Dynamics AX
Note:
If the Web site you use for Workflow runs on a port other than port 80, you must add an
exception to Windows Firewall for that port. For more information about Windows
Firewall, see the Windows documentation.
Installation Guide 70
Microsoft Dynamics AX
Install Workflow
Use the following procedure to install Workflow. If you are installing other Microsoft Dynamics AX
components at the same time, the installation screens will vary based on the components you are
installing.
For information about the permissions you need to complete this procedure, see Rights required
for installation.
Note:
When you install Workflow, the Setup wizard must be able to connect to a base
installation of Microsoft Dynamics AX (application files, AOS, and database) on which the
initialization checklist has been completed. The following procedure assumes that you
are installing Workflow on a dedicated server where no other Microsoft Dynamics
AX components are installed.
Installation Guide 71
Microsoft Dynamics AX
5. On the Install files page, specify where you want the Workflow application files installed. You
can accept the default location or click Browse to select a different location. Click Next.
6. On the .NET Business Connector: Select a display language page, select the language in
which you would like to first run Microsoft Dynamics AX. Click Next.
For more information about installing the .NET Business Connector, see Install the .NET
Business Connector.
7. On the .NET Business Connector: Connect to AOS instance page, enter the name of the
AOS server. Click Next.
8. On the .NET Business Connector proxy account information page, enter the password
for the .NET Business Connector proxy account. Click Next.
9. On the Workflow: Configure IIS page, select the Web site you want to use for Workflow.
(For more information, see Select a Web site for Workflow.) Click Next.
The Microsoft Dynamics AX Setup wizard will:
Create a virtual directory for Workflow. The virtual directory, named
MicrosoftDynamicsAXWorkflow50, will be located under the selected Web site in IIS.
The content of the virtual directory will be located at \Program Files\Microsoft Dynamics
AX\50\Workflow.
Create an application pool for the virtual directory. The application pool, named
MicrosoftDynamicsAXWorkflow50, will run as the .NET Business Connector proxy
account.
10. On the Workflow: Specify an AOS account page, enter or select the account the AOS
instance is running as. If you have multiple AOS instances, specify the account for each
instance.
If an AOS instance is running as the Network Service account, format the account name in
the following way: Domain\ComputerName$
Click Next.
11. On the Ready to install page, select the check box if you want to restart IIS after Workflow is
installed.
Click Install.
12. When the installation is complete, click Finish to close the wizard.
Installation Guide 72
Microsoft Dynamics AX
Installation Guide 73
Microsoft Dynamics AX
Reporting extensions
Microsoft SQL Server Reporting Services is a solution that enables users to create and view
traditional, paper-based reports, as well as interactive, Web-based reports.
To integrate Microsoft Dynamics AX and Reporting Services, install the reporting extensions on a
server running Reporting Services. We recommend using a dedicated server, especially in a
production environment. (This documentation will refer to this server as the report server.)
After you install the reporting extensions, you will be able to deploy Microsoft Dynamics
AX default reports to Reporting Services.
Use the following topics to install the reporting extensions:
Install prerequisites on the report server
Configure Reporting Services
Configure Reporting Services on Windows Server 2008
Update the Reporting Services configuration file
Install the reporting extensions
Deploy reports
Set up the reports
Installation Guide 74
Microsoft Dynamics AX
Microsoft SQL Server Reporting Select the option to install Reporting Services when
Services running the SQL Server installation wizard. For detailed
installation instructions, see the SQL Server
documentation.
Note:
If you are installing Reporting Services on
Windows Server 2008, follow the installation
instructions in Microsoft Knowledge Base Article
#938245. (To view this article, go to
http://support.microsoft.com and search for article
938245.)
During installation, you must select a configuration mode.
The following configuration modes may be available to
you:
Install default configuration – If you install the
default configuration, the Reporting Services virtual
directories will be configured to run on port 80.
Install, but do not configure – If you do not install the
default configuration, you must manually configure
Reporting Services after the installation. For more
information, see Configure Reporting Services.
Windows SDK for Windows Server Download and install the Windows SDK for Windows
2008 and .NET Framework 3.5 Server 2008 and .NET Framework 3.5 from the Microsoft
Download Center (http://www.microsoft.com/downloads).
When installing the SDK, install the .NET Development
Tools. The other components in the SDK are not required.
Installation Guide 75
Microsoft Dynamics AX
Secure Sockets Layer (SSL) SSL is recommended, but not required, for the report
server. SSL is a protocol that allows Web servers and
clients to communicate more securely through the use of
encryption. When SSL is not used, data sent between the
client and server is vulnerable to observation by anyone
with physical access to the network.
To implement SSL, you must install a certificate and a
private encryption key on your report server. For more
information about implementing SSL, refer to the IIS
Operations Guide, which can be found by searching on
Microsoft TechNet (http://technet.microsoft.com).
Note:
If you implement SSL, you must update the
Reporting Services configuration file before you
install the reporting extensions. For more
information, see Update the Reporting Services
configuration file.
Installation Guide 76
Microsoft Dynamics AX
Note:
If the Reporting Services virtual directories run on the Default Web Site in IIS—
and you later install Windows SharePoint Services or Microsoft Office SharePoint
Server—the SharePoint installation program will stop the Default Web Site and
create a new site that runs on port 80. This means you will have to configure the
Default Web Site to run on a different port and restart the site.
Create a database for Reporting Services. By default, this database will be named
ReportServer.
Verify that Reporting Services is not configured to run in SharePoint integrated mode.
SharePoint integrated mode is not supported for use with Microsoft Dynamics AX.
Installation Guide 77
Microsoft Dynamics AX
Note:
To complete the procedures in this topic, you must have installed Reporting Services
according to the instructions in Microsoft Knowledge Base Article #938245. (To view this
article, go to http://support.microsoft.com and search for article 938245.)
Note:
If the .NET Business Connector proxy account is a domain account and your network
uses Kerberos authentication, users will receive authentication errors when trying to
access reports. To resolve this issue, see Set a Service Principal Name.
1. Open the Internet Information Services (IIS) Manager (Start > Administrative Tools >
Internet Information Services (IIS) Manager.)
2. In the console tree, right-click the Application Pools node and select Add Application
Pool. The Add Application Pool window is displayed.
3. In the Name field, enter AxReportServer.
4. From the Managed pipeline mode list, select Classic.
5. Click OK to create the application pool.
6. In the console tree, click the Application Pools node. A list of application pools is displayed.
7. Select the AxReportServer application pool.
8. In the Actions panel, click Advanced Settings. The Advanced Settings window is
displayed.
9. Select the Identity row. Click the expansion button (…) at the end of the row. The
Application Pool Identity window is displayed.
10. Select the Custom account option.
11. Click the Set button. The Set Credentials window is displayed.
12. In the User name field, enter the name of the .NET Business Connector proxy account. Enter
the account name in Domain\UserName format.
13. Enter and confirm the password of the .NET Business Connector proxy account.
Installation Guide 78
Microsoft Dynamics AX
Installation Guide 79
Microsoft Dynamics AX
Restart IIS
Complete the following procedure to restart IIS.
1. Click Start > Run. The Run window is displayed.
2. Enter iisreset and click OK.
Verify that you can connect to the Reporting Services virtual directories
Complete the following procedure to verify that you can connect to the Reporting Services virtual
directories.
1. Open Internet Explorer.
2. Enter the URL of the ReportServer virtual directory:
If you are using SSL on your report server, the URL is
https://ServerName:PortNumber/reportserver.
If you are not using SSL, the URL is http://ServerName:PortNumber/reportserver.
3. Enter the URL of the Reports virtual directory:
If you are using SSL on your report server, the URL is
https://ServerName:PortNumber/reports.
If you are not using SSL, the URL is http://ServerName:PortNumber/reports.
Installation Guide 80
Microsoft Dynamics AX
Note:
When you install the reporting extensions, the Setup wizard must be able to connect to a
base installation of Microsoft Dynamics AX (application files, AOS, and database) on
which the initialization checklist has been completed. The following procedure assumes
that you are installing the reporting extensions on a dedicated server where no other
Microsoft Dynamics AX components are installed.
Installation Guide 81
Microsoft Dynamics AX
7. On the .NET Business Connector: Connect to AOS instance page, enter the name of the
AOS server. Click Next.
8. On the .NET Business Connector proxy account information page, enter the password
for the .NET Business Connector proxy account. Click Next.
9. On the Reporting extensions: Select a Reporting Services instance page, select the
instance of Reporting Services that you want to use with Microsoft Dynamics AX.
If you are using Reporting Services on Windows Server 2003, the Configure IIS and Report
Server check box is available. Select this check box to configure IIS and Reporting Services
for use with Microsoft Dynamics AX. When you select this check box, the Setup program will:
Create an application pool in IIS called AxReportServer. This application pool will run as
the .NET Business Connector proxy account.
Note:
If the .NET Business Connector proxy account is a domain account and your
network uses Kerberos authentication, users will receive authentication errors
when trying to access reports. To resolve this issue, see Set a Service Principal
Name.
Configure the ReportServer virtual directory to use the AxReportServer application
pool.
Click Next.
10. On the Ready to install page, consider selecting the Restart IIS after installation is
completed check box.
You must restart IIS after installing the reporting extensions. However, you should restart IIS
when it will have the least amount of impact on other Web applications running on this server.
If you do not select the check box, you must restart IIS manually.
Click Install.
Installation Guide 82
Microsoft Dynamics AX
11. After the installation is complete, you must deploy the default reports that are included with
Microsoft Dynamics AX. You can deploy the reports now, or at a later time.
Deploy reports
Microsoft Dynamics AX includes many preconfigured reports that you must deploy to Reporting
Services. If you did not deploy these reports when installing the reporting extensions, you can
deploy them using the procedure below.
Complete the procedure on the report server.
1. Click Start > Programs > Microsoft Dynamics AX 2009 > Microsoft Dynamics AX 2009
Reports Deployment. The Microsoft Dynamics AX Reporting Project Deployment form
is displayed.
2. Select the reports you want to deploy. Click Next.
3. Verify that the connection string is correct. Click Next.
4. When the reports are deployed, click Finish.
If you receive errors when deploying the reports, see Troubleshoot installation issues.
Installation Guide 83
Microsoft Dynamics AX
Analysis extensions
Microsoft SQL Server Analysis Services is a server-based solution that provides online analytical
processing (OLAP) functionality. OLAP reports help users analyze business data and identify
trends that they might not otherwise discover when viewing data in traditional reports.
To integrate Microsoft Dynamics AX and Analysis Services, install the analysis extensions on a
server running Analysis Services. We recommend using a dedicated server, especially in a
production environment. (This documentation will refer to this server as the OLAP server.)
When you install the analysis extensions, a default OLAP database and cubes are deployed to
Analysis Services.
Use the following topics to install the analysis extensions:
Install prerequisites on the OLAP server
Install Analysis Management Objects on client computers
Install the analysis extensions
Configure Analysis Services
Set up the default cubes
Installation Guide 84
Microsoft Dynamics AX
Microsoft SQL Server Analysis Services Select the option to install Analysis Services
when running the SQL Server installation
wizard. For detailed instructions, see the SQL
Server documentation.
Microsoft SQL Server client tools Select the option to install the client tools when
running the SQL Server installation wizard. For
detailed instructions, see the SQL Server
documentation.
SQL Server Management Studio is installed
when you install the client tools. You will use
SQL Server Management Studio to administer
and process OLAP cubes.
For more information about the hardware and software requirements for Microsoft Dynamics AX,
see http://go.microsoft.com/fwlink/?LinkId=107378.
Note:
You do not need to install AMO on the OLAP server.
Installation Guide 85
Microsoft Dynamics AX
Note:
Before you can install the analysis extensions, the base components of Microsoft
Dynamics AX (application files, AOS, and database) must be installed in the
environment, and the initialization checklist must be completed. The following procedure
assumes that you are installing the analysis extensions on a dedicated server where no
other Microsoft Dynamics AX components are installed.
1. Start the Microsoft Dynamics AX Setup wizard.
2. Step through the initial wizard pages.
3. On the Select installation type page, select Custom installation. Click Next.
4. On the Select components page, select Analysis extensions. Click Next.
5. On the Select database type page, select the type of database that is used to store
Microsoft Dynamics AX data: Microsoft SQL Server or Oracle Database Server. Click Next.
6. On the Analysis extensions: Select an Analysis Services instance page, select the
instance of Analysis Services that you want to use with Microsoft Dynamics AX.
Select the Replace any existing Microsoft Dynamics AX online analytical processing
databases check box to overwrite any Microsoft Dynamics AX databases that exist on the
Analysis Services instance.
Click Next.
7. On the Ready to install page, click Install.
8. When the installation is complete, click Finish to close the wizard.
Installation Guide 86
Microsoft Dynamics AX
Installation Guide 87
Microsoft Dynamics AX
9. Click Test Connection to verify that you can connect to the Microsoft Dynamics AX OLTP
database.
10. Click OK to close the Connection Manager window.
11. Click OK to close the Data Source Properties - Dynamics Database window.
Note:
If you are using a 64-bit version of Oracle Database Server and a 64-bit version of
Analysis Services, you must install the 32-bit Oracle client on the OLAP server.
2. Create an Oracle Net Service to connect to the Microsoft Dynamics AX OLTP database.
The user account used by the Oracle Net Service must have read access to the Microsoft
Dynamics AX OLTP database.
Installation Guide 88
Microsoft Dynamics AX
11. Click OK to save your changes and close the Connection Manager window.
12. Click OK to close the Data Source Properties - Dynamics Database window.
Installation Guide 89
Microsoft Dynamics AX
Topic Description
Install Enterprise Portal developer tools Explains how to install the Enterprise Portal
developer tools.
These add-ons for Microsoft Visual Studio allow
developers to create new controls or modify
existing controls used in Enterprise Portal.
Installation Guide 90
Microsoft Dynamics AX
Next steps
The debugger uses a dynamically allocated TCP port. If Windows Firewall is enabled on the
computer, we recommend adding firewall exclusions for the AxDebug.exe application and its
target applications (for example, Ax32.exe and AxServ32.exe).
Installation Guide 91
Microsoft Dynamics AX
Note:
If Visual Studio is running, we recommend closing it before installing the Enterprise Portal
developer tools.
Installation Guide 92
Microsoft Dynamics AX
Next steps
After you install the reporting tools, you must configure the tools to work with Microsoft Dynamics
AX. For more information, see the Microsoft Dynamics AX SDK.
Installation Guide 93
Microsoft Dynamics AX
Installation Guide 94
Microsoft Dynamics AX
5. Select the type of database you're using: Microsoft SQL Server or Oracle Database
Server.
If you selected Microsoft SQL Server, type the SQL Server name, and then click Next.
Select Install new Team Server, type the Team Server database name, and then click
Next.
If you selected Oracle Database Server, type the TNS Service name, and then click
Next.
Type the Schema name and Password, and then click Next.
Type the Oracle Role name, and then click Next.
Note:
The wizard automatically adds the new Oracle role to the schema. To grant
developers access to the team server schema, you must add each developer's
computer to the new Oracle role.
6. Type the Team Server user group name. If you enter a group name that doesn't exist, Setup
will create a group for you. Click Next.
7. Click Install.
8. If you allowed Setup to create a user group for you, add all developer computers to the
group.
Installation Guide 95
Microsoft Dynamics AX
Topic Description
Install the .NET Business Explains how to install the .NET Business Connector for
Connector Microsoft Dynamics AX.
The .NET Business Connector enables other programs to
interact with an AOS instance. It is used by many Microsoft
Dynamics AX components, such as Enterprise Portal.
Install AIF Web services Contains instructions for installing the Application Integration
Framework (AIF) Web services.
AIF Web services make Microsoft Dynamics AX services
available to external systems for data exchange.
Install the BizTalk adapter Describes how to install the BizTalk adapter.
The BizTalk adapter enables the exchange of AIF messages
between Microsoft BizTalk Server and Microsoft Dynamics AX.
Install the synchronization proxy Explains how to install the Microsoft Office Project
for Microsoft Office Project synchronization proxy.
The synchronization proxy uses Windows Message Queuing
to connect the Microsoft Office Project synchronization service
and project data in Microsoft Dynamics AX.
Install the synchronization Contains instructions for installing the Microsoft Office Project
service for Microsoft Office synchronization service.
Project The synchronization service allows you to synchronize project
data in Microsoft Dynamics AX with data on a Microsoft Office
Project Server.
Installation Guide 96
Microsoft Dynamics AX
Installation Guide 97
Microsoft Dynamics AX
7. On the .NET Business Connector: Connect to AOS instance page, type the name of the
Application Object Server you want to connect to, and then click Next.
If you do not know the name of the Application Object Server, contact the Microsoft Dynamics
AX administrator.
8. Click Install to install the component.
Important:
If a malicious user learns the Business Connector proxy credentials (name and
password), that user could gain unauthorized access to sensitive information, and
potentially damage the Microsoft Dynamics AX application. For this reason, only
Microsoft Dynamics AX administrators should know the proxy credentials.
To set up and configure the Business Connector proxy, you must perform the following steps.
1. Create the proxy account in Active Directory.
2. Add the proxy account to the IIS local Windows group.
3. Configure the IIS application pool.
4. Install the .NET Business Connector.
5. Specify the Business Connector proxy user in Microsoft Dynamics AX.
Installation Guide 98
Microsoft Dynamics AX
Installation Guide 99
Microsoft Dynamics AX
Important:
If you select the Default Web Site in IIS—and you later install Windows
SharePoint Services or Microsoft Office SharePoint Server—the SharePoint
installation program will stop the Default Web Site and create a new site that runs
on port 80. This means you will have to configure the Default Web Site to run on
a different port and restart the site.
b. In the Application pool field, accept the default application pool name or type a new
application pool name. This is the application pool that IIS will use for the AIF application.
c. In the Virtual directory field, accept the default IIS virtual directory or type a new name
for the virtual directory. This virtual directory points to the content directory that contains
the AIF service files.
d. The read only Content directory field displays the directory where the generated service
artifacts are stored including the Web.config file. Setup creates the AIFWebServices
folder in the Microsoft Dynamics AX installation path and sets the content directory to this
path.
Click Next.
10. On the AIF Web services: Specify an AOS account page, enter or select the account the
AOS instance is running as. If you have multiple AOS instances, specify the account for each
instance.
If an AOS instance is running as the Network Service account, format the account name in
the following way: Domain\ComputerName$.
Click Next.
11. On the Ready to install page, click Install. Note that IIS will be restarted after the Web
services are installed.
Next steps
Installing AIF Web services is the first step in setting up document exchanges that use Web
services. The next step is to generate the Web services and configure the exchange. For more
information, see "Configuring document exchanges with Web services" in the Server and
Database Administration Help.
Troubleshooting
If you experience issues installing AIF Web services, see Troubleshoot installation issues.
4. On the Select components page, select Synchronization proxy (Project Server 2007).
5. If prompted, on the Synchronization proxy/Message Queuing: Enter the service account
information page, enter the domain user account that was set for the synchronization
service in the Microsoft Dynamics AX initialization checklist.
6. If prompted, on the Synchronization proxy: Connect to the synchronization service
page, enter the name of the computer where the synchronization service is installed.
Note:
If the message queue for the synchronization service is running on a different
computer than the synchronization service, enter the name of the server running
Message Queuing.
7. On the Synchronization proxy: Connect to Microsoft Office Project Server page, enter
the server name and database name used by the Microsoft Office Project Server for
reporting. In the Project web access URL box, enter the URL of the Web site used to
access Project. Click Next.
Note:
If the synchronization proxy must connect to multiple Project URLs, install the
synchronization proxy using the first URL, uninstall the synchronization proxy, and
then install the synchronization proxy again using a different URL. Uninstalling the
proxy does not affect the ability to synchronize with URLs that were specified during
previous installations.
8. Click Install.
6. On the Synchronization service: Select the installation type page, select the type of
synchronization support to install, and click Next.
For most installations, you will select Synchronization services and Message Queuing
(standard) to install and configure synchronization services and message queuing on the
same computer.
Select Message Queuing only or Synchronization services only when you are
installing a distributed system with message queuing on one computer and the
synchronization service on another.
7. On the Synchronization service: Enter the password for the service account page, enter
the password for the synchronization service account that you set up earlier, and click Next.
8. On the Specify the service accounts for synchronization message queues page, enter
the service accounts that need to communicate through message queues. For Setup to
configure the proper permissions, you must provide a domain account that will be used by the
Microsoft Office Project Server eventing service, as well as the service account of at least
one AOS instance. Then click Next.
9. Click Install.
Component Considerations
Database During initialization, you can import existing data into the
database.
Application files After installation, you can copy the modifications from an
existing application to a newly installed application. Copy
all files with the following extensions to the new location:
.add, .adi, .ahd, .ahi, .alc, .ald, .ali, .alt, .aod, .aoi, .khd,
.khi.
Note:
We recommend that you use Setup to install all
application files, rather than creating new
applications by copying the application file
directory and modifying it. Installing application
files using Setup ensures that files are in a
consistent location when Microsoft provides
updates.
Component Considerations
Components that require the .NET You can install only one instance of the .NET Business
Business Connector Connector on a computer. In an environment with multiple
AOS instances, use the Microsoft Dynamics AX
Configuration utility to make sure that the .NET Business
Connector on the local computer connects to the intended
AOS instance for the component you are installing.
In the Configuration Target list in the utility, choose
Business Connector (non-interactive use only). On the
Connection tab, verify that the correct AOS instance is
displayed.
For more information about using the Microsoft Dynamics
AX Configuration utility, click the Help button in the utility.
5. On the Install files page, type the location or click Browse to navigate to the location where
you want to install the Microsoft Dynamics AX files. Click Next.
Note:
By default, the files are installed to <Drive>:\Program Files\Microsoft Dynamics
AX\50.
6. Depending on the database type you selected, enter additional database information as
shown in the following table. Then click Next.
Create a SQL Server database On the Database: Create new SQL Server
database page, in the Server name box, type or
select the name of the SQL Server to connect to. In
the Database name box, type a name for the new
database.
Connect to an existing SQL Server On the AOS: Connect to a SQL Server database
database page, in the Server name box, type or select the
name of the SQL Server to connect to.
In the Database name box, type or select the name
of the database to which you want to connect.
7. On the Application files: Set an instance name page, enter a name for this instance of the
application files and then click Next. The location for the files is set to
InstallationPath\Application\Appl\instancename.
8. On the Application files: Select a country or region page, choose a country or region to
install and then click Next.
Regions provide country-specific tax and financial functionality. For more information, see
Choosing regional functionality.
9. On the AOS: Create an instance page, assign a name to the AOS instance, and optionally,
a TCP/IP port. The default port is 2712.
10. Optional: To send information to Microsoft about any fatal error in the AOS instance, select
Participate in error reporting.
Note:
This option applies only if you are installing on Windows Server 2003. If you are
installing on Windows Server 2008, you must use Server Manager to set error
reporting options.
If you enable error reporting, information is sent over a secure (https) connection to Microsoft,
where it is stored with limited access. Microsoft uses the reports only to improve Microsoft
Dynamics AX, and treats all information as confidential.
Click Next.
11. On the AOS: Select an account page, choose whether to use the Network Service account
of the local computer or a domain account to run the AOS service, and then click Next.
Setup configures permissions of the AOS account as follows:
Adds the AOS account to the database as a user, and makes it a member of the
db_ddladmin, db_datareader, and db_datawriter database roles.
Grants the user execute rights on the createserversessions and createusersessions
stored procedures.
Grants the AOS account Full Control permissions on the application files directory.
12. On the Client: Select a display language page, select the language to view the Microsoft
Dynamics AX client in and then click Next. If you later decide to use a different language, you
can modify the user settings in the client.
13. On the Client: Select Help languages page, select the languages to view Microsoft
Dynamics AX Help in and then click Next. We recommend that you install all the Help
languages required for the client during initial installation.
Note:
To view the Help in a different language, you can change the user settings in the
Microsoft Dynamics AX client. If you do not install the Help files for the languages you
need during initial installation, you can install additional Help files by running Setup
again, selecting the Client component, and then selecting any additional languages
you require.
14. On the Ready to install page, click Install. If you want the AOS service to start after it has
been installed, mark Start the AOS instance after installation is completed.
Note:
The AOS Windows service can take several minutes to start the first time after
installing. To determine whether it has started, go to Administrative tools >
Services, and review the status of the Dynamics AX Object
Server<$InstanceNumberAOSInstanceName> service.
Silent installation
When you run the Setup wizard, Setup is running in interactive mode. That is, a graphical user
interface (GUI) prompts you for required information. Alternatively, you can run Setup in silent
mode, with no GUI displaying. In this mode, required information is supplied at the command
prompt or in a parameter file. You can install any Microsoft Dynamics AX component in silent
mode.
Note:
A silent installation is especially useful when deploying a large number of clients. For
more information, see: Mass deployment of clients.
The same parameters are available whether you are entering them at the command prompt or
creating a parameter file. For information about individual parameters, see Setup parameters.
We recommend that you determine which parameters to use by running Setup in interactive
mode on a single computer and then reviewing the Setup log file, which is located at
C:\Documents and Settings\All Users\Application Data\Microsoft\Dynamics AX\Dynamics AX
Setup Logs\<Date Time>\DynamicsSetupLog.txt. The log lists the parameters that were used in
the installation.
Notes:
Do not include double quotation marks in parameter files. Because a line return is used
as a delimiter in a parameter file, values that otherwise require the use of double
quotation marks do not require them here.
To prevent a line in a parameter file from being read, type a number sign (#) before the
line. The line will be treated as a comment rather than a command or parameter.
2. Open a Command Prompt window.
3. At the command prompt, type the following information and press Enter:
<Path to DVD or shared directory>\Setup.exe ParmFile=<path to file\FileName.txt>
The path can be fully qualified or relative to the location of the Setup.exe file. Relative paths
can include upward qualifiers such as "..\..\".
HideUI=1
AcceptLicenseTerms=1
DbServerType=1
DbSqlServer=SQLServerName
DbSqlDatabaseName=DatabaseName
InstallApplication=1
ApplicationInstanceName=ApplicationInstanceName
InstallAos=1
AosInstanceName=AOSInstanceName
AosReportErrors=0
Test an installation
After installation and before configuring Microsoft Dynamics AX, test whether the installation is
functioning by performing the following steps.
1. Start all Application Object Server (AOS) instances.
2. Launch a client that is connected to each running AOS instance.
3. Test the security of your system:
Can an unauthorized user access application files?
Can an unauthorized user access the database computer?
Can an unauthorized user access the Enterprise Portal site?
Can an unauthorized user access the application integration site?
Validate that correct permissions are set on the reporting server data.
Validate that authorized users are allowed to print Microsoft Dynamics AX data.
Establish a procedure for monitoring logs for unusual activity.
Setup wizard
The following sections provide information to help you troubleshoot issues you may encounter
when running the Setup wizard.
Setup fails
If Setup fails, first refer to the setup log that is created each time Microsoft Dynamics AX is
installed.
1. Navigate to: \%AllUsersProfile%\Microsoft\Dynamics AX\Dynamics AX Setup Logs\Date
Time\DynamicsSetupLog.txt.
2. Find the error message returned by the failure. Review the information immediately following
the error message in the log for details.
Database
The following sections provide information to help you troubleshoot issues you may encounter
when installing the Microsoft Dynamics AX database.
Application files
The following sections provide information to help you troubleshoot issues you may encounter
when installing Microsoft Dynamics AX application files.
Client
The following sections provide information to help you troubleshoot issues you may encounter
when installing the Microsoft Dynamics AX Windows client.
User not recognized error when trying to start client after installing
The client returns a User not recognized error if you are not a user in the system. After
installation, the first person to start a client on a computer is set to be the administrative user. You
can determine whether someone has been set as the Microsoft Dynamics AX administrator by
querying the values in the userinfo table in the database. You can have the administrative user
add you as a user to the system, and then add you to the Administrators group. For more
information, see System and Application Setup help, available from the Microsoft Dynamics
AX Help menu.
Reporting extensions
The following sections provide information to help you troubleshoot issues you may encounter
when installing the reporting extensions and deploying reports.
Turn off the User Account Control feature in Windows Server 2008
If your report server is running the Windows Server 2008 operating system, you must turn off the
User Account Control feature to deploy reports. Use the following steps to turn off the User
Account Control feature:
1. Click Start > Settings > Control Panel.
2. Double-click User Accounts.
3. Click the Turn User Account Control on or off link.
4. Clear the Use User Account Control (UAC) to help protect your computer check box.
5. Click OK.
6. Restart the computer and follow the procedure in Deploy reports to deploy the default reports.
Note:
If the .NET Business Connector proxy account is a domain account and your network
uses Kerberos authentication, users will receive authentication errors when trying to
access reports. To resolve this issue, see Set a Service Principal Name.
1. Open the Internet Information Services (IIS) Manager (Start > Administrative Tools >
Internet Information Services (IIS) Manager.)
2. In the console tree, right-click the Application Pools node and click New > Application
Pool. The Add New Application Pool window is displayed.
Setup parameters
This section lists the parameters that can be used for a silent installation. You can install any
Microsoft Dynamics AX component in silent mode. For more information about installing using
parameters, see Silent installation.
General parameters
This table lists the parameters that control general setup behaviors such as setting a parameter
file, showing or hiding the Setup wizard, and identifying the location of all related files.
SetupLanguage Current Identifies the language that Setup will use when
language and displaying screens and writing log messages. The
culture specified format must be xx-YY, where the combination is
in Control Panel ANY valid .NET language-culture code. For more
information see: http://msdn2.microsoft.com/en-
us/library/system.globalization.cultureinfo.aspx. If
Setup is not translated into the specified language-
culture, Setup will select the nearest approximation.
LogDir See description Specifies where the log files for Setup and the
Windows installers are written.
By default, the log files are written to a folder that
includes the current date and time so that
subsequent installations do not overwrite previous
logs. The default path is:
C:\%AllUsersProfile%\Microsoft\Dynamics
AX\Dynamics AX Setup Logs\YYYY-MM-DD-
HH:MM-SS
Note:
When Setup writes log files to the default
location, it arranges them in dated folders
to protect against overwriting existing files.
If you override the default value, Setup
writes logs to precisely the folder you
specify. An existing log file in that folder will
be overwritten.
The path can be fully qualified or relative to the
location of the Setup.exe file. Relative paths can
include upward qualifiers such as "..\..\".
Note:
Do not include double quotation marks in
parameter files. Because a line return is
used as a delimiter in a parameter file,
values that otherwise require the use of
double quotation marks do not require them
here.
To prevent a line in a parameter file from being run,
type a number sign (#) before the line.
The path can be fully qualified or relative to the
location of the Setup.exe file. Relative paths can
include upward qualifiers such as "..\..\".
InstallPath %ProgramFiles Indicates the root path for all Microsoft Dynamics
%\ AX files installed on a computer.
Microsoft
Dynamics AX\50
InstallPath32Bit %ProgramFiles Indicates the root path for all 32-bit Microsoft
%\ Dynamics AX files installed on a computer. This
Microsoft parameter is used only when installing on a 64-bit
Dynamics AX\50 operating system.
Database parameters
This table lists the parameters that control how Setup interacts with the Microsoft Dynamics AX
database.
Note:
This parameter does not
delete and recreate the
folder; it only deletes all files
in the folder so that any
rights set on the folder are
retained.
Note:
The ApplicationRegion
parameter controls only which
application files to install. The
initial language of the client is
controlled by the ClientLanguage
parameter, and Help files are
controlled by the
ClientHelpLanguages parameter.
AosInstanceName Value specified for Specifies the name of the instance. The
ApplicationInstance name must be unique.
Name parameter. This parameter is required if InstallAOS is
set to 1.
AosApplicationPath Value specified for Indicates the path to the application that the
InstallPath AOS should use.
parameter if See the description of the
InstallApplication is ApplicationInstanceName parameter for
set to 1; otherwise more information.
blank.
AosAccount None when using Specifies the account that the AOS
the Setup wizard; Windows Service runs as.
when installing The AOS uses this account to connect to
silently, the AOS the Microsoft Dynamics AX database and to
service uses the access the application files.
Network Service
If you specify an account, the value must be
account by default.
in the format domain\account.
You cannot specify your own account or a
local computer account.
AosPort See description Specifies the TCP/IP port number that the
AOS uses and that the client or Business
Connector sends requests through.
This parameter must be a numeric value
from 1 to 65535.
The default port for the AOS is 2712.
The default in the client or Business
Connector configuration is an empty string,
which causes Microsoft Dynamics AX to use
port 2712.
Client parameters
This table lists the parameters that control how Setup installs and removes the client and client
options. You can use Setup.exe and setup parameters to perform mass deployments of clients.
For more information, see: Mass deployment of clients.
ClientAosServer See description Specifies the computer that hosts the AOS
instance. Use one of the following formats:
AosInstanceName@ComputerName:Port
AosInstanceName@ComputerName
ComputerName:Port
ComputerName
If InstallAos is set to 1, the local computer
name is used. If specifying multiple AOS
instances, use a semicolon (;) between
values.
This parameter is recognized only if
InstallNetBusinessConnector or
InstallClientUI is also used.
This parameter is ignored if a client or
Business Connector has already been
installed on the computer. This parameter is
required in all instances in which it can be
recognized.
AifWebServicesWebSite When installing Specifies the Web site the AIF Web services
using the Setup virtual directory should be installed on.
wizard, the first Web
site; no default
during silent
installation.
Note:
The spelling of built-in accounts
must match that used by the
language version of the operating
system.
Workflow parameters
This table lists the parameters that control how Setup installs and removes Workflow.
WorkflowWebSite When using the Setup Indicates the Web site the Workflow
wizard, the first Web virtual directory should be installed on.
site.
No default during silent
installation.
Note:
The spelling of built-in accounts
must match that used by the
language version of the
operating system.
Note:
The spelling of built-in accounts
must match that used by the
language version of the operating
system.
EnterprisePortalWebSite When installing Specifies the Web site on the local computer
using the Setup to configure for Role Centers and the
wizard, the first Web Enterprise Portal framework. This parameter
site; no default is required if InstallEnterprisePortal=1.
during silent
installation.
Debugger parameters
This table lists the parameters that control how Setup installs and removes the Microsoft
Dynamics AX Debugger.
AnalysisServicesInstance First SQL Server Specifies the SQL Server Analysis Services
Analysis Services instances to configure. This parameter is
instance required if more than one Analysis Services
instance is installed on a computer.