Ax Installation Guide
Ax Installation Guide
Microsoft Dynamics AX 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. U.S. and Canada Toll Free 1-888-477-7989 Worldwide +1-701-281-6500 www.microsoft.com/dynamics This document is provided "as-is." Information and views expressed in this document, including URL and other Internet website references, may change without notice. You bear the risk of using it. Some examples depicted herein are provided for illustration only and are fictitious. No real association or connection is intended or should be inferred. This document does not provide you with any legal rights to any intellectual property in any Microsoft product. You may copy and use this document for your internal, reference purposes. You may modify this document for your internal, reference purposes. 2012 Microsoft Corporation. All rights reserved. Microsoft, Microsoft Dynamics, Active Directory, Excel, MSDN, SharePoint, SQL Server, Visual Studio, Windows, Windows PowerShell, Windows Server, and Windows Vista are trademarks of the Microsoft group of companies. All other trademarks are property of their respective owners.
Microsoft Dynamics AX
Table of Contents
Check for updated installation instructions ............................................................................................................................... 6 Prepare for the installation ............................................................................................................................................................... 7 Overview of the installation ......................................................................................................................................................... 8 What's New: Installation ........................................................................................................................................................... 8 Servers in the Microsoft Dynamics AX environment .................................................................................................. 10 Microsoft Dynamics AX components ............................................................................................................................... 12 Installation types ....................................................................................................................................................................... 15 Before you begin ........................................................................................................................................................................... 16 Pre-installation checklist ........................................................................................................................................................ 16 Create service accounts .......................................................................................................................................................... 17 Create a shared directory for installation ........................................................................................................................ 19 Include service packs and updates in a new installation (slipstreaming) ........................................................... 20 Verify that you have the required permissions for installation .............................................................................. 21 Check prerequisites .................................................................................................................................................................. 23 Install the Microsoft Dynamics AX databases ........................................................................................................................ 26 Install server and web server components .............................................................................................................................. 32 Install an Application Object Server (AOS) instance ....................................................................................................... 33 Install an AOS instance ........................................................................................................................................................... 33 Install multiple AOS instances ............................................................................................................................................. 36 Troubleshoot installation issues with AOS ..................................................................................................................... 37 Install Enterprise Portal ............................................................................................................................................................... 38 Checklists for deploying Enterprise Portal sites............................................................................................................ 38 Checklist: Deploy an internal Enterprise Portal site that has Role Centers.................................................... 38 Checklist: Deploy an employee self-service portal ................................................................................................. 40 Checklist: Deploy a vendor self-service portal .......................................................................................................... 42 Install Enterprise Portal (EP) .................................................................................................................................................. 44 Install Enterprise Portal Help content ............................................................................................................................... 47 Install multiple instances of Enterprise Portal on the same server ....................................................................... 48 Install Search ................................................................................................................................................................................... 50 Checklist: Deploy Microsoft Dynamics AX Enterprise Search ................................................................................. 50 Configure the Search Crawler account ............................................................................................................................. 51 Configure SharePoint Services logging ........................................................................................................................... 51 Install Microsoft Dynamics AX Enterprise Search ........................................................................................................ 52 Configure Enterprise Search by using the Search Configuration wizard ............................................................ 54 Install help server .......................................................................................................................................................................... 56 Before you install the help server ....................................................................................................................................... 56 Install the help server .............................................................................................................................................................. 57
Microsoft Dynamics AX
Install business intelligence components ................................................................................................................................ 59 Install Reporting Services extensions .................................................................................................................................... 60 Checklist: Install the Reporting Services extensions and deploy reports ........................................................... 60 Before you install the Reporting Services extensions ................................................................................................ 61 Install the Reporting Services extensions ........................................................................................................................ 63 Complete the Reporting Services integration ............................................................................................................... 65 Deploy the default reports ............................................................................................................................................... 65 Assign users to the DynamicsAXBrowser role .......................................................................................................... 66 Configure Analysis Services ...................................................................................................................................................... 68 Checklist: Configure Analysis Services and deploy cubes ........................................................................................ 68 Before you configure Analysis Services ........................................................................................................................... 69 Configure Analysis Services by running Setup .............................................................................................................. 70 Complete the Analysis Services integration process .................................................................................................. 71 Install client components ............................................................................................................................................................... 72 Install the Microsoft Dynamics AX client ............................................................................................................................. 73 Install a client .............................................................................................................................................................................. 73 Mass deployment of the Microsoft Dynamics AX Windows client ....................................................................... 75 Deploy the client by using Microsoft System Center Configuration Manager ............................................ 75 Deploy the client by using Group Policy ..................................................................................................................... 82 Configure clients to use a shared configuration .......................................................................................................... 85 Install Office Add-ins ................................................................................................................................................................... 87 Install Remote Desktop Services integration ..................................................................................................................... 89 Troubleshoot installation issues with client components ............................................................................................. 90 Install developer tools ..................................................................................................................................................................... 91 Install the debugger ..................................................................................................................................................................... 92 Install Visual Studio Tools .......................................................................................................................................................... 93 Install the Trace Parser ................................................................................................................................................................ 95 Troubleshoot installation issues with the developer tools ........................................................................................... 97 Install integration components .................................................................................................................................................... 98 Install web services on IIS .......................................................................................................................................................... 99 Install the .NET Business Connector .................................................................................................................................... 103 Install the synchronization proxy for Microsoft Project Server ................................................................................. 105 Install the synchronization service for Microsoft Project Server .............................................................................. 107 Install management utilities ........................................................................................................................................................ 109 Install retail components .............................................................................................................................................................. 111 Install Retail Headquarters ...................................................................................................................................................... 112 Install Retail POS (point of sale) ............................................................................................................................................ 113 Install Retail Store Connect ..................................................................................................................................................... 114 Install the Retail Transaction Service ................................................................................................................................... 115 Install the Retail Store Database Utility .............................................................................................................................. 116 Install Retail POS Plug-Ins ....................................................................................................................................................... 117 Microsoft Dynamics AX 2012 Installation Guide
Microsoft Dynamics AX Install the RapidStart Connector ............................................................................................................................................... 118 Perform a single-computer installation of Microsoft Dynamics AX ............................................................................ 120 Perform a single-computer installation ............................................................................................................................. 120 Considerations for installing multiple instances on a computer.............................................................................. 121 Install Microsoft Dynamics AX in silent mode ..................................................................................................................... 123 Run Setup in silent mode ......................................................................................................................................................... 123 Firewall settings for Microsoft Dynamics AX components ............................................................................................. 125 Troubleshoot the installation...................................................................................................................................................... 127 Troubleshoot general installation issues ........................................................................................................................... 127 Troubleshoot prerequisite issues .......................................................................................................................................... 130
Microsoft Dynamics AX
Microsoft Dynamics AX
Microsoft Dynamics AX
Microsoft Dynamics AX
Microsoft Dynamics AX
10
Microsoft Dynamics AX
11
Microsoft Dynamics AX
Databases
Databases include the Microsoft Dynamics AX database and the baseline database. The AOS connects to the Microsoft Dynamics AX database to process transactions, and to display forms and reports from the model store. The baseline database contains a model store that is used to upgrade X++ code to Microsoft Dynamics AX 2012. The model store is also used to analyze application updates before they are applied. For information about how to install the databases, see Install the Microsoft Dynamics AX databases.
Server components
Server components include AOS and the Microsoft Dynamics AX components that run on Internet Information Services (IIS). For information about how to install one of the server components, click the corresponding link in the following table.
Component Application Object Server (AOS) Enterprise Portal for Microsoft Dynamics AX (web server) Enterprise Search (web server) Help Server (web server) More information Install an Application Object Server (AOS) instance Install Enterprise Portal Install Search Install help server
12
Microsoft Dynamics AX
Client components
Client components give users access to Microsoft Dynamics AX data and functionality. For information about how to install one of the client components, click the corresponding link in the following table.
Component Microsoft Dynamics AX Windows client Microsoft Office Add-ins Remote Desktop Services integration More information Install the Microsoft Dynamics AX client Install Office Add-ins Install Remote Desktop Services integration
Developer tools
Developer tools are used to customize Microsoft Dynamics AX. For example, you can create customizations or extensions to Enterprise Portal, or you can create advanced production reports for Microsoft Dynamics AX by using Reporting Services. For information about how to install one of the developer tools, click the corresponding link in the following table.
Component Debugger Visual Studio Tools Trace Parser More information Install the debugger Install Visual Studio Tools Install the Trace Parser
13
Microsoft Dynamics AX
Integration components
Integration components enable integration between Microsoft Dynamics AX and external applications. For information about how to install one of the integration components, click the corresponding link in the following table.
Component Web services on IIS .NET Business Connector More information Install web services on IIS Install the .NET Business Connector Note: .NET Business Connector is installed automatically when Microsoft Dynamics AX components that require it are installed. Synchronization proxy for Microsoft Project Server Install the synchronization proxy for Microsoft Project Server Synchronization service for Microsoft Project Server Install the synchronization service for Microsoft Project Server
Management utilities
Management utilities let you configure and manage Microsoft Dynamics AX components and artifacts, such as reports and web controls, from the metadata store. For information about how to install management utilities, see Install management utilities.
Retail components
Microsoft Dynamics AX for Retail provides mid-market and large retailers a complete head office and point of sale (POS) solution. It can help retailers increase financial returns, improve service, manage growth, and streamline efficiencies. Microsoft Dynamics AX for Retail consists of several components that are typically distributed across multiple computers and locations. For more information about how to install retail components, see Install retail components.
14
Microsoft Dynamics AX
Installation types
Two types of installation are available from the Setup wizard: Custom installation and Single-computer installation.
Custom installation
Select Custom installation to install specific Microsoft Dynamics AX components on multiple computers. Use this type of installation in a production environment.
Single-computer installation
Select Single-computer installation to install a complete Microsoft Dynamics AX system on one computer. Setup uses default settings to configure all components, and new Microsoft Dynamics AX databases are created. User names and passwords are the only input that is required. If you want to connect to an existing database or specify other custom settings, you must perform a custom installation. Important: Do not perform a single-computer installation in a production environment. Use this type of installation only for development and testing. A single-computer installation includes the following components: Databases Application Object Server (AOS) Enterprise Portal Help server Reporting Services extensions Analysis Services configuration Client Office add-ins Remote Desktop Services integration Debugger Visual Studio Tools Trace Parser .NET Business Connector Management utilities
15
Microsoft Dynamics AX
Pre-installation checklist
Before you install Microsoft Dynamics AX, you must plan the implementation and complete the preinstallation tasks that are listed in the following table.
Task 1. Plan the deployment of Microsoft Dynamics AX. 2. Look for updated installation documentation for Microsoft Dynamics AX 2012 on the web. 3. Review the system requirements. Important: If you plan to upgrade the operating system, you must perform the upgrade before you install Microsoft Dynamics AX. If you upgrade the operating system after Microsoft Dynamics AX has been installed, you may experience problems. For example, instances of Application Object Server (AOS) may not start, or registry entries may be deleted. 4. Create service accounts that Windows services can run as. For example, you must create accounts to run Microsoft Dynamics AX services and Microsoft SQL Server services. 5. Copy the DVD contents to a shared directory. 6. Obtain product updates, and copy them to the installation directory for Microsoft Dynamics AX. 7. Make sure that your domain account has the appropriate permissions to perform the installation. 8. Verify that prerequisites have been met. Create a shared directory for installation Include service packs and updates in a new installation (slipstreaming) Verify that you have the required permissions for installation Check prerequisites Create service accounts System requirements on the web (PDF download) More information Implementation Planning Guide (PDF download) Installation Guide (PDF download)
16
Microsoft Dynamics AX
If you are using Windows Server 2008 R2 or a later version of Windows Server, you can use managed service accounts. For more information, see the Service Accounts Step-by-Step Guide on TechNet.
17
Microsoft Dynamics AX
Account
Description
Configuration procedure
The account that the .NET Business Connector runs as. This account is used to connect to the AOS on behalf of a Microsoft Dynamics AX user, but without granting that user excessive privileges in the system. Note: This account must not be a Microsoft Dynamics AX user.
The account that Enterprise Search runs as. This account is used by the Microsoft SharePoint Indexing Service to crawl Microsoft Dynamics AX data. This account must be assigned to the Search crawler security role in Microsoft Dynamics AX. We recommend that you configure this account so that it has no local logon rights.
Select this account when you run the Setup wizard to install Enterprise Search. For more information, see Install Microsoft Dynamics AX Enterprise Search. Use the Assign users to roles form to assign this account to the Search crawler security role.
The account that the Microsoft Project Server synchronization service runs as. We recommend that you configure this account so that it has no local logon rights.
Select this account in the System service accounts form. For more information, see Install the synchronization service for Microsoft Project Server.
The account that the RapidStart Connector Windows service runs as.
Select this account when you run the Setup wizard to install the RapidStart Connector. For more information, see Install the RapidStart Connector.
18
Microsoft Dynamics AX
19
Microsoft Dynamics AX Before you install Microsoft Dynamics AX, follow these steps to create a shared directory for the contents of the DVD. 1. 2. Create a directory that is named DynamicsAX6. Share the DynamicsAX6 directory: Give the Administrator group full control, or owner access. Give the Everyone group read access.
As a security best practice, we recommend that you prevent users from making changes to this directory. Only read access is required to perform an installation from the directory. 3. 4. Copy the contents of the Microsoft Dynamics AX DVD to the DynamicsAX6 directory. Copy the installation files for service packs or updates to the directory.
Individual hotfixes cannot be included in the slipstreaming process. Use the following procedure to include service packs and updates in the installation. 1. 2. To find service packs and updates, visit the CustomerSource website. Logon is required. Browse to the shared network folder from which you install Microsoft Dynamics AX. In the Updates folder, create a subfolder for each update. We recommend that you use the Knowledge Base article numbers of the updates as the names of the subfolders. For example, for the update that is associated with Knowledge Base article number 123456, create a subfolder that is named KB123456.
20
Microsoft Dynamics AX If you use the Updates folder to deploy model files that contain customizations from independent software vendors (ISVs), create a subfolder for each ISV. In the folder for each ISV, create a subfolder that is named Models. For example, the folder structure might be Updates\<ISVName>\Models. Note: For more information about how to install Microsoft Dynamics AX from a shared network folder, see Create a shared directory for installation. 3. 4. Extract each update into the appropriate subfolder. Run Setup and select the components that you want to install. To install updates for Help content, you must select the Help Server component, and then select the updated content sets on the Language and content selection page. To install additional model files, you must select the Databases component, and then select the additional model files on the Select additional models page. 5. Setup detects and installs the updates.
21
Microsoft Dynamics AX
Component
Membership in the System administrator role in Microsoft Dynamics AX Membership in the Administrators group in Windows on the web server Membership in the Farm Administrators group in Microsoft SharePoint 2010 products Membership in the dbcreator role on the instance of SQL Server that is used for SharePoint 2010 products Membership in the WSS_Content_Application_Pools database role in the SharePoint_Config database
Enterprise Search
Membership in the System administrator role in Microsoft Dynamics AX Membership in the Administrator group in Microsoft SharePoint Services Membership in the dbcreator role on the instance of SQL Server that is used for Microsoft SharePoint Services
Help server
Microsoft SQL Server Reporting Services extensions Microsoft SQL Server Analysis Services configuration
Membership in the System administrator role in Microsoft Dynamics AX Membership in the System administrator role in Microsoft Dynamics AX Membership in the SQL Server securityadmin server role Membership in the SQL Server db_owner database role for the Microsoft Dynamics AX database
Client Microsoft Office add-ins Remote Desktop Services integration Debugger Visual Studio Tools Trace Parser Web services on Internet Information Services (IIS) .NET Business Connector
None None None None None None Membership in the System administrator role in Microsoft Dynamics AX None
22
Microsoft Dynamics AX
Component
Synchronization proxy
Membership in the dbowner database role in the SQL Server database for Microsoft Project Server Membership in the System administrator role in Microsoft Dynamics AX
Synchronization service
Management utilities Retail Headquarters Retail POS Retail Store Connect Retail Transaction Service Retail Store Database Utility Retail POS Plug-Ins RapidStart Connector
Check prerequisites
Run the prerequisite validation utility for Microsoft Dynamics AX to determine whether a computer meets the requirements to install a Microsoft Dynamics AX component. You can run the utility before you install any components in your environment. If requirements are not met, the utility helps you install or configure most prerequisites. Additionally, you can view or print a report that shows the results of the prerequisite validation. Prerequisite validation is also built into Setup. Therefore, the same prerequisites are validated when you install a component by using the Setup wizard. Note: The prerequisite validation utility validates the software prerequisites that Microsoft Dynamics AX depends on. However, the utility does not verify whether Microsoft Dynamics AX components that are also required are installed or configured. For example, the utility verifies whether a supported version of Windows is installed, but does not verify whether an Application Object Server (AOS) is running in the environment. Prerequisite Microsoft Dynamics AX components are validated when you run Setup. To review the hardware and software requirements for Microsoft Dynamics AX, see the system requirements.
23
Microsoft Dynamics AX Use the following procedure to run the prerequisite validation utility. 1. 2. Start Microsoft Dynamics AX Setup. Under Prepare, click Validate system requirements. Note: To avoid errors, run only one instance of the utility at a time. 3. 4. The Prerequisite validation page is displayed. Select the components that you plan to install on the local computer, and then click Next. The Prerequisite validation results page is displayed. Each prerequisite is assigned one of the following statuses.
Status Success Description The local computer meets the prerequisite.
Error
The local computer does not meet the prerequisite. You cannot install the component until this prerequisite is installed or configured.
Warning
The local computer does not meet the prerequisite, but you can still install the Microsoft Dynamics AX component.
For more information about a prerequisite, click its status. For information about all the prerequisites that were validated, click View report to display the Microsoft Dynamics AX Prerequisite check report. Both options provide a description of the prerequisite, the validation status, and recommendations for resolving any problems.
24
Microsoft Dynamics AX 5. Resolve prerequisite issues. For many errors and warnings, the prerequisite validation utility can attempt to resolve the issue for you. If a link is available in the Download column, click it to download and install the missing prerequisite. Internet access is required to download some prerequisites that are not included on the installation media. In some cases, the download starts immediately when you click the link. In other cases, a download page is displayed when you click the link. Note: If network or computer security prevents a prerequisite from being downloaded from the utility, you must download the prerequisite by using another method. Click the Error link on the prerequisite validation page to obtain the download URL. If a check box is available in the Configure column, select it, and then click the Configure button to resolve the issue.
Some prerequisites depend on other prerequisites. In these cases, the prerequisites must be installed or configured in a specific order. For example, the Windows Search Service must be installed before it can be started. 6. 7. After you have resolved prerequisite issues, click Revalidate to run the prerequisite validation again. When you have finished validating prerequisites, click Close. Important: Prerequisite software that is installed or configured by the prerequisite validation utility may not include the latest updates. We strongly recommend that you run Windows Update to identify and install the latest updates before you continue with the installation of Microsoft Dynamics AX.
See Also
Troubleshoot prerequisite issues
25
Microsoft Dynamics AX
Microsoft Dynamics AX Use the information in this section to familiarize yourself with the default models, and to include additional models in the installation, if necessary.
Default models
By default, the models in the following table are available in Setup.
Model Foundation Description The base Microsoft Dynamics AX model, which contains the application framework and the application foundation. This model also contains functionality for the discrete manufacturing industry. This model is required. Update for Foundation Cumulative update for the Foundation model. If you selected to install the Foundation model, this model is installed automatically. Note: This model is available in the Setup wizard only if you are installing Microsoft Dynamics AX 2012 Feature Pack. Foundation Upgrade The model that is used to upgrade from Microsoft Dynamics AX 2009 or Microsoft Dynamics AX 4.0. Update for Foundation Upgrade Cumulative update for the Foundation Upgrade model. If you selected to install the Foundation Upgrade model, this model is installed automatically. Note: This model is available in the Setup wizard only if you are installing Microsoft Dynamics AX 2012 Feature Pack. Foundation Labels Application labels for the foundation model. This model includes labels for the following languages: Danish (Denmark) German (Germany, Austria, and Switzerland) French (France, Canada, Belgium, and Switzerland) Dutch (Netherlands and Belgium) English (Canada, Ireland, Malaysia, New Zealand, Singapore, United Kingdom, United States, Australia, and South Africa) Spanish (Spain, Mexico) Italian (Italy, Switzerland)
27
Microsoft Dynamics AX
Description Application labels for the foundation model. These labels are for languages that were released after Microsoft Dynamics AX 2012 was made generally available. This model includes labels for the following languages: Icelandic (Iceland) Norwegian Bokmal (Norway) Finnish (Finland) Swedish (Sweden) Arabic (Saudi Arabia) Thai (Thailand) Note: This model is available in the Setup wizard only if you are installing Microsoft Dynamics AX 2012 Feature Pack.
SYP labels
Cumulative update of labels that were added by software updates in the SYP layer. Note: This model is available in the Setup wizard only if you are installing Microsoft Dynamics AX 2012 Feature Pack.
Extensions
Microsoft Dynamics AX extensions for the following industries: Process Manufacturing - Process manufacturing production and logistics for Microsoft Dynamics AX. Allows you to manage production, inventory, and costs in a process-controlled environment, such as in the food, chemical, and pharmaceutical industries. Public Sector - Addresses the special controls, rules, and regulations of Public Sector organizations. Project Management Allows you to invoice customers for various billing scenarios, such as billing per unit of delivery and billing when a milestone is completed. You can also create customer and vendor retentions, and manage workers on projects. Retail - Provides mid-market and large retailers a complete head office and point of sale (POS) solution. This model is required if you have selected to install Retail components. Note: This model is available in the Setup wizard only if you are installing Microsoft Dynamics AX 2012 Feature Pack.
28
Microsoft Dynamics AX
Description The model that is used to upgrade Process Manufacturing, Public Sector, Project Management, or Retail from Microsoft Dynamics AX 2009 or Microsoft Dynamics AX 4.0. Note: This model is available in the Setup wizard only if you are installing Microsoft Dynamics AX 2012 Feature Pack.
Process Manufacturing
Note: If you are installing Microsoft Dynamics AX 2012 Feature Pack, the Extensions model replaces this model. The model that contains features for Process manufacturing production and logistics for Microsoft Dynamics AX. You can use these features to manage production, inventory, and costs in a process-controlled environment, such as in the food, chemical, and pharmaceutical industries.
Note: If you are installing Microsoft Dynamics AX 2012 Feature Pack, the Extensions Upgrade model replaces this model. The model that is used to upgrade Process manufacturing production and logistics from Microsoft Dynamics AX 2009 or Microsoft Dynamics AX 4.0.
Public Sector
Note: If you are installing Microsoft Dynamics AX 2012 Feature Pack, the Extensions model replaces this model. The Public Sector model for Microsoft Dynamics AX. This model addresses the special controls, rules, and regulations of Public Sector organizations.
Project Management
Note: If you are installing Microsoft Dynamics AX 2012 Feature Pack, the Extensions model replaces this model. The model that contains additional project-related features for Microsoft Dynamics AX. You can use these features to invoice customers for various billing scenarios, such as billing per unit of delivery and billing when a milestone is completed. You can also use these features to create customer and vendor retentions, and to manage workers on projects.
29
Microsoft Dynamics AX
Description Note: If you are installing Microsoft Dynamics AX 2012 Feature Pack, the Extensions Upgrade model replaces this model. The model that is used to upgrade Project Management from Microsoft Dynamics AX 2009 or Microsoft Dynamics AX 4.0.
3.
4. 5. 6.
30
Microsoft Dynamics AX 7. 8. On the Select databases page, select whether you want to create new databases by using Setup, or whether you want to configure existing databases that you created manually. If you want Setup to create the databases, on the Create new databases page, in the Server name list, select the name of the computer that runs SQL Server. Provide database names or accept the default database names. By default, the transaction database is named MicrosoftDynamicsAX. The baseline database is optional. By default, the baseline database is named MicrosoftDynamicsAX_baseline. If you created the databases manually, on the Configure existing databases page, select the name of the computer that runs SQL Server, and then select the names of the existing databases that you want to configure. Important: The database name must not include any spaces or any of the following characters: backslashes (\), slashes (/), periods (.), commas (,), colons (:), brackets ([ ]), parentheses (( )), or hyphens (-). For more information about characters that are allowed by SQL Server, see the Identifiers topic on MSDN. Click Next. 9. On the Select additional models page, select models in the Available Models list. Setup lists all the models that are contained in the Models folder and its subfolders. Required models are selected by default, and you cannot clear the selection. Security Note: You may have models, or .axmodel files, that are not electronically signed. The Setup program cannot verify the publisher of an unsigned model file. If you import an unsigned model file into the model store, you create a security risk. Setup displays an error message if a selected model file does not have a digital signature. Before you decide whether you want to continue or cancel the installation, carefully review the models that you have selected. If you install the Process Manufacturing, Public Sector, Project Management, or Extensions model, you must complete the Compile application task when you run the initialization checklist. If you do not complete the Compile application task, you encounter errors when you run the Synchronize database task in the initialization checklist. For more information about the initialization checklist, see Initialize Microsoft Dynamics AX. Click Next to continue. 10. On the Prerequisite validation results page, resolve any errors. When no errors remain, click Next. 11. On the Ready to install page, click Install. 12. After the installation is completed, click Finish to close the wizard.
31
Microsoft Dynamics AX
32
Microsoft Dynamics AX
Microsoft Dynamics AX of your business name, the Microsoft Dynamics AX version, a code that describes the purpose of the installation, and an identifier for the AOS instance. The instance name must not include any blank characters or any of the following characters: ampersand (&), backslash (\), slash (/), colon (:), brackets ([]), parentheses (()), angle brackets (<>), quotation marks (), question mark (?), exclamation point (!), asterisk (*), percent (%), caret (^), or pipe (|). You must install an initial AOS instance and complete the Initialization checklist on that instance before you install additional AOS instances. If you install additional AOS instances before you have completed the Initialization checklist those AOS instances will not start. For more information about how to install additional AOS instances, see Install multiple AOS instances.
4. 5. 6. 7. 8.
34
Microsoft Dynamics AX 9. On the Configure an Application Object Server (AOS) instance page, assign a name to the AOS instance. Optionally, you can specify the ports that are listed in the following table.
Port TCP/IP port Purpose Used by other Microsoft Dynamics AX components to communicate with AOS. Services WSDL port Used by external applications to access the WSDL for AOS-based Microsoft Dynamics AX web services. Services endpoint port Used by external applications to access AOS-based Microsoft Dynamics AX web services. 8201 8101 Default 2712
10. On the Specify an AOS account page, select the Network Service account of the local computer, a managed service account, or a domain account for the AOS service. If you select to use a managed service account, make sure to specify the account in the format Domain\AccountName$. Setup grants the following permissions for the AOS account: The AOS account is added to the database as a user, and is made a member of the db_ddladmin, db_datareader, and db_datawriter database roles. The user is granted execute rights to the createserversessions and createusersessions stored procedures.
11. On the Prerequisite validation results page, resolve any errors. When no errors remain, click Next. 12. On the Ready to install page, click Install. 13. After the installation is complete, click Finish to close the wizard. The AOS service can take several minutes to start the first time after it is installed. To determine whether the AOS service has started, click Administrative tools > Services, and review the status of the Microsoft Dynamics AX Object Server service. Start the AOS Windows service After you install an AOS instance, you must wait for the Microsoft Dynamics AX Object Server Windows service to start. By default, if a Windows service takes longer than 30 seconds to start, the system displays a message informing you that the service did not respond to a start command. The AOS Windows service can take longer than 30 seconds to start, and the lack of a response in 30 seconds can cause the service to stop. Therefore, if an AOS instance repeatedly does not start, you may want to configure the registry to give Windows services more time, such as 120 seconds, to start before the error message is displayed. Warning: This section describes how to modify the registry so that the AOS Windows service has enough time to start before Windows displays an error message. Be aware that serious problems can occur if you modify the registry incorrectly. We recommend that you back up the registry before you modify it. If a problem occurs, you can restore it. For more information about how to back up and restore the registry, see Backup and recovery. Microsoft Dynamics AX 2012 Installation Guide 35
Microsoft Dynamics AX 1. 2. 3. 4. 5. 6. Click Start, click Run, type regedit, and then click OK. Locate and then click the following registry subkey: \HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control Right-click Control, and then click New > DWORD (32-Bit) Value. Right-click the new key, and then click Rename. Enter the name ServicePipeTimeout. Right-click the key again, and then click Modify. In the Value data text box, enter 120000, and then click OK. The AOS Windows service now has 120 seconds to start before the system displays an error message.
If the AOS instance does not start after you implement this registry key, use the Microsoft Dynamics AX Server Configuration utility to verify that the AOS instance is using a unique port. Port conflicts prevent AOS instances from starting. For more information, see Change AOS ports. Run the initialization checklist After you install and start an AOS instance, and before you complete any other tasks in Microsoft Dynamics AX, you must run the initialization checklist. For more information, see Initialize Microsoft Dynamics AX.
Microsoft Dynamics AX Install each AOS instance in the way that is described in Install an AOS instance. If you install an AOS instance on a server that already has an AOS instance, you must specify a unique port number for each instance. By default, every time that you install an additional AOS instance on a computer, the TCP/IP, WSDL, and NET-TCP port numbers are incremented by 1. If the same port number is used for more than one AOS instance on a computer, one of the AOS instances that have conflicting port numbers does not start.
An error occurred during the install custom action step within the AOS Server installer
If the AOS installation fails, you may receive the following message: An error occurred during the install custom action step within the AOS Server installer. This error may indicate that the event logs on the computer have conflicting names. In this case, the following message also appears in the log file: Only the first eight characters of a custom log name are significant, and there is already another log on the system using the first eight characters of the name given. When AOS is installed, an event log that is named Microsoft Dynamics AX Workflow is created for the Workflow service. The custom action in Windows Installer that creates the Workflow event log does not verify whether an event log already exists that has the same first eight characters in the name. If another application has already created an event log that has the same first eight characters in the name, the operation to create the Workflow event log may fail. Therefore, the custom action fails, and Windows Installer rolls back the installation. Warning: This section describes how to modify the registry. Be aware that serious problems can occur if you modify the registry incorrectly. We recommend that you back up the registry before you modify it. Then, if a problem occurs, you can restore the registry. For more information about how to back up and restore the registry, see Microsoft Knowledge Base article number 256986. To work around this issue, you can rename the conflicting event log and attempt to install AOS again. Event logs are listed as subkeys under the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog. After AOS is successfully installed, you can rename the conflicting registry key to its original name.
37
Microsoft Dynamics AX
Checklist: Deploy an internal Enterprise Portal site that has Role Centers
This topic provides checklists that can help you deploy Enterprise Portal for Microsoft Dynamics AX and Role Centers for an employee portal that is for internal use only. An employee portal for internal use only provides access to the following modules sites in Enterprise Portal. If your business or organization deploys Role Centers, users can also access their Role Center page on the Home site. Home site/Role Center Sales Procurement Employee services Project Compliance Service Management
User access to modules sites is determined by Microsoft Dynamics AX security roles. For a description of the features and reports that are available on each of these modules sites, see Overview of Enterprise Portal for Microsoft Dynamics AX. If you want to deploy an employee self-service portal that gives employees access to expense management, time and attendance, and other personal information, see Checklist: Deploy an employee self-service portal.
38
Microsoft Dynamics AX
Checklist for a basic deployment The following table describes the tasks that you must complete to deploy Enterprise Portal and Role Centers. After you complete the tasks in this checklist, internal users can access the employee portal in the network.
Task Install Enterprise Portal. Install Enterprise Portal Help content Create an Enterprise Portal site. By default, Setup creates a site on port 80 when you install Enterprise Portal. However, you can create additional sites. Enable users to access the Enterprise Portal site. Configure parameters for Enterprise Portal. Configure Enterprise Portal for Role Centers. Enable users to access Enterprise Portal Specify Enterprise Portal parameters Checklist: Configure Role Centers More information Install Enterprise Portal (EP) Install Enterprise Portal Help content Create an Enterprise Portal site
Checklist for extranet deployments The following table describes the tasks that you must complete for an employee portal that employees access by using Enterprise Portal in an extranet. You must complete the tasks in the basic deployment checklist before you complete the following tasks.
Task Configure Enterprise Portal to use Secure Sockets Layer (SSL) encryption. We recommend that you use SSL to encrypt data for all external-facing Enterprise Portal sites. SSL is optional for employee portals that are for internal use only. Configure the perimeter network. Configure flexible authentication. Microsoft Dynamics AX 2012 supports flexible authentication, which enables users to authenticate with Microsoft Dynamics AX by using Windows Live ID, Active Directory Federated Services, or form-based authentication. By using flexible authentication, users do not have to be listed in Active Directory directory services to access Microsoft Dynamics AX data or forms. Configure a perimeter network for Enterprise Portal Configure Enterprise Portal flexible authentication More information Configure Enterprise Portal to use Secure Sockets Layer
39
Microsoft Dynamics AX Checklist for optional configurations The tasks that are described in the following table are not required to run Enterprise Portal. However, we recommend that you complete these tasks. You must complete the tasks in the basic deployment checklist before you complete the following tasks.
Task Configure Enterprise Portal to use Secure Sockets Layer (SSL) encryption. We recommend that you use SSL to encrypt data for all external-facing Enterprise Portal sites. SSL is optional for employee portals that are for internal use only. Configure host headers. Configure Enterprise Portal for an environment that has multiple Application Object Servers (AOSs). Configure Enterprise Portal to use host headers Install multiple instances of Enterprise Portal on the same server More information Configure Enterprise Portal to use Secure Sockets Layer
40
Microsoft Dynamics AX
Task Specify user relations. Employees who only access an employee self-service portal must be assigned a Worker relation in the User relations form. Configure parameters for Enterprise Portal.
Checklist for extranet deployments The following table describes the tasks that you must complete if employees access Enterprise Portal in an extranet. You must complete the tasks in the basic deployment checklist before you complete the following tasks.
Task Configure Enterprise Portal to use Secure Sockets Layer (SSL) encryption. We recommend that you use SSL to encrypt data for all external-facing Enterprise Portal sites. SSL is optional for employee portals that are for internal use only. Configure the perimeter network. Configure flexible authentication. Microsoft Dynamics AX 2012 supports flexible authentication, which enables users to authenticate with Microsoft Dynamics AX by using Windows Live ID, Active Directory Federated Services, or form-based authentication. By using flexible authentication, users do not have to be listed in Active Directory directory services to access Microsoft Dynamics AX data or forms. Configure a perimeter network for Enterprise Portal Configure Enterprise Portal flexible authentication More information Configure Enterprise Portal to use Secure Sockets Layer
Checklist for optional configurations The tasks that are described in the following table are not required to run Enterprise Portal. However, we recommend that you complete these tasks. You must complete the tasks in the basic deployment checklist before you complete the following tasks.
Task Configure Enterprise Portal to use Secure Sockets Layer (SSL) encryption. We recommend that you use SSL to encrypt data for all external-facing Enterprise Portal sites. SSL is optional for employee self-service portals. More information Configure Enterprise Portal to use Secure Sockets Layer
41
Microsoft Dynamics AX
Task Configure host headers. Configure Enterprise Portal for an environment that has multiple Application Object Servers (AOSs).
More information Configure Enterprise Portal to use host headers Install multiple instances of Enterprise Portal on the same server
For a complete description of the features and reports available on a vendor portal, see Overview of Enterprise Portal for Microsoft Dynamics AX. For information about how to deploy an unsolicited vendor portal, see Checklist: Deploy an unsolicited vendor portal. Checklist for a vendor portal deployment The following table describes tasks that you must complete to deploy Enterprise Portal.
Task Install Enterprise Portal Configure Enterprise Portal to use Secure Sockets Layer (SSL) encryption We recommend that you encrypt data with SSL for all external-facing Enterprise Portal sites. Configure the perimeter network Configure Microsoft Dynamics AX to enable vendor user provisioning. Users are provisioned either as part of the user request process, or automatically through specific tasks in the user request workflow. User provisioning automates the creation of Microsoft Dynamics AX user accounts and user permission assignments. This ensures proper control of users and their access to the Vendor portal and simplifies the process of creating users. Configure a perimeter network for Enterprise Portal Configuring Enterprise Portal for vendor requests For more information Install Enterprise Portal (EP) Configure Enterprise Portal to use Secure Sockets Layer
42
Microsoft Dynamics AX
Task Configure flexible authentication Microsoft Dynamics AX 2012 supports flexible authentication which enables users to authenticate with Microsoft Dynamics AX by using Windows Live ID, Active Directory Federated Services, or forms-based authentication. By using flexible authentication, users do not have to be listed in Microsoft Active Directory directory services to access Microsoft Dynamics AX data or forms. Create an Enterprise Portal site By default, Setup creates a site on port 80 when you install Enterprise Portal. However, you can create additional sites. Enable users to access the Enterprise Portal site Specify user relations Specify vendor roles on the External roles form.
Enable users to access Enterprise Portal Specify user relations Click System administration > Setup > Security > External roles.
Checklist for optional configurations The following table describes tasks that are not required to run Enterprise Portal. However, these tasks are recommended. You must complete the vendor deployment checklist before you complete the following tasks.
Task Configure host headers Configure Enterprise Portal for an environment that has multiple Application Object Servers (AOS) For more information Configure Enterprise Portal to use host headers Install multiple instances of Enterprise Portal on the same server
Next step After you finished preparing the Enterprise Portal environment for vendor access, you must configure vendor portal pages and vendor portal workflow templates in the Microsoft Dynamics AX client. For more information, see Configuring Enterprise Portal for vendor requests in the Microsoft Dynamics AX online Help.
43
Microsoft Dynamics AX
For more information about deploying Enterprise Portal in multiple languages, see Create an Enterprise Portal site. Verify that the name of the server that will host Enterprise Portal does not include an underscore, for example EPserver_1. If an Enterprise Portal server includes an underscore in the server name, lookups and web pages might display errors. On the computer where you will install Enterprise Portal, run the prerequisite validation utility to verify that system requirements have been met. For information about how to run the prerequisite validation utility, see Check prerequisites. For more information about the hardware and software requirements for Microsoft Dynamics AX, see the system requirements.
44
Microsoft Dynamics AX Verify that you have the appropriate permissions to install Enterprise Portal. If you are installing Enterprise Portal on a server that already hosts an Enterprise Portal deployment, you must have Full Control permission in SharePoint for the existing Enterprise Portal site collection. If you do not have Full Control permission, you will not be able to delete the existing site collection by using Setup. For more information about permissions, see Verify that you have the required permissions for installation. Important: If you attempt to install Enterprise Portal on an existing Internet Information Services (IIS) site that is already configured to use a host header, the installation fails, unless you create a BackConnectionHostNames registry entry.
4. 5. 6. 7. 8.
9.
45
Microsoft Dynamics AX 11. On the Configure a Web site for Enterprise Portal page, select a website. If no websites are available in the list, you must cancel Setup, create a website by using SharePoint Central Administration, and then try the installation again. We recommend that you select the Configure for Windows SharePoint Services option. If you select this option, Setup verifies that the site is a SharePoint site. If the site is not a SharePoint site, Setup extends the site in SharePoint. Setup also sets the application pool to run under the service account and sets the authentication method to Windows NTLM. Important: Note the following important information about the Create Web site option: Clear this option if you are installing Enterprise Portal for a public site, such as an unsolicited vendor portal. For public sites, you must create the Enterprise Portal site by using the public site template. For more information, see Create a public Enterprise Portal site. If you are installing Enterprise Portal for a stand-alone installation, or on an administration server for a web farm, select the Create Web site option to create a site at the following URL: http://ServerName/sites/DynamicsAX. Setup creates a new site that uses port 80. When you install Enterprise Portal on subsequent servers in a server farm, you must clear this option. The site must be created only on the administration server for the web farm.
Click Next. Note: If your business or organization purchased a developer license for Microsoft Dynamics AX, you can change the URL for the website, title, and description before you complete the installation. Modify the EPSetupParams file in the Application Object Tree (AOT) (Web > Web Files > Static Files > EPSetupParams). 12. On the Prerequisite validation results page, resolve any errors. When no errors remain, click Next. 13. On the Ready to install page, click Install. 14. After the installation is complete, click Finish to close the wizard. 15. Repeat this procedure on every web server in the server farm.
2.
46
Microsoft Dynamics AX 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 administration server for the web farm.
For more information about how to configure machineKey properties, see How to: Configure MachineKey in ASP.Net 2.0, especially the "Web Farm Deployment Considerations" section.
47
Microsoft Dynamics AX Install Enterprise Portal Help 1. Copy each of the MS.EP.HC.cab files into its corresponding directory on the web server at this location: Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\HCCab\<language_code>\ For example, download the Arabic version of the MS.EP.HC.cab file to this directory: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\HCCab\1025\ 2. 3. Open the SharePoint 2010 Management Shell on the Enterprise Portal web server. Click Start, click All Programs, click SharePoint 2010 Products, and then click SharePoint 2010 Management Shell. In the management shell, run the following command: Install-SPHelpCollection -LiteralPath "Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\HCCab\<language_code>\MS.EP.HC.cab" For example, to install Enterprise Portal Help for Spanish, run the following command: Install-SPHelpCollection -LiteralPath "Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\HCCab\3082\MS.EP.HC.cab" 4. Repeat the command for each language that you want to install. After SharePoint finishes the Timer job, you can open Enterprise Portal Help by clicking the Help icon on any Enterprise Portal page.
Multiple portals on the same server that use the same AOS
By default, when you install Enterprise Portal, Setup creates an Enterprise Portal site on the SharePoint-80 web application. You can create additional sites on the port 80 web application by using SharePoint Central Administration. All sites created in this manner use the same AOS. For more information about how to create an Enterprise Portal site, see Create an Enterprise Portal site. If you create additional web applications by using SharePoint Central Administration, you must deploy Enterprise Portal on the new web applications by using Microsoft Dynamics AX Setup. You can then create additional sites on the new web application by using SharePoint Central Administration. All sites created in this manner use the same AOS. 48 Microsoft Dynamics AX 2012 Installation Guide
Microsoft Dynamics AX
Multiple portals on the same server that use different AOS instances
To install multiple portals on the same server and have those portals connect to different AOS instances, you must complete the following steps. Before you begin Enterprise Portal determines which AOS to connect to by reading a Microsoft Dynamics AX client configuration. To install multiple portals on the same server and have those portals connect to different AOS instances, the portals must read separate Microsoft Dynamics AX client configurations. Create one or more Microsoft Dynamics AX client configuration files by using the Microsoft Dynamics AX 2012 Configuration utility and store the configuration files on a network share. For more information about how to create a configuration file, see Manage a client configuration. 1. Use Microsoft Dynamics AX Setup to install Enterprise Portal on the server. By default, Setup creates an Enterprise Portal intranet site on the SharePoint-80 web application. For the purpose of this procedure, this portal is called Portal1 and it is connected to AOS1. For more information about how to install Enterprise Portal, see Install Enterprise Portal (EP). Create a new web application on the Enterprise Portal server by using SharePoint Central Administration. For more information about how to create a new web application, see the Microsoft SharePoint 2010 products online Help. Install Enterprise Portal on the new web application by using Microsoft Dynamics AX Setup. By default, a second portal is created on the port that is specified in SharePoint Central Administration. For the purpose of this procedure, this portal is called Portal2. Copy the URL of Portal2. You will need the URL later in this procedure when you register the portal. Portal2 is currently connected to AOS1. Specify the new Microsoft Dynamics AX client configuration file for Portal2 by editing the web.config file. By default the web.config file is located in the following directory: C:\inetpub\wwwroot\wss\VirtualDirectories\<port number> Add the following Microsoft.Dynamics element under </system.web>. Replace <server_name>, <path>, and <configuration_file>.axc with the information specific to your computing environment. For example:
<Session Configuration="C:\inetpub\wwwroot\dynamicsax.axc" /> <Microsoft.Dynamics> <Session Configuration="\\<server_name>\<path>\<configuration_file>.axc" /> </Microsoft.Dynamics>
2.
3.
4.
5.
6. 7. 8. 9.
Save your changes in the web.config file. Register Portal2 on AOS2. Click System administration > Setup > Enterprise Portal > Web sites. Enter the URL in the Internal URL and External URL fields. In the Type field, click Full (Web parts and site templates). Portal2 is now connected to AOS2. Delete Portal2 from the Web sites form on AOS1.
49
Microsoft Dynamics AX
Install Search
This section contains information about installing Microsoft Dynamics AX 2012 Enterprise Search. Use the following topics to help you install Search. Checklist: Deploy Microsoft Dynamics AX Enterprise Search Configure the Search Crawler account Configure SharePoint Services logging Install Microsoft Dynamics AX Enterprise Search Configure Enterprise Search by using the Search Configuration wizard
50
Microsoft Dynamics AX
Task Verify that Search is installed and data is discoverable in Search results.
More information Open the Microsoft Dynamics AX client, enter a word such as a customer name in the Search box, and press Enter.
See Also
Enterprise Search architecture
Configure logging
Use the following procedure to specify limits for diagnostic logging for SharePoint 2010 products. 1. 2. 3. 4. 5. 6. 7. 8. 9. In SharePoint 2010 Central Administration, click Monitoring. Under Reporting, click Configure diagnostic logging. In the Number of days to store log files section, enter a number. Select the Restrict Trace Log disk space usage option. In the Maximum storage space for Trace Logs (GB) field, enter a number. Click OK. Under Reporting, click Configure usage and health data collection. In the Maximum log file size field, enter a number. Click OK.
See Also
SharePoint documentation: Configure diagnostic logging
51
Microsoft Dynamics AX
4. 5. 6.
52
Microsoft Dynamics AX 7. 8. On the Select a file location page, select the location where you want to install 32-bit versions of Microsoft Dynamics AX files, and then click Next. On the Specify a location for configuration settings page, specify whether you want Enterprise Search to access configuration information from the registry on the local computer or from a shared configuration file. If you select to use a shared configuration file, you must enter the network location of the file. Click Next. On the Connect to an AOS instance page, enter the name of the computer that is running the Application Object Server (AOS) instance that you want to connect to. You can optionally specify the name of the AOS instance, the TCP/IP port number, and the WSDL port for services. Click Next. Note: If you entered AOS connection information for other Microsoft Dynamics AX components that are installed on this computer, this screen is not displayed. Subsequent installations on this computer reuse the existing AOS connection. 10. On the Specify Business Connector proxy account information page, enter the password for the proxy account that is used by the .NET Business Connector. Click Next. 11. On the Specify the search crawler account page, enter the account information, and then click Next. 12. On the Prerequisite validation results page, resolve any errors. When no errors remain, click Next. 13. On the Ready to install page, click Install. 14. After the installation is complete, click Finish to close the wizard.
9.
4.
Microsoft Dynamics AX 1. 2. 3. HcmWorkerListPage SecurityRoleAllTasks smmBusinessRelations_NoFilter VendorEnterpriseSearch In SharePoint Central Administration, click Manage service applications > Search Service Application. Under Content Source, verify that Microsoft Dynamics AX and Microsoft Dynamics AX Metadata show a crawl end time and no errors. After the crawl complete, open an Microsoft Dynamics AX client and verify that the Search box appears in the upper-right corner. Also search on a term such as Sales and verify that the system returns results that are shown in both the middle pane (the data, metadata, and documents pane) and the Help Topics pane.
Use SharePoint Central Administration to verify that the crawl for these queries has finished running.
For information about how to make data, metadata, and documents available in Search, see Add AOT queries to the Search configuration. After you have specified which queries should be available in Search, you must publish the queries to SharePoint. For more information, see Configure Enterprise Search by using the Search Configuration wizard.
54
Microsoft Dynamics AX After you complete the wizard, the queries are published to the BCS, so that SharePoint can crawl the selected tables in the Microsoft Dynamics AX database. After the crawl is completed, users can view search results either in the Microsoft Dynamics AX 32-bit client or in Enterprise Portal. Note: You can run the Search Configuration Wizard on a server where Enterprise Search is installed from the Microsoft Dynamics AX client or by double-clicking AXSearchSetup.exe in the following directory: %systemdrive%\Program Files\Microsoft Dynamics AX\60\SetupSupport. 1. 2. Click System administration > Setup > Search > Search configuration. Complete the wizard. Microsoft Dynamics AX informs you that the queries were successfully published to the BCS.
If one or more queries were not published to the BCS, an error message is displayed. Review the log file at the following location: %systemdrive%\ProgramData\Microsoft\Dynamics AX\Dynamics AX Setup Logs\. After the queries are published to the BCS, you can view the list of queries and the status of the database crawl in SharePoint Central Administration. 1. 2. 3. 4. Click Start, and then click SharePoint 2010 Central Administration. Under Application Management, click Manage service applications, and then click Search Service Application. In the left pane, under Crawling, click Content Sources. To view the details, click either the content source for Microsoft Dynamics AX or the content source for Microsoft Dynamics AX metadata. Important: By default, SharePoint schedules incremental crawls of the Microsoft Dynamics AX database. The incremental crawl only updates records if a parent table is modified. To ensure that the crawler updates records from joined tables, you should periodically perform a full crawl of the database.
See Also
Enterprise Search operations
55
Microsoft Dynamics AX
Install prerequisites
On the computer where you will install the Help server, run the prerequisite validation utility to verify that system requirements have been met. For information about how to run the prerequisite validation utility, see Check prerequisites. For more information about the hardware and software requirements for Microsoft Dynamics AX, see the Microsoft Dynamics AX 2012 System Requirements guide.
56
Microsoft Dynamics AX
4. 5. 6.
57
Microsoft Dynamics AX 8. On the Connect to an AOS instance page, enter the name of the computer that is running the Application Object Server (AOS) instance that you want to connect to. You can optionally specify the name of the AOS instance, the TCP/IP port number, and the WSDL port for services. Click Next. Note: If you entered AOS connection information for other Microsoft Dynamics AX components that are installed on this computer, this screen is not displayed. Subsequent installations on this computer reuse the existing AOS connection. 9. The Help Server must be installed on a 64-bit operating system. When you install MSDAX components on a 64-bit system, the Select a file location page is displayed. Use this to select the location where 32-bit versions of Microsoft Dynamics AX files should be installed and then click Next.
10. On the Select a display language page, select a language and click Next. 11. On the Specify a location for configuration settings page, indicate whether client and server configuration settings should be stored locally or in a shared configuration file on the network. If you select the shared configuration, enter the network location of the file. Click Next. 12. On the Connect to AOS instance page, provide the name of the AOS server that the Help server will be using. You can optionally specify the AOS instance name, the AOS TCP/IP port number, and the services WSDL port. Click Next. 13. On the Configure a Web site for Help Server page, select the website that you have chosen to host the Help server. Verify that the location of the physical directory for the website is displayed. Click Next. 14. On the Specify the Help Server account page, enter a domain user account and password. This account must be the same as the .NET Business Connector proxy account for the AOS, and it must be a user in Microsoft Dynamics AX. This should be a service account that does not expire. Click Next. 15. On the Language and content selection page, select the Help languages and content types to install. EN-US must be installed, and is checked by default. Click Next. Tip: To add additional languages or content later, obtain the necessary MSI files and run Setup again. 16. On the Prerequisite Validation page, resolve any errors. When no errors remain, click Next. 17. On the Ready to install page, click Install. 18. After the installation is complete, click Finish to close the wizard. After the Microsoft Dynamics AX Help files are installed, they must be indexed by Windows Search Service before you can view them. Depending on system load and the number of files, it may take up to an hour for indexing to finish.
58
Microsoft Dynamics AX
59
Microsoft Dynamics AX
60
Microsoft Dynamics AX
Verify that you have the required permissions to install the Reporting Services extensions
To install the Reporting Services extensions, you must have the required permissions. For more information, see Verify that you have the required permissions for installation.
Install prerequisites
On the computer where Reporting Services is installed, or where you plan to install Reporting Services, run the prerequisite validation utility to verify that system requirements have been met. For information about how to run the prerequisite validation utility, see Check prerequisites. For more information about the hardware and software requirements for Microsoft Dynamics AX, see the system requirements.
Configure the Reporting Services instance by using the Reporting Services Configuration Manager tool
Use the following procedure to configure the Reporting Services instance. Note: If you installed the Reporting Services instance in its default configuration, Reporting Services is already configured for you. We recommend that you complete this procedure to verify that the options are configured correctly. 1. 2. Open Reporting Services Configuration Manager (Start > All Programs > Microsoft SQL Server 2008 > Configuration Tools > Reporting Services Configuration Manager). Connect to your Reporting Services instance.
61
Microsoft Dynamics AX 3. Configure the options that are described in the following table. For detailed information about each option, see the SQL Server documentation.
Click this option [ServerName]\[InstanceName] To do this Verify that the Reporting Services instance is running. If it is not running, click Start. Service Account The action you should take depends on the configuration mode you selected when installing the Reporting Services instance. If you selected the Install the native mode default configuration option, no action is required. The service account is set to the account you specified when installing the Reporting Services instance. If you selected the Install, but do not configure the report server option, select the built-in account, Network Service, as the service account. Note: When you install the Reporting Services extensions, the Business Connector proxy account will automatically be assigned as the service account for the Reporting Services instance. Web Service URL Create a virtual directory for the Reporting Services web service. By default, the virtual directory is named ReportServer and the URL is http://[SSRSServerName]:80/ReportServer. Database Create a database for the Reporting Services instance. By default, the database is named ReportServer. Report Manager URL Create a virtual directory for Report Manager. Report Manager is the website that reports are published to. By default, the virtual directory is named Reports and the URL is http://[SSRSServerName]:80/Reports. E-mail Settings This option is not required. For more information, see the SQL Server documentation. Execution Account Take no action. Note: When you install the Reporting Services extensions, the Business Connector proxy account will automatically be assigned as the execution account for the Reporting Services instance. Encryption Keys This option is not required. For more information, see the SQL Server documentation. Scale-out Deployment This option is not required. For more information, see the SQL Server documentation.
4.
62
Microsoft Dynamics AX
4. 5.
63
Microsoft Dynamics AX 7. 8. On the Select a file location page, select the location where you want to install 32-bit versions of Microsoft Dynamics AX files, and then click Next. On the Specify a location for configuration settings page, specify whether you want the Reporting Services extensions to access configuration information from the registry on the local computer or from a shared configuration file. If you select to use a shared configuration file, you must enter the network location of the file. Click Next. On the Connect to an AOS instance page, enter the name of the computer that is running the Application Object Server (AOS) instance that you want to connect to. You can optionally specify the name of the AOS instance, the TCP/IP port number, and the WSDL port for services. Click Next. Note: If you entered AOS connection information for other Microsoft Dynamics AX components that are installed on this computer, this screen is not displayed. Subsequent installations on this computer reuse the existing AOS connection. 10. On the Specify Business Connector proxy account information page, enter the password for the proxy account that is used by the .NET Business Connector. Click Next. 11. On the Specify a Reporting Services instance page, follow these steps: Select a Reporting Services instance. Select the Deploy reports check box to deploy the default reports that are included with Microsoft Dynamics AX to the Reporting Services instance. Note: If you do not deploy the reports now, you can deploy them later by using commands in Windows PowerShell. For more information, see Deploy the default reports. Click Next. 12. On the Prerequisite Validation page, resolve any errors. When no errors remain, click Next. 13. On the Ready to install page, click Install. If you selected to deploy the reports, a PowerShell window is displayed. This window indicates the progress of the deployment, which may take several minutes to finish. Do not close this window. When the reports are deployed, the window will close automatically. 14. Click Finish to close the Setup wizard. Note: You can close the Setup wizard before the reports have finished being deployed. The deployment of the reports is not affected. 15. The Microsoft Dynamics AX 2012 Setup Summary Report is displayed, which lists additional procedures you must complete to integrate Microsoft Dynamics AX and Reporting Services. For more information about the procedures, see Complete the Reporting Services integration.
9.
64
Microsoft Dynamics AX
Open Windows PowerShell and view a list of reports Complete the following procedure to open Windows PowerShell and view a list of the reports that are included with Microsoft Dynamics AX. 1. Open Windows PowerShell as an administrator by following these steps. a. c. 2. Click Start > Administrative Tools. Click Run as administrator. b. Right-click the Microsoft Dynamics AX 2012 Management Shell option. Retrieve a list of the reports that are included with Microsoft Dynamics AX, and store the list in a local variable by entering the following command:
$reports = Get-AXReport -ReportName *
For more information about the Get-AXReport command, see Get-AXReport. 3. View the list of reports by entering the following command:
$reports
65
Microsoft Dynamics AX Filter the list of reports In the previous procedure, you displayed a list of all the reports that are included with Microsoft Dynamics AX. To modify and filter the list, you can use the following commands: To modify the list so that only the Name and ChangedDate fields are displayed, enter the following command:
$reports | Select-Object Name,ChangedDate
To filter the list so that only specific reports are listed, enter keywords or report names. For example, to filter the list so that only reports that contain the word CustTrans are listed, enter the following command:
$reports | Select-Object Name,ChangedDate | Where { $_.Name -like "CustTrans*" }
Deploy the reports After you have retrieved a list of reports, you can deploy the reports. The Publish-AXReport command is used to deploy the reports. The following examples show how to use this command. For more information, see Publish-AXReport. To deploy a specific report, enter the name of the report. For example, to deploy the CustTransList report, enter the following command:
Publish-AXReport -ReportName CustTransList
To deploy two or more specific reports, enter the names of the reports. For example, to deploy the CustTransList and CustTransOpenPerDate reports, enter the following command:
Publish-AXReport -ReportName CustTransList, CustTransOpenPerDate
See Also Administering Microsoft Dynamics AX by using Windows PowerShell Windows PowerShell for Microsoft Dynamics AX Piping and the Pipeline in Windows PowerShell
66
Microsoft Dynamics AX 6. 7. 8. Enter the Active Directory user name or group to assign to the DynamicsAXBrowser role. Select the DynamicsAXBrowser role. Click OK.
67
Microsoft Dynamics AX
68
Microsoft Dynamics AX
Task Complete the Analysis Services integration: 1. 2. 3. 4. Install SQL Server Analysis Management Objects on Microsoft Dynamics AX client computers. Verify that information about exchange rates has been entered. Deploy the default cubes that are included with Microsoft Dynamics AX. Update the data source for online analytical processing (OLAP) if your Analysis Services database is not named Dynamics AX. 5. Configure the cubes, based on changes that you have made to the Microsoft Dynamics AX configuration or license keys. 6. 7. Grant users access to the cubes. Automate the processing of cubes.
For more information, see: Install SQL Server Analysis Management Objects Verify that exchange rate information has been entered Deploy the default cubes Update the OLAP data source How to: Configure an Existing SQL Server Analysis Services Project Grant users access to cubes Automate the processing of cubes
Verify that you have the required permissions to configure Analysis Services
To configure Analysis Services, you must have the required permissions. For more information, see Verify that you have the required permissions for installation.
Install prerequisites
On the computer where Analysis Services is installed, or where you plan to install Analysis Services, run the prerequisite validation utility to verify that system requirements have been met. For information about how to run the prerequisite validation utility, see Check prerequisites. For more information about the hardware and software requirements for Microsoft Dynamics AX, see the system requirements.
69
Microsoft Dynamics AX
4. 5. 6. 7. 8.
9.
13. The domain account that the Analysis Services service runs as must have access to the Microsoft Dynamics AX OLTP database in order to process the cubes. The Specify user accounts page lists the 70 Microsoft Dynamics AX 2012 Installation Guide
Microsoft Dynamics AX accounts that currently have access to the OLTP database. If the account that the Analysis Services service runs as is not listed, click Add user to add it. Click Next. 14. On the Prerequisite Validation page, resolve any errors. When no errors remain, click Next. 15. On the Ready to install page, click Install. 16. Click Finish to close the Setup wizard. 17. The Microsoft Dynamics AX 2012 Setup Summary Report is displayed. This report lists additional procedures that you must complete to integrate Microsoft Dynamics AX and Analysis Services. For more information about the procedures, see Complete the Analysis Services integration.
71
Microsoft Dynamics AX
72
Microsoft Dynamics AX
Install a client
When you install a Microsoft Dynamics AX client, the following components are included: The Microsoft Dynamics AX interface that connects to an instance of Application Object Server (AOS) The Microsoft Dynamics AX Configuration utility
You can access the Microsoft Dynamics AX Configuration utility from the Administrative Tools menu. On computers that run Windows 7, Administrative Tools is an item in Control Panel. If you are installing many clients, we recommend that you install them from a file server and create a shared configuration file. For more information, see Mass deployment of the Microsoft Dynamics AX Windows client.
Install a client
Use this procedure to install a Microsoft Dynamics AX client by using the Setup wizard. If you install other Microsoft Dynamics AX components at the same time, the installation pages vary, depending on the components that you are installing. 1. 2. 3. 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 this computer, the Select a file location page is displayed. The Setup Support files are required for installation. Provide a file location or accept the default location, and then click Next. On the Ready to install page, click Install. 73
Microsoft Dynamics AX 4. 5. 6. 7. On the Select installation type page, click Custom installation, and then click Next. On the Select components page, select Client, and then click Next. On the Prerequisite validation results page, resolve any errors. For more information about how to resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next. If you are installing on a 64-bit operating system, the Select a file location page is displayed. Select the location where you want to install 32-bit versions of Microsoft Dynamics AX files, and then click Next. On the Select client preferences page, select the display language that is used in the client, and specify whether you want Setup to create a desktop shortcut for the client. Additionally, select one of the following installation types: Business user The basic client is installed. This type of client installation is appropriate for most users. Developer The client, the developer workspace, and additional files that are required for development tasks are installed. Administrator The client and additional files that are required for administrative tasks are installed. Administrative tasks include the deployment of artifacts and the creation of users.
8.
Click Next. 9. On the Specify a location for configuration settings page, specify whether you want the client to access configuration information from the registry on the local computer or from a shared configuration file. If you want to use a shared configuration file, you must enter the network location of the file. If you use a shared configuration file, client configuration settings are not stored locally, and the Microsoft Dynamics AX Configuration utility is not installed on the client computer. Note: If you install the client at the same time as an AOS instance, this screen is not displayed, and configuration settings are saved in the registry automatically. For more information about how to use a shared configuration file, see Configure clients to use a shared configuration. Click Next.
74
Microsoft Dynamics AX 10. On the Connect to an AOS instance page, enter the name of the computer that runs the AOS instance that you want to connect to. You can optionally specify the name of the AOS instance, the TCP/IP port number, and the WSDL port for services. If you do not know the name of the AOS instance or the port information, contact the Microsoft Dynamics AX administrator. Note: If you entered information about the AOS connection for other Microsoft Dynamics AX components that are installed on this computer, this page is not displayed. Subsequent installations on the same computer reuse the existing AOS connection. Click Next. 11. On the Prerequisite validation results page, resolve any errors. When no errors remain, click Next. 12. On the Ready to install page, click Install. 13. After the installation is completed, click Finish to close the wizard.
75
Microsoft Dynamics AX Programs Programs contain command-line switches and additional parameters that are used by designated source files in packages, such as Setup.exe. For more information about programs, see About Programs in the SCCM documentation. Distribution points Distribution points are site systems for SCCM that store packages that can be deployed to SCCM clients. When the SCCM client receives and processes an advertisement, the client contacts a distribution point to download the package and start the installation process. For more information about distribution points, see About Distribution Points in the SCCM documentation. Advertisements Advertisements let administrators target a software deployment to collections of computers or users. An advertisement specifies a package, a program, and the collection to which the advertisement is sent and deployed. For more information about advertisements, see About Advertisements in the SCCM documentation. Example: Deploy Microsoft Dynamics AX clients by using SCCM This section provides an example of a network environment for the SCCM infrastructure. This section also describes how SCCM is used to deploy Microsoft Dynamics AX clients in this environment. You can use this example as a guide when you use SCCM to deploy Microsoft Dynamics AX clients in your implementation. Network environment The following illustration shows an example of a network environment.
76
Microsoft Dynamics AX Servers A, B, and C run Windows Server 2008. The applications and roles on each computer are as follows: A The domain controller that runs Active Directory, the Domain Name System (DNS) Server role, and the Dynamic Host Configuration Protocol (DHCP) Server role B The database server that runs Microsoft SQL Server 2008 C The management point and distribution point that runs System Center Configuration Manager D The client computer that runs Windows 7 Professional and the System Center Configuration Manager client Note: In the network environment in this example, server C performs multiple roles in the site system. However, we do not recommend this configuration in production environments that have many resources. Create a collection This section explains how to use direct membership rules to create a collection in System Center Configuration Manager 2007. For more information about membership rules, see About Membership Rules in the SCCM documentation. 1. 2. 3. 4. 5. 6. 7. 8. 9. In the Configuration Manager Console, click System Center Configuration Manager > Site Database > Computer Management > Collections. Right-click Collections, and then click New Collection. On the General page of the New Collection Wizard, enter a name for the collection. On the Membership Rules page, click the computer icon to open the Create Direct Membership Rule Wizard. Click Next. On the Search for Resources page, in the Resource class field, select System Resource. Then, in the Attribute name field, select Name. In the Value field, enter %, and then click Next. On the Collection Limiting page, click Browse, select All Windows Workstation or Professional Systems, click OK, and then click Next. On the Select Resources page, select the check box for each computer resource that you want to target. Click Next. On the Finished page, click Finish. On the Membership Rules page of the New Collection Wizard, click Next. On the Advertisements page, you cannot assign an advertisement, because you have not yet created an advertisement. Click Next.
10. On the Security page, accept the default values, click Next, and then click Close. Prepare the source directory for the package The source directory for a package contains all the files and subdirectories that are required to run the programs in a package. For Microsoft Dynamics AX, the source directory must contain a copy of the installation media for Microsoft Dynamics AX. For more information about source directories for packages, see How to Set Up a Package Source Directory in the SCCM documentation.
77
Microsoft Dynamics AX Create a package for Microsoft Dynamics AX This section explains how to create a package that contains the parameters that are used to install the Microsoft Dynamics AX client. In this example, the Microsoft Dynamics AX client and its prerequisites are contained in one package that has multiple programs. You can also deploy the programs in separate packages. The location from which the package is distributed is known as the distribution point. 1. 2. 3. 4. In the Configuration Manager Console, click System Center Configuration Manager > Site Database > Computer Management > Software Distribution > Packages. Right-click Packages, point to New, and then click Package. On the General page of the New Package Wizard, enter the name, version, manufacturer, and language. For example, enter Microsoft Dynamics AX 2012 EN. Click OK, and then click Next. Click Next on all the remaining pages of the wizard to accept the default settings. On the Wizard Completed page, click Close.
Determine which parameters are used for a silent installation Before you create programs that are used to install the Microsoft Dynamics AX client and its prerequisites, you must determine which command-line parameters are required to silently install the software. A silent installation is an installation that does not require user interaction. To install client components, use parameters for the Microsoft Dynamics AX Setup program. For information about individual parameters, see the Setup parameters reference on TechNet. Setup can also configure some required prerequisites, such as operating system features and roles, and redistributable components that are on the installation media for Microsoft Dynamics AX. If you want Setup to automatically configure these prerequisites, include the parameter ConfigurePrerequisites=1 when you create the program that installs the client. You can silently install other prerequisites by running the individual programs from the command line. You must create a separate program for each of these prerequisites. To determine the command-line parameters that are required, we recommend that you run the Microsoft Dynamics AX prerequisite verification utility on a representative client. When you use the utility to configure prerequisites, the log file indicates the commands that were used. For more information about how to find the appropriate command-line parameters for a silent installation, see Run Setup in silent mode. Create programs Next, you must create the programs that are included in the package. Create one program that contains the parameters that are used to silently install the Microsoft Dynamics AX client. In addition, create a separate program for every prerequisite of Microsoft Dynamics AX that cannot be configured automatically by the Microsoft Dynamics AX Setup program.
78
Microsoft Dynamics AX Create a program to install the Microsoft Dynamics AX client Use the following procedure to create a program that installs the Microsoft Dynamics AX client. 1. 2. In the Configuration Manager Console, right-click Programs, point to New, and then click Program. On the General page of the New Program Wizard, enter a name for the package in the Name field. In the Command line field, enter the Setup parameters that you want to use. For example, type the following command.
setup.exe HideUI = 1 AcceptLicenseTerms=1 ByPasswarnings=0 InstallClientUI=1 InstallOfficeAddins=1 ClientAOSServer=Ax2012Test AOSPort=2712 AOSWsdlPort=8101 ClientLanguage=en-us ClientInstallType=1 CreateClientDesktopShortcut=1 ClientHelpLanguage=en-us ConfigurePrerequisites=1 LogDir=c:\Temp
Important: If you want Setup to automatically configure the prerequisites that it can configure, specify the parameter ConfigurePrerequisites=1. If you do not want the Microsoft Dynamics AX Configuration utility to be installed when clients are installed, specify the parameter ClientConfig=0. To set up clients so that they use a shared configuration file, set the ClientConfigFile parameter to the path of the configuration file in the shared directory. For example, specify the parameter as follows.
ClientConfigFile="X:\<name of configuration file>.axc"
For more information about whether to install the Configuration Utility, and about using shared configuration files, see About the Microsoft Dynamics AX 2012 Configuration utility. 3. 4. In the Run field, select Hidden. In the After running field, verify that No action required is selected. Click Next, and then accept the default values on the Requirements page. On the Environment page, in the Program can run field, select Whether or not a user is logged on. The Run mode field is automatically set to Run with administrative rights. Make sure that the Drive mode field is set to Runs with UNC name, and then click Next. On the Advanced page, select Suppress program notifications, and then click Next. Note: If you want a notification about the installation to be displayed on each user's desktop, clear Suppress program notifications. 6. 7. On the Summary page, click Next. The Wizard Completed page is displayed. To exit the New Program Wizard, click Close.
5.
79
Microsoft Dynamics AX Create programs to install prerequisites You must create a program for every prerequisite that cannot be configured automatically by the Microsoft Dynamics AX Setup program. The following example shows how to create a program that installs Report Viewer 2012. 1. 2. In the Configuration Manager Console, right-click Programs, point to New, and then click Program. On the General page of the New Program Wizard, enter a name for the package in the Name field. For example, enter Report viewer 2012 installation. In the Command line field, type the command that is used to install the prerequisite. For Report Viewer 2012, type the following command.
Redist\ReportViewer2010\ReportViewer /passive
3. 4.
In the Run field, select Hidden. In the After running field, verify that No action required is selected. Click Next, and then accept the default values on the Requirements page. On the Environment page, in the Program can run field, select Whether or not a user is logged on. The Run mode field is automatically set to Run with administrative rights. Make sure that the Drive mode field is set to Runs with UNC name, and then click Next. On the Advanced page, select Suppress program notifications, and then click Next. Note: If you want a notification about the installation to be displayed on each user's desktop, clear Suppress program notifications.
5.
6. 7.
On the Summary page, click Next. The Wizard Completed page is displayed. To exit the New Program Wizard, click Close.
Select a distribution point To use a server as a distribution point that distributes packages to client computers, you must first designate a site system as a distribution point. In this example, the site server that is named SCCM is configured as both a management point and a distribution point. 1. In the Configuration Manager Console, right-click Distribution Points, click New Distribution Points, click Next, and then select the check box for the distribution point. In this example, the new distribution point is server C. Click Next. When you have finished running the New Distribution Points Wizard, click Close.
2.
Before you advertise the package, we recommend that you verify that the package is stored on the distribution point. For more information about how to verify the status of a package, see How to View the Status of a Package in the SCCM documentation. Create an advertisement for the Microsoft Dynamics AX client package Next, you must advertise the package that contains both the SCCM distribution point and the programs that are used to deploy the Microsoft Dynamics AX client and its prerequisites. This example shows how to create an advertisement of the Microsoft Dynamics AX client package. 1. 2. In the Configuration Manager Console, right-click Advertisements, point to New, and then click Advertisement. On the General page of the New Advertisement Wizard, enter a name in the Name field. Click the Browse button for the Package field, and then click the package that you want to advertise. Click OK. Click the Browse button for the Collection field, click the collection, click OK, and then click Next. Microsoft Dynamics AX 2012 Installation Guide
80
Microsoft Dynamics AX 3. 4. 5. On the Schedule page, in the Advertisement start time fields, enter the date and time when the advertisement becomes available, and then click the asterisk (*) button for Mandatory Assignments. On the Assignment Schedule page, click Schedule, and then enter the same date and time that you entered in the Advertisement start time fields on the Schedule page. Click OK. On the Schedule page, select the check boxes for Enable Wake On LAN, Ignore maintenance windows when running program, and Allow system restart outside maintenance windows, and then click Next. Note: In your production environment, policies may require that you select different values for the assignment schedule than the values that are shown in this example. For more information about these options, see Advertisement Name Properties: Schedule Tab in the SCCM documentation. 6. Accept the default values on the remaining pages. On the Wizard Completed page, click Close. The package is advertised to the targeted collection, and the silent installation of Microsoft Dynamics AX client starts. For information about how to monitor the status of an advertisement, see How to View the Status of an Advertisement in the SCCM documentation. Resources for deploying the infrastructure This section includes resources that can help you understand and configure the infrastructure that is required if you want to deploy Microsoft Dynamics AX clients by using System Center Configuration Manager. Active Directory, DNS, and DHCP Active Directory Domain Services for Windows Server 2008 Windows Server 2008 Step-by-Step Guide for DNS in Small Networks DNS DHCP Server Installing SQL Server 2008 (SQL Server Video) SQL Server 2008 Security Overview for Database Administrators System Center Configuration Manager (SCCM) 2007 POC Installation Guidelines Configuration Manager Single Site Planning and Deployment Planning and Deploying Clients for Configuration Manager 2007
81
Microsoft Dynamics AX
3. 4.
Create a distribution point To publish the Microsoft Dynamics AX installation by using Group Policy, you must first create a distribution point on the publishing server. 1. 2. 3. 4. Log on to the server computer as an administrator. Create a shared network folder where you can put the .msi file for the Microsoft Dynamics AX client components. Set permissions on the shared network folder to allow access to the distribution package. Make sure that all users who must install Microsoft Dynamics AX have Read access to this directory. Install the package to the distribution point. From the folder where you saved the Microsoft Dynamics AX DVD image, run the msiexec tool. In the command, include the /a parameter, and specify the location of the distribution point. For example, you might use the following command to install the 64-bit Microsoft Dynamics AX client components to the distribution point:
msiexec /a ClientOba64.msi TARGETDIR=\\<Server>\<Directory>\<SharedFolder>)
Note: The msiexec tool lets you install, modify, and perform operations on Windows Installer files from the command line. For more information about how to use msiexec, see Msiexec (command-line options) on TechNet.
82
Microsoft Dynamics AX Create a transform for the ClientOba.msi file The .msi file for the Microsoft Dynamics AX client components must be modified before it can be published by using Group Policy. You can use the Orca database editor to modify .msi files. For more information about how to install and use Orca, see the Microsoft Knowledge Base article How to use the Orca database editor to edit Windows Installer files. 1. 2. 3. Open ClientOba.msi or ClientOba64.msi by using the Orca editor. Click Transform > New Transform. Select the features that you want to install. In the left pane, select the Feature table. In the right pane, use the Level column to specify whether features are installed on client computers. The following table shows the possible values.
Level 0 <150 >150 Description The feature is not available for installation. The feature is installed on the local hard disk. The feature is available for installation, but it is not installed by default.
Note: If you do not want a feature to be installed automatically on client computers, set the level to 0. If a parent feature has a level of 0, all child features are also unavailable. 4. Set information about the connection to Application Object Server (AOS). In the left pane, select the Property table. In the right pane, double-click to add a line for each property and value. The following table describes the properties that you can set.
Property AOS2 ClientAOSServer AOSPort AOSWSDLPort InstallDir Value (Required) Enter the name of the AOS instance that clients connect to. (Required) Enter the name of the AOS instance that clients connect to. Enter the TCP/IP port for the AOS. By default, the AOS uses port 2712. Enter the WSDL port for the AOS. By default, the AOS uses port 8101. (Required) Specify the location where program files for Microsoft Dynamics AX are installed. By default, the path is <Drive>:\Program Files\Microsoft Dynamics AX\60. InstallDir32 (Required for 64-bit operating systems) Specify the location where 32-bit versions of program files for Microsoft Dynamics AX are installed. You cannot specify the same path for both 64-bit files and 32-bit files. DirectExecute (Required) Enter 1 to enable the .msi file to be run directly.
5.
Click Transform > Generate Transform. Enter a name and location for the .mst file.
83
Microsoft Dynamics AX Create a Group Policy object An Active Directorybased Group Policy object (GPO) is a virtual collection of policy settings. Active Directorybased GPOs can be linked to a domain, site, or organizational unit. The settings in GPOs can be applied to users or computers. GPOs are stored in a domain and replicated to all the domain controllers for the domain. Use the following procedure to create a GPO that installs the Microsoft Dynamics AX client components. 1. 2. 3. 4. 5. 6. 7. 8. 9. On the domain controller, click Administrative Tools > Group Policy Management to open the Group Policy Management console. Under the domain for which you want to create a GPO, right-click Group Policy Objects and then click New. Specify a name for the GPO and then click OK. Select the new GPO and then click the Settings tab. Under User Configuration, right-click, and then select Edit to open the Group Policy Management Editor. Expand User Configuration > Policies > Software Settings. Right-click Software Installation, and then select New Package. Browse to the distribution point that you set up. Click Advanced. On the Deployment tab, select a deployment type of Published. On the Modification tab, select the .mst file that you created.
10. Click OK to finish configuring the GPO. (Optional) Update Group Policy settings on client computers Typically, after you modify group policy settings, you must wait a default update interval or restart the computer. The default update interval is 90 minutes on domain members and 5 minutes on domain controllers. However, if you want the changes to be applied immediately, you can run the Gpupdate utility at a command prompt. For more information about how to use the Gpupdate utility, see Gpupdate on TechNet.
84
Microsoft Dynamics AX
If you deploy the Microsoft Dynamics AX client by using one of these methods, we recommend that you configure clients to access configuration information from a file that is stored on a network share. A shared configuration file can reduce the time that you spend administering or troubleshooting clients.
2.
3.
85
Microsoft Dynamics AX
86
Microsoft Dynamics AX
4. 5. 6. 7.
8.
Microsoft Dynamics AX 9. On the Connect to an AOS instance page, enter the name of the computer that runs the Application Object Server (AOS) instance that you want to connect to. You can optionally specify the name of the AOS instance, the TCP/IP port number, and the WSDL port for services. If you do not know the name of the AOS instance or the port information, contact the Microsoft Dynamics AX administrator. Note: If you entered AOS connection information for other Microsoft Dynamics AX components that are installed on this computer, this page is not displayed. Subsequent installations on the same computer reuse the existing AOS connection. Click Next. 10. On the Prerequisite validation results page, resolve any errors. When no errors remain, click Next. 11. On the Ready to install page, click Install. 12. After the installation is completed, click Finish to close the wizard. 13. The first time that you open Excel or Word on a computer where the Office Add-ins component was installed, you are prompted to install the add-in. Click Install to continue with the installation.
88
Microsoft Dynamics AX
4. 5. 6. 7. 8.
89
Microsoft Dynamics AX
User not recognized error when you try to start the client
If you are not a user in the system, the client returns the following error: User not recognized. An administrative user can add you to the system as a user, and then assign you to the appropriate security roles. The person who installed Microsoft Dynamics AX is the first administrative user. For more information, see the Microsoft Dynamics AX Technical Library on TechNet.
90
Microsoft Dynamics AX
91
Microsoft Dynamics AX
4. 5. 6. 7.
8. 9.
10. After the installation is completed, click Finish to close the wizard.
92
Microsoft Dynamics AX
4. 5. 6. 7.
8.
93
Microsoft Dynamics AX 9. On the Connect to an AOS instance page, enter the name of the computer that runs the instance of Application Object Server (AOS) that you want to connect to. You can optionally specify the name of the AOS instance, the TCP/IP port number, and the WSDL port for services. Click Next. Note: If you entered information about the AOS connection for other Microsoft Dynamics AX components that are installed on this computer, this page is not displayed. Subsequent installations on the same computer reuse the existing AOS connection. 10. On the Prerequisite validation results page, resolve any errors. When no errors remain, click Next. 11. On the Ready to install page, click Install. 12. After the installation is completed, click Finish to close the wizard.
See Also
Visual Studio Integration
94
Microsoft Dynamics AX
4. 5. 6. 7.
8.
95
Microsoft Dynamics AX 10. On the Connect to an AOS instance page, enter the name of the computer that runs the instance of Application Object Server (AOS) that you want to connect to. You can optionally specify the name of the AOS instance, the TCP/IP port number, and the WSDL port for services. Click Next. Note: If you entered information about the AOS connection for other Microsoft Dynamics AX components that are installed on this computer, this page is not displayed. Subsequent installations on the same computer reuse the existing AOS connection. 11. On the Specify Business Connector proxy account information page, enter the password for the proxy account that is used by .NET Business Connector. Click Next. 12. On the Prerequisite validation results page, resolve any errors. When no errors remain, click Next. 13. On the Ready to install page, click Install. 14. After the installation is completed, click Finish to close the wizard.
96
Microsoft Dynamics AX
97
Microsoft Dynamics AX
98
Microsoft Dynamics AX
99
Microsoft Dynamics AX 2. Create a website that Setup will use to install the Microsoft Dynamics AX web services. You can create a new website or use an existing one, such as Default Web Site on IIS. See the IIS documentation for instructions about how to create a new website. Tip: For ease of administration, we recommend that you create a new website before installing Microsoft Dynamics AX web services.
4. 5. 6. 7.
8.
10. On the Configure IIS for Web services page, accept default values or provide information for the website, application pool, and virtual directory. Setup will create a virtual directory and an application pool for the Microsoft Dynamics AX web services under the selected website. The application pool will run as the .NET Business Connector proxy user that you entered in the previous step. Important: You must restart IIS after Setup installs the web services. Select Restart IIS after installation is complete to automatically restart IIS. Click Next to continue. 100 Microsoft Dynamics AX 2012 Installation Guide
Microsoft Dynamics AX 11. On the Specify an AOS account page, provide the service accounts for the AOS instances that you will use with web services on IIS. For more information about AOS accounts, see, Create service accounts. Click Next to continue. 12. On the Prerequisite validation results page, resolve any errors. When no errors remain, click Next. 13. On the Ready to install page, click Install. 14. After the installation is complete, click Finish to close the wizard.
Configure IIS
For IIS 7.0, use the following steps to configure the application pool that is associated with Microsoft Dynamics AX web services. This step is required to set the correct version of the .NET Framework. 1. 2. 3. 4. In Server Manager, Expand the Server Manager > Roles > Web Server (IIS) node and then click Internet Information Services (IIS) Manager. In the Connections pane, expand the node for your server name and then click Application Pools. In the Application Pools pane, right-click the application pool that is associated with the Microsoft Dynamics AX web services and click Basic Settings. In the Edit Application Pool dialog box, select .NET Framework 4.0 or a later version, such as V4.0.30319. Select Integrated from the Managed pipeline mode list. Notice that the Start application pool immediately option is selected. Click OK to return to Server Manager. Restart the server. Browse to the Microsoft Dynamics AX web services and confirm that the web server returns the WSDL page. Use the following example to create the URL to browse to the web service:
http://host_name:port_number/MicrosoftDynamicsAXAif60/xppservice.svc?wsdl
5. 6.
Microsoft Dynamics AX uses port 8101 by default. 7. Restart IIS after you have completed configuration.
101
Microsoft Dynamics AX 3. Click Validate. Verify that the Infolog dialog confirms: The website is configured properly. You can access the computer and the website.
For information about how to add or configure websites, see Add or configure websites. Note: When you install web services on IIS, a record for the new website is added to AifWebsites table. If you uninstall web services on IIS, this record is not deleted from the table. This record may cause a warning to be displayed if you reinstall web services on IIS. You can manually delete the record from the AifWebsites table or simply ignore the warning.
See Also
Walkthrough: Exchanging documents by using the HTTP adapter
102
Microsoft Dynamics AX
Microsoft Dynamics AX 4. 5. 6. 7. On the Select installation type page, click Custom installation, and then click Next. On the Select components page, select .NET Business Connector, and then click Next. On the Prerequisite validation results page, resolve any errors. For more information about how to resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next. If you are installing on a 64-bit operating system, the Select a file location page is displayed. Select the location where you want to install 32-bit versions of Microsoft Dynamics AX files, and then click Next. On the Select a display language page, select the language in which you want to run Microsoft Dynamics AX for the first time. Note: .NET Business Connector is a kind of Microsoft Dynamics AX client. Therefore, if .NET Business Connector is the first client that you install on a computer, Setup requires that you set the display language. 9. On the Specify a location for configuration settings page, specify whether you want .NET Business Connector to access configuration information from the registry on the local computer or from a shared configuration file. If you want to use a shared configuration file, you must enter the network location of the file. Click Next.
8.
10. On the Connect to an AOS instance page, enter the name of the computer that runs the instance of Application Object Server (AOS) that you want to connect to. You can optionally specify the name of the AOS instance, the TCP/IP port number, and the WSDL port for services. Click Next. Note: If you entered information about the AOS connection for other Microsoft Dynamics AX components that are installed on this computer, this page is not displayed. Subsequent installations on the same computer reuse the existing AOS connection. 11. On the Prerequisite validation results page, resolve any errors. When no errors remain, click Next. 12. On the Ready to install page, click Install. 13. After the installation is completed, click Finish to close the wizard.
104
Microsoft Dynamics AX
4. 5. 6. 7.
105
Microsoft Dynamics AX 8. On the Specify a location for configuration settings page, specify whether you want the synchronization proxy to access configuration information from the registry on the local computer or from a shared configuration file. If you want to use a shared configuration file, you must enter the network location of the file. Click Next. On the Connect to an AOS instance page, enter the name of the computer that runs the instance of Application Object Server (AOS) that you want to connect to. You can optionally specify the name of the AOS instance, the TCP/IP port number, and the WSDL port for services. Click Next. Note: If you entered information about the AOS connection for other Microsoft Dynamics AX components that are installed on this computer, this page is not displayed. Subsequent installations on the same computer reuse the existing AOS connection. 10. On the Specify Business Connector proxy account information page, enter the password for the proxy account that is used by .NET Business Connector. Click Next. 11. On the Synchronization proxy/Message Queuing: Enter the service account information page, enter the domain user account for the synchronization service, and then click Next. 12. On the Connect to Microsoft Project Server page, enter the name of the Project Server and the name of the database that is used for Project Server reporting. In the Project web access URL box, enter the URL of the website that is used to access Project Server. Note: If the synchronization proxy must connect to multiple URLs for Project Server, use the first URL when you install the synchronization proxy. However, you must then uninstall and reinstall the synchronization proxy. When you reinstall the synchronization proxy, use a different URL. Uninstalling the proxy does not affect the proxys ability to synchronize with URLs that were specified during previous installations. Click Next. 13. On the Prerequisite validation results page, resolve any errors. When no errors remain, click Next. 14. On the Ready to install page, click Install. 15. After the installation is completed, click Finish to close the wizard.
9.
106
Microsoft Dynamics AX
4. 5. 6.
107
Microsoft Dynamics AX 7. If you are installing the synchronization service on a 64-bit operating system, the Select a file location page is displayed. Select the location where you want 32-bit versions of Microsoft Dynamics AX files to be installed, and then click Next. On the Specify a location for configuration settings page, specify whether you want the synchronization service to access configuration information from the registry on the local computer or from a shared configuration file. If you want to use a shared configuration file, you must enter the network location of the file. Click Next. On the Connect to an AOS instance page, enter the name of the computer that runs the AOS instance that you want to connect to. You can optionally specify the name of the AOS instance, the TCP/IP port number, and the WSDL port for services. Click Next. Note: If you entered AOS connection information for other Microsoft Dynamics AX components that are installed on this computer, this page is not displayed. Subsequent installations on the same computer reuse the existing AOS connection. 10. On the Specify Business Connector proxy account information page, enter the password for the proxy account that is used by .NET Business Connector. Click Next. 11. On the Enter the password for the service account page, enter the account information for the synchronization service. Click Next. 12. On the Connect to a message queue page, specify whether you want to create a new message queue or connect to an existing message queue. If you want to create a new queue, Setup creates a private queue by default. Private queues can be accessed only from the local computer. Select Make this a public queue to allow other computers to access the queue. If you want to connect to an existing queue, enter the queue address.
8.
9.
Click Next. 13. On the Specify service accounts for synchronization message queues page, enter the service accounts that communicate through message queues. You must provide a domain account that is used by the Project Server eventing service, and the service account of at least one AOS instance. Otherwise, Setup cannot configure the correct permissions. Click Next. 14. On the Prerequisite validation results page, resolve any errors. When no errors remain, click Next. 15. On the Ready to install page, click Install. 16. After the installation is completed, click Finish to close the wizard.
108
Microsoft Dynamics AX
4. 5. 6. 7.
8.
109
Microsoft Dynamics AX 9. On the Connect to an AOS instance page, enter the name of the computer that runs the instance of Application Object Server (AOS) that you want to connect to. You can optionally specify the name of the AOS instance, the TCP/IP port number, and the WSDL port for services. Click Next. Note: If you entered information about the AOS connection for other Microsoft Dynamics AX components that are installed on this computer, this page is not displayed. Subsequent installations on the same computer reuse the existing AOS connection. 10. On the Prerequisite validation results page, resolve any errors. When no errors remain, click Next. 11. On the Ready to install page, click Install. 12. After the installation is complete, click Finish to close the wizard.
110
Microsoft Dynamics AX
111
Microsoft Dynamics AX
4. 5. 6. 7. 8.
112
Microsoft Dynamics AX
4. 5. 6. 7. 8.
113
Microsoft Dynamics AX
4. 5. 6. 7. 8.
114
Microsoft Dynamics AX
4. 5. 6. 7. 8.
115
Microsoft Dynamics AX
4. 5. 6. 7. 8.
116
Microsoft Dynamics AX
4. 5. 6. 7. 8.
117
Microsoft Dynamics AX
4. 5. 6.
118
Microsoft Dynamics AX 7. 8. 9. On the Microsoft Dynamics ERP RapidStart Connector page, enter the domain user account for the RapidStart Connector Windows service, and then click Next. On the Prerequisite validation results page, resolve any errors. When no errors remain, click Next. On the Ready to install page, click Install.
10. After the installation is completed, click Finish to close the wizard.
119
Microsoft Dynamics AX
Microsoft Dynamics AX 3. 4. 5. On the Select installation type page, click Single-computer installation, and then click Next. On the Prerequisite validation results page, resolve any errors. For more information about how to resolve prerequisite errors, see Check prerequisites. When no errors remain, click Next. On the Specify an AOS account page, select whether you want to use the Network Service account of the local computer or a domain account to run the Application Object Server (AOS) service. Click Next. On the Specify Business Connector proxy account information page, enter the name and password for the proxy account that is used for .NET Business Connector. Click Next. On the Prerequisite validation results page, resolve any errors. When no errors remain, click Next. On the Ready to install page, click Install. After the installation is completed, click Finish to close the wizard.
6. 7. 8. 9.
121
Microsoft Dynamics AX
Considerations You can install only one instance of .NET Business Connector on a computer. In an environment that has multiple AOS instances, use the Microsoft Dynamics AX Configuration utility to make sure that the instance of .NET Business Connector on the local computer connects to the correct AOS instance for the component that you are installing. In the utility, in the Configuration Target list, select Business Connector (non-interactive use only). On the Connection tab, verify that the correct AOS instance is displayed. For more information about how to use the Microsoft Dynamics AX Configuration utility, click the Help button in the utility.
122
Microsoft Dynamics AX
Microsoft Dynamics AX alone prerequisite validation utility on a representative client. When you use the utility to configure prerequisites, the log file indicates the commands that were used. By default, the log file is located at <Drive>\Users\<UserName>\AppData\Local\Microsoft Dynamics AX 6\Prerequisite Utility Logs\Date Time\Log.txt.
124
Microsoft Dynamics AX
125
Microsoft Dynamics AX
Firewall setting Exclude the port that is used by Reporting Services virtual directories, if Reporting Services uses a port other than port 80.
Notes
Analysis server
Exclude the port that is used by Analysis Services. By default, Analysis Services uses port 2383.
For more information about how to configure access to Analysis Services through Windows Firewall, see the SQL Server documentation on MSDN. The debugger uses a dynamically allocated TCP port.
If you are using SQL Server Browser, you must also exclude port 2382.
Debugger
Developer workstation
Exclude AxDebug.exe and its target programs, such as Ax32.exe and AxServ32.exe.
Web server
Enable the Web Server (HTTP). Exclude the port that is used by the Enterprise Portal website, if the site uses a port other than port 80.
If you do not enable the Web Server in Windows Firewall, you can view the site only from the local server.
Help Server
Web server
Exclude the port that is used by the Help Server website, if the site uses a port other than port 80.
Enterprise Search
Web server
Exclude the port that is used by the Search website, if the site uses a port other than port 80.
Web services
Web server
Exclude the port that is used by the services website, if the site uses a port other than port 80.
External programs use this port to consume the Microsoft Dynamics AX web services that are based on Internet Information Services (IIS).
Management utilities
You must enable Remote Administration on computers that are administered remotely by using Windows PowerShell. For example, enable Remote Administration on a computer if you deploy reports to that computer from another computer where Windows PowerShell is installed.
126
Microsoft Dynamics AX
Additionally, the following topics can help you find solutions for issues that may occur when you install individual Microsoft Dynamics AX components: Troubleshoot installation issues with AOS Troubleshoot installation issues with client components Troubleshoot installation issues with the developer tools
Setup fails
If Setup fails, view the setup log that is created every time that Microsoft Dynamics AX is installed. 1. 2. Open the setup log file. By default, the path of this file is \%AllUsersProfile%\Microsoft\Dynamics AX\Dynamics AX Setup Logs\Date Time\DynamicsSetupLog.txt. Find the error message that was generated by the failure. For detailed information, review the information immediately after the error message in the log.
Exception: System.Runtime.InteropServices.COMException
During installation, Setup verifies the operating system version of the computer. If Setup is unable to verify the operating system version, Setup can fail. When this issue occurs, the log file displays the message Setup encountered an unhandled exception and could not be completed and the message Exception: System.Runtime.InteropServices.COMException. To work around this issue, restart the computer and run Setup again.
127
Microsoft Dynamics AX
The following table shows the supported and unsupported DPI and resolution settings for Windows Vista and Windows Server 2008.
DPI 96 120 Resolution 800 x 600 800 x 600 Supported/Not supported Not supported Not supported
128
Microsoft Dynamics AX
DPI 96
Supported/Not supported Supported Note: This resolution is not supported on Chinese operating systems.
120
1024 x 768
1152 x 864 1152 x 864 1280 x 1024 1280 x 1024 1600 x 1200 1600 x 1200
129
Microsoft Dynamics AX
Required restart after you install the Microsoft .NET Framework version 4.0
Most of the time, a pending restart of the computer is not considered a mandatory prerequisite. However, if you just installed the Microsoft .NET Framework version 4.0, the installation of some components may fail if you do not restart the computer. To avoid issues, we recommend that you restart the computer after you install the .NET Framework version 4.0.
Prerequisite check failure for the Microsoft SQL Server Reporting Services service
If you are running the stand-alone prerequisite validation utility, you cannot select the instance of Microsoft SQL Server Reporting Services that is validated for the Reporting Services extensions. By default, the utility validates the first instance that matches the supported version. If multiple instances of Reporting Services are installed, and the instance that the utility validates is not running, the prerequisite check fails. When you run the Setup wizard, you can select a specific instance. In this case, the prerequisite check passes.
Prerequisite check failure for Microsoft Visual Studio 2010 Tools for the Microsoft Office system
The following prerequisites may conflict with each other: Required updates for Microsoft Visual Studio 2010 Visual Studio 2010 Tools for the Microsoft Office system
If you must install both prerequisites on the same computer, we recommend that you install the required updates for Visual Studio first. If you install the Visual Studio updates later, an older version of Visual Studio 2010 Tools for Microsoft Office is installed, and the Office Add-ins for Microsoft Dynamics AX may not work correctly.
130
Microsoft Dynamics AX
Prerequisite check warning for the startup type of the SQL Server Fulltext Filter Daemon Launcher service
If multiple instances of SQL Server are installed, the prerequisite check for the startup type of the SQL Server Full-text Daemon Launcher service may generate a warning, even if the startup type is set correctly. This warning is generated because Setup verifies the prerequisite for the default instance of SQL Server instead of the instance that you selected. There is a workaround for this issue. For the instance of SQL Server where you are installing Microsoft Dynamics AX components, make sure that the startup type for the SQL Server Full-text Daemon Launcher service is set to Automatic. If the startup type is set correctly, you can ignore the prerequisite warning and continue with the installation.
131