

Installing Guide
Rev. 4.0.0
Downloaded from www.sonomapartners.com

Information in this document, including URL and other Internet Web site references, is subject to change without notice. Unless otherwise noted, the companies, organizations, products, domain names, e-mail addresses, logos, people, places, and events depicted in examples herein are fictitious. No association with any real company, organization, product, domain name, e-mail address, logo, person, place, or event is intended or should be inferred. Complying with all applicable copyright laws is the responsibility of the user. Without limiting the rights under copyright, no part of this document may be reproduced, stored in or introduced into a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or otherwise), or for any purpose, without the express written permission of Microsoft Corporation.
Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this document. Except as expressly provided in any written license agreement from Microsoft, the furnishing of this document does not give you any license to these patents, trademarks, copyrights, or other intellectual property.
© 2007 Microsoft Corporation. All rights reserved.
Your right to copy this documentation is limited by copyright law and the terms of the software license agreement. As the software licensee, you may make a reasonable number of copies or printouts for your own use. Making unauthorized copies, adaptations, compilations, or derivative works for commercial distribution is prohibited and constitutes a punishable violation of the law.
Microsoft, MS-DOS, Windows, Windows Server, Windows Vista, Microsoft Dynamics, Active Directory, BizTalk, and Outlook are trademarks of the Microsoft group of companies.
All other trademarks are property of their respective owners.


Welcome to the Microsoft Dynamics CRM 4.0 Installing Guide. This guide is part of a comprehensive set of documents that describe how to plan, implement, and operate Microsoft Dynamics CRM versions installed and maintained at the organization’s premises (on-premise versions).
The Microsoft Dynamics CRM 4.0 Implementation Guide consists of the following three documents:
o Technical. These topics focus on such areas as the supported topologies, system requirements, and technical considerations to address before installation.
o Implementation Methodology. Learn about the business management, CRM requirements and project-management aspects that are needed when you deploy a CRM system. In addition, there are several documents that you can use as tools to plan the implementation of Microsoft Dynamics CRM, which are in the planningtools folder where the Microsoft Dynamics CRM 4.0 Implementation Guide is located.
Installing Microsoft Dynamics CRM 4.0, just like any enterprise-wide software, is a significant task for any organization. This guide is written for the individual or team responsible for installing Microsoft Dynamics CRM.
This guide also assumes that the required steps have been completed for planning and the information collecting that is needed before you install Microsoft Dynamics CRM. Organizations implementing Microsoft Dynamics CRM software might use the services of an independent software vendor (ISV) or value-added reseller, a consultant, or other organization partnering with Microsoft. These professionals can help you with implementing and maintaining Microsoft Dynamics CRM. Because of this assumption, there may be references in this guide to these partners who are expected to provide various services to you.
Microsoft Dynamics CRM 4.0 offers several editions that cover various implementations for small, to mid-level, to even very large organizations.

(when available). This version is limited to a single organization and a single computer that is running Microsoft Dynamics CRM Server.
A Microsoft Dynamics CRM 4.0 deployment operates by using a single license key. Unlike earlier versions, Microsoft Dynamics CRM 4.0 no longer requires additional license keys to be added when changes are made, such as adding more client access licenses (CALs). The single license key contains the Microsoft Dynamics CRM version, server license, and the CALs.
You can view and upgrade a license in Deployment Manager.
Microsoft Dynamics CRM 4.0 has the following CAL types:
You can view and modify client-access license types for each user in the Users area of the Settings area in the Microsoft Dynamics CRM Web client.
Microsoft Dynamics CRM 4.0 includes several new features that offer flexibility, scalability, and ease of use.
Earlier versions of Microsoft Dynamics CRM Server were a single-organization solution. Microsoft Dynamics CRM 4.0 lets you host multiple organizations in a single deployment. This feature is a great benefit for hosted solutions or businesses that require a separation of data inside the organization. Microsoft Dynamics CRM 4.0 now implements two types of databases:

Microsoft Dynamics CRM 4.0 Enterprise introduces two new server roles that provide services, which increase flexibility and scalability. You can decide to have a computer dedicated to one server role or to both.
The server roles selected and installed during Setup are as follows:
The Microsoft Dynamics CRM 4.0 Connector for Microsoft SQL Server Reporting Services is a service that connects the Microsoft Dynamics CRM Server computer to the Microsoft SQL Report Server computer. The Microsoft Dynamics CRM 4.0 Connector for SQL Reporting Services eliminates the Kerberos double-hop authentication that was required for Microsoft Dynamics CRM 3.0 deployments when SQL Server Reporting Services was installed on a separate computer.
The Microsoft Dynamics CRM 4.0 Connector for SQL Reporting Services is installed as a separate component.
A Microsoft Dynamics CRM 4.0 Language Pack lets users display the Microsoft Dynamics CRM 4.0 user interface in a different language than the base language. Also, users can display Help in a language that differs from both the base language and the language displayed in the Microsoft Dynamics CRM 4.0 user interface.
Multiple currencies are now supported for transaction-based records.
The Resource Center is a place in the application where users, administrators, and implementers will find information to help them use and configure Microsoft Dynamics CRM 4.0. The Resource Center presents rich content and links to valuable information. Much of the content in the Resource Center is created by experts in the Microsoft Dynamics CRM community.
New data management features are tools to load data into most entities in Microsoft Dynamics CRM 4.0, and ways to make sure of data quality by detecting and merging duplicate records. These features can help you as follows:

o When you import records.
o When you create or update a record.
o When the Microsoft Dynamics CRM for Microsoft Office Outlook goes from offline to online, or because of a workflow action.
Several of the new customization features include the following features:

The new workflow features include the following options:
The Microsoft Dynamics CRM 4.0 E-mail Router includes the following new features:
The Microsoft Dynamics CRM 4.0 for Outlook includes the following new features:

We appreciate hearing from you. To send your feedback, click the following link and type your comments in the message body.
Send Feedback

In this chapter you will find the procedures to install Microsoft Dynamics CRM Server. In addition, there is installation troubleshooting information and the procedures to uninstall Microsoft Dynamics CRM Server.
This chapter assumes that you have completed all the necessary planning that is required for both the business management and technical aspects of a CRM system. Because of the importance of this planning, we recommend that you review the information in the Microsoft Dynamics CRM 4.0 Planning Guide, before you install Microsoft Dynamics CRM.
Microsoft Dynamics CRM has many software component requirements. For more information about these requirements, see Chapter 2, System Requirements and Required Components.
For the most up-to-date information about Microsoft Dynamics CRM, refer to the Readme located at http://go.microsoft.com/fwlink/?LinkID=78157
In this chapter, the following topics are discussed:

This section describes what is installed during Microsoft Dynamics CRM Server Setup.
When Microsoft Dynamics CRM Server is installed on the server, the default folders, listed in the following table, are created.
<systemdrive>:\Program Files\Microsoft CRM\ Microsoft Dynamics CRM Server program files
<systemdrive>:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\
Microsoft Dynamics CRM installs the Microsoft Dynamics CRM configuration database and organization databases in this folder. This folder is created by Microsoft SQL Server.
<systemdrive>:\Program Files\Microsoft CRM\Tools Microsoft Dynamics CRM tools and tool components.
systemdrive>:\Program Files\Microsoft CRM\Reports
Contains a Microsoft Dynamics CRM subfolder that contains an .rdl file for each default report.
systemdrive>:\Program Files\Microsoft CRM SRS Data Connector
Microsoft Dynamics CRM 4.0 Connector for SQL Server Reporting Services
systemdrive>:\Program Files\Microsoft CRM\LangPacks Location of Language Pack installations. Language Packs are downloaded and installed separately.
systemdrive>:\Program Files\Microsoft CRM\Trace Stores trace file logs when tracing is enabled.
<systemdrive>:\Inetpub\wwwroot\MSCRMServices Microsoft Dynamics CRM Web services
<systemdrive>:\Inetpub\wwwroot\CRMReports Microsoft Dynamics CRM report services
The following Web components are added.
Application Pool CRMAppPool Microsoft Dynamics CRM Server Setup creates a separate application pool for the Microsoft Dynamics CRM application.
Virtual Roots Microsoft Dynamics CRM Web site for Microsoft Dynamics CRM.
The following Active Directory groups are added. Notice that, when the Active Directory domain is set to Native Mmode, this group must be of the type Domain Local Security or Universal Security.
Folder Comments · Component Name Description · Group Description

PrivReportingGroup Privileged Microsoft Dynamics CRM user group for reporting functions. This group is created during Microsoft Dynamics CRM Server Setup and configured during Microsoft Dynamics CRM Connector for SQL Server Reporting Services Setup.
PrivUserGroup Privileged Microsoft Dynamics CRM user group for special administrative functions; including CRMAppPool identity (domain user or NetworkService). The users who configure Microsoft Dynamics CRM Server must be added to this group.
SQLAccessGroup All server processes/service accounts that require access to SQL Server; including CRMAppPool identity (domain user or NetworkService).
ReportingGroup All Microsoft Dynamics CRM users are included in this group. This group is updated automatically as users are added and removed from Microsoft Dynamics CRM. By default, all Microsoft Dynamics CRM Reporting Services reports grant Browse permission to this group.
UserGroup All Microsoft Dynamics CRM users are included in this group. This group is updated automatically as users are added and removed from Microsoft Dynamics CRM.
The following service is added.
Microsoft Dynamics CRM Asynchronous Processing Service
Services asynchronous processes such as bulk e-mail, workflow, and database deletion clean-up.
If not already installed, the following components are installed during Microsoft Dynamics CRM Server Setup.
o .NET Framework 2.0 (required by Microsoft Dynamics CRM Server)
o Windows Workflow Foundation (required by Microsoft Dynamics CRM Server)
o Windows Presentation Foundation
o Windows Communication Foundation
The following products and solutions are not supported by Microsoft Dynamics CRM 4.0 and will not be upgraded during Microsoft Dynamics CRM Setup. If you upgrade a Microsoft Dynamics
Group Description · Service Description

CRM 3.0 system that includes these products or solutions, or you install these components after installing Microsoft Dynamics CRM 4.0, these products or solutions may not function correctly.
Upgrade Multiple Deployments of Microsoft Dynamics CRM 3.0 That Share an Instance of SQL Server
If you have multiple Microsoft Dynamics CRM 3.0 deployments running on a single instance of SQL Server and you plan to upgrade all deployments to Microsoft Dynamics CRM 4.0, you have three options available to complete the upgrade. Notice that you cannot install multiple Microsoft Dynamics CRM 4.0 deployments by using a single instance of SQL Server. This is because only one configuration database (MSCRM_Config) can exist on an instance of SQL Server.
If you want to combine all Microsoft Dynamics CRM 3.0 deployments into a single deployment by using the Microsoft Dynamics CRM 4.0 multi-tenancy feature, you can use the Import Organization wizard that is located in the Organization node in the Microsoft Dynamics CRM 4.0 Deployment Manager. Notice that only Microsoft Dynamics CRM 4.0 Enterprise supports multiple organizations in the deployment.
If you upgrade the Microsoft Dynamics CRM 3.0 deployment and the SQL Server hosts multiple installations of the Microsoft Dynamics CRM 3.0 databases, you must select one of the following options to complete the upgrade.
First, you must upgrade one of the Microsoft Dynamics CRM 3.0 environments by running Microsoft Dynamics CRM 4.0 Server Setup. This will create the configuration database and merge the Microsoft Dynamics CRM 3.0 databases into a single organization database.
Next, you must upgrade the second Microsoft Dynamics CRM 3.0 environment. To do this, you must select one of the following options to complete the upgrade.
To implement this option, follow these steps.

How to move Microsoft Dynamics CRM 3.0 SQL databases from one server to a different server that is in the same domain
For this option, you will run Microsoft Dynamics CRM Server Setup again to create a new configuration database, and then import the organization from the previous upgrade
To implement this option, follow these steps.
7. Run Microsoft Dynamics CRM 4.0 Server Setup, select to connect to an existing deployment, and then specify the instance of SQL Server that maintains the configuration database. The instance of SQL Server to specify must be that which was specified during the last Microsoft Dynamics CRM 3.0 environment that you upgraded. If you want to have multiple Microsoft Dynamics CRM Web servers in your deployment, you can complete this step to associate the Microsoft Dynamics CRM Web application with the correct deployment.

To implement this option, follow these steps.
The SQL Server Reporting Services server cannot be shared by more than one Microsoft Dynamics CRM deployment. The Microsoft Dynamics CRM 4.0 Connector for SQL Server Reporting Services can only manage authentication for a single Microsoft Dynamics CRM deployment
Microsoft Dynamics CRM Enterprise supports multiple organizations in a single Microsoft Dynamics CRM 4.0 deployment. However, you cannot install multiple deployments of Microsoft Dynamics CRM 4.0, which would require multiple configuration databases. Moreover, you cannot share the same SQL Server Reporting Services server with a single Microsoft Dynamics CRM 4.0 deployment.
Herein you will find the procedures to install Microsoft Dynamics CRM Server on a computer that does not already have Microsoft Dynamics CRM installed. The high-level steps to complete the installation of Microsoft Dynamics CRM Server are as follows:

Install Microsoft Dynamics CRM Server on a Server without Microsoft Dynamics CRM Installed

Installing these components may require that you restart the computer. If you are prompted to restart the computer, do so, and then start Setup again.
The installation of Microsoft .NET Framework 3.0 can take up to 10 minutes to install. 9. If you are installing Microsoft Dynamics CRM 4.0 Enterprise, the Specify Setup Type page appears. Click Typical to install all server roles on the computer or click Custom for a specific server role group. When you click Custom, there are two server role groups available, Application Server Role, which has services that provide users access to data and content, and Platform Server Role, which has services that process data. For more information about server roles, see the Planning Deployment chapter in the Microsoft Dynamics CRM 4.0 Planning Guide.
When you select Create new databases, Setup creates a new organization database using the name that you specified and a configuration database using the name MSCRM_CONFIG. An error message will appear if an MSCRM_CONFIG database already exists. You must delete this database to create a new MSCRM_CONFIG database.
When you select Connect to existing databases, Setup requires that a Configuration Database (MSCRM_CONFIG) already exist on the computer that is running SQL Server. An error message will appear if an MSCRM_CONFIG database does not already exist.
Microsoft Dynamics CRM 3.0 or earlier version databases are not supported.
11. On the Specify the Organization Name page, type the name of your organization in the Display name box. In the Name box you can keep the name that Setup presents or you can type a unique name that must be limited to 30 characters. Spaces and extended characters are not allowed. In the Database collation list, select the database collation that the organization database will use to sort and compare data characters. Then, click Browse, select the ISO currency code that you will use as the base currency for the organization in the list, click OK, and then click Next.

After Setup is complete, you cannot change the database collation or the base ISO currency code. However, you can change the base currency name and base currency symbol.
The Organization Name box is limited to the standard ASCII character set (A-Z, 0-9, and _). In addition, the name must be unique to the deployment and cannot begin with a number or underscore (_) character.
Note By default, the Customer Experience Improvement Program feature in Microsoft Dynamics CRM is turned on. If later you decide that you do not want to participate in the Customer Experience Improvement Program, you can turn off this feature in the Microsoft Dynamics CRM Web application. To do this, in the Navigation Pane, click Settings, under Settings, click Administration, in the Administration area click Privacy Preferences, in the Privacy Preferences dialog box clear the Yes, I am willing to participate anonymously in the Customer Experience Improvement Program check box, and then click OK.
We recommend that you select the Create new Web site option and Setup will create a new Web site for Microsoft Dynamics CRM Server. If you a create a new Web site, the following option:

Note If you select to run the ASP.NET service under a domain user account that is not a domain administrator or a local administrator, you must set a local security policy after you install Microsoft Dynamics CRM Server for the ASP.NET service to work correctly. Also, depending on the password policies you have implemented for your organization, the password for the user may expire. For more information, see the Microsoft Knowledge Base article 329290,
How to use the ASP.NET utility to encrypt credentials and session state connection strings
To complete the installation of Microsoft Dynamics CRM Server, you must install the Microsoft Dynamics CRM 4.0 Connector for SQL Server Reporting Services. For instructions about how to install the Microsoft Dynamics CRM 4.0 Connector for Microsoft SQL Server Reporting Services, see the following section.
You cannot install the Microsoft Dynamics CRM 4.0 Connector for SQL Server Reporting Services before you install Microsoft Dynamics CRM Server.
By default, Setup turns on HTTP compression on the server that is running IIS where the Microsoft Dynamics CRM Server Web application is installed. If you use another method to compress HTTP communications, you may want to turn this feature off. To do this, start IIS Manager, right-click the Web Sites folder, click the Service tab, and then clear Compress application files and Compress static files.

In this section you will find the procedures to install Microsoft Dynamics CRM Server on a computer that already has Microsoft Dynamics CRM 3.0 installed. The high-level steps to complete the installation of Microsoft Dynamics CRM Server are as follows:
We strongly recommend that you back up your existing Microsoft Dynamics CRM data, including all reports and customizations, before you run Setup. In addition, we recommend the following backup strategy be implemented before you run Setup:
For more information about database backup and restore, see the SQL Server Management Studio Help.
You cannot upgrade versions of Microsoft Dynamics CRM that are earlier than Microsoft Dynamics CRM 3.0 to Microsoft Dynamics CRM 4.0. For example, to upgrade Microsoft CRM 1.2, you must first upgrade that version to Microsoft Dynamics CRM 3.0, and then run Microsoft Dynamics CRM Server Setup. For information about planning, business management, and what happens to Microsoft Dynamics CRM 3.0 during upgrade, see the Microsoft Dynamics CRM 4.0 Planning Guide.
Important If your existing Microsoft Dynamics CRM 3.0 deployment includes two or more organizations running on a single instance of SQL Server, or it shares a single SQL Reporting Services server, you must complete specific tasks before and after you run Setup. These tasks are described in the previous topic “How to Upgrade Multiple Deployments of Microsoft Dynamics CRM 3.0 That Share an Instance of SQL Server.”

These components are required before Microsoft Dynamics CRM can be installed. You can exit Setup and install the components manually, or select Install. The Next button on this page is disabled until Setup detects that these components are installed.
Installing these components may require that you restart the computer. If you are prompted to restart the computer, do so, and then start Setup again.
The 32-bit installation of .NET Framework 3.0 can take up to 10 minutes to install.
10. On the Specify the Organization Name page, type the name of your organization in the Display name box. In the Name box you can keep the name that Setup presents or you can type a unique name that must be limited to 30 characters. Notice that spaces and extended characters are not allowed. In the Database collation list, select the database collation that the organization database will use to sort and compare data characters. Then, click Browse, select the ISO currency code that you will use as the base currency for the organization in the list, click OK, and then click Next.
After Setup is complete, you cannot change the database collation or the base ISO currency code. However, you can change the base currency name and base currency symbol.
The Organization Name box is limited to the standard ASCII character set (A-Z, 0-9, and _). In addition, the name must be unique to the deployment and cannot begin with a number or underscore (_) character.
Note By default, the Customer Experience Improvement Program feature in Microsoft Dynamics CRM is turned on. If you use a third party to install or configure the Microsoft Dynamics CRM software on the computer system and you want to participate in the Microsoft Customer Experience Improvement Program, you should instruct the third-party provider to accept the invitation to participate in the Customer Experience Improvement Program on your behalf. If you decide that you do not want to participate in the Customer Experience

Improvement Program after the third-party provider accepts the invitation on your organization’s behalf, you can turn off this feature in the Microsoft Dynamics CRM Web application. To do this, in the Navigation Pane, click Settings, under Settings, click Administration, in the Administration area click Privacy Preferences, in the Privacy Preferences dialog box clear the Yes, I am willing to participate anonymously in the Customer Experience Improvement Program check box, and then click OK.
12. On the Specify Reporting Services Server page, you can keep the existing Report Server URL or type a new URL for the Report Server. When typing a new URL, make sure that you use the Report Server URL, not the Report Manager URL. To verify that you are using the correct URL, in a browser, type the Report Server URL as the address. You should see a page titled /ReportServer - /: with text that displays the version number: Microsoft SQL Server Reporting Services Version . Click Next.
Note If you select to run the ASP.NET service under a domain user account that is not either a domain administrator or a local administrator, you must set a local security policy after you install Microsoft Dynamics CRM Server for the ASP.NET service to work correctly. Also, depending on the password policies you have implemented for your organization, the password for the user may expire. For more information, see the Microsoft Knowledge Base article 329290, How to use the ASP.NET utility to encrypt credentials and session state connection strings

You cannot install the Microsoft Dynamics CRM 4.0 Connector for SQL Server Reporting Services before you install Microsoft Dynamics CRM Server.
By default, Setup turns on HTTP compression on the server that is running IIS where the Microsoft Dynamics CRM Server Web application is installed. If you use another method to compress HTTP communications, you may want to turn this feature off. To do this, start IIS Manager, right-click the Web Sites folder, click Properties, click the Service tab, and then clear Compress application files and Compress static files.
The Microsoft Dynamics CRM 4.0 Connector for SQL Server Reporting Services has the following requirements:
To install the Microsoft Dynamics CRM 4.0 Connector for SQL Server Reporting Services, locate the Microsoft Dynamics CRM installation files, and follow these steps:
Microsoft Dynamics CRM users who use the Report Viewer control that is included with Microsoft Visual Studio 2005 can view information from the reports that they have access to. By using this control, the user can view additional report and session data that is not displayed when running the report in Microsoft Dynamics CRM. To reduce the risk of exposing confidential data, we recommend that you configure the SQL Server Reporting Services Web site where the Microsoft Dynamics CRM 4.0 Connector for SQL Server Reporting Services is installed to allow only secure sockets layer (SSL), also known as Secure HTTP, connections. For more information about how to configure SSL for IIS, see the Internet Information Services (IIS) Manager Help.
To reduce the risk of certain security vulnerabilities, we strongly recommend that you use different Active Directory accounts for the application pools used to run the Microsoft Dynamics CRM Server and SQL Server Reporting Services Web sites. For more information, see the following topic “Potential Security Risk When You Run Microsoft Dynamics CRM Server by Using the Same User Account as Microsoft Dynamics CRM Connector for SQL Server Reporting Services."

If you have already installed the required components, this page will not appear.
If you have not installed the required components listed, you can install them now. Click Install. When the components are installed, the status column will change from Missing to Installed, and you can click Next to continue.
Installing these components may require that you restart the computer. If you are prompted to restart the computer, do so, and then start Setup again.
The 32-bit installation of .NET Framework 3.0 can take up to 10 minutes to install.
6. The System Requirements page appears. This page is a summary of the requirements for a successful Microsoft Dynamics CRM 4.0 Connector for SQL Server Reporting Services installation. Failed tests must be corrected before installation can continue. If a problem will take time to correct, cancel Setup at this point, fix the problem and restart Setup again. All errors must be resolved. If no errors or only warnings appear, you can continue with the installation. To do this, click Next.
Potential Security Risk When You Run Microsoft Dynamics CRM Server by Using the Same User Account as Microsoft Dynamics CRM 4.0 Connector for SQL Server Reporting Services
Depending on how you configure the accounts that will be used to run the Microsoft Dynamics CRM Connector for SQL Server Reporting Services and Microsoft Dynamics CRM Server services, certain security vulnerablities can exist. These vulnerabilities include unintended elevated privilege or SQL injection attacks. These security vulnerabilities are especially problematic when the Microsoft Dynamics CRM Server is configured for Internet access. These vulnerabilities can exist when either of the following configurations exists:

configure both applications to use the Network Service account or the same Active Directory domain user account.
Because of these potential risks, we strongly recommend that you specify and maintain different Active Directory user accounts to run the application pools that are used by Microsoft Dynamics CRM Server and the SQL Server Reporting Services where the Microsoft Dynamics CRM 4.0 Connector for SQL Server Reporting Services is installed.
To help make data more secure, before you install the Microsoft Dynamics CRM 4.0 Connector for SQL Server Reporting Services, we recommend that you select one of the following Microsoft Dynamics CRM deployment options:
After you complete Microsoft Dynamics CRM Server Setup, you can follow these steps to determine the account that is used for each application pool.
For more information about SQL injection attacks, see the MSDN article Building Secure ASP.NET Applications: Authentication, Authorization, and Secure Communication.

Full versions of Microsoft Dynamics CRM must be registered within 30 days of installing Microsoft Dynamics CRM Server. Trial and prerelease versions are not registered.
Completing registration alerts Microsoft to that your deployment of Microsoft Dynamics CRM is licensed and therefore eligible for benefits and support. Registration requires a working connection to the Internet. To register Microsoft Dynamics CRM, on the computer where Microsoft Dynamics CRM Server is installed, click Start, point to All Programs, point to Microsoft Dynamics CRM 4.0, and then click Registration Wizard. Then, follow the instructions on your screen.
This section provides information about the tasks and configuration settings to be completed after you install Microsoft Dynamics CRM Server.
You use Deployment Manager to create, enable, and disable organizations, enable and disable servers, and view and upgrade licenses for Microsoft Dynamics CRM Server. Deployment Manager is a Microsoft Management Console (MMC) snap-in that is installed on the computer where Microsoft Dynamics CRM Server is installed.
To run Deployment Manager, you must have the Deployment Administrator role. During Microsoft Dynamics CRM Server Setup, the user running Setup is automatically added as a member of this role. The Deployment Administrator role is granted or removed in the Deployment Administrators node in Deployment Manager. This role cannot be managed in the Microsoft Dynamics CRM client applications.
For more information about this role, see the Deployment Manager Help.
When you add a Deployment Administrator role to a user, Deployment Manager does not add the required permissions on the instance of SQL Server where the Microsoft Dynamics CRM databases are stored. When the user tries to start Deployment Manager, the user might receive an “Unable to access the MSCRM_CONFIG database. SQL Server does not exist or access denied” error message. To resolve this issue, you must add the user to SQL log-ins by using SQL Server Management Studio.
Sample data is available and can be used to train users on Microsoft Dynamics CRM. You use Data Migration Manager to migrate the sample data into Microsoft Dynamics CRM.

You can download the sample data and a data map (a file that contains information about how data from a source system corresponds to data in Microsoft Dynamics CRM) for the sample data, and then use Data Migration Manager to migrate the sample data. Make sure that you note the name of the migration so that you can easily delete the sample data when you are finished using it.
For more information, view the following Web site:
Microsoft Dynamics CRM Sample Data (http://go.microsoft.com/fwlink/?LinkId=100866).
This section describes how to troubleshoot installation and known issues.
Setup creates log files that can be reviewed and used for troubleshooting. By default, the location of the log files, where User is the account of the user who ran Setup, is as follows:
:\Documents and Settings\\Application Data\Microsoft\MSCRM\Logs\
This section describes how to troubleshoot Microsoft Dynamics CRM Server installation issues.
A common reason that Setup cannot locate the organizational unit is because of name-resolution problems. To verify that the organizational unit that you specify can be resolved, run the Active Directory Users and Computers snap-in on the computer where you are running Microsoft Dynamics CRM Server Setup. To do this, click Start, click Run, type dsa.msc, and then click OK. In the Active Directory Users and Computers snap-in, expand the domain, and then verify that you can view the organizational unit where you want to install Microsoft Dynamics CRM. If you cannot connect to the domain or view the organizational unit using Active Directory Users and Computers, verify that DNS is configured and functioning correctly. After the problem is resolved, run Setup again.
Setup fails or client receives an unhandled exception when trying to connect after installing Microsoft Dynamics CRM Server
Setup may not complete successfully or any of the Microsoft Dynamics CRM 4.0 clients may receive an error message when trying to connect to the Microsoft Dynamics CRM Server that is similar to items in the following list:
Exception from HRESULT. 0x80048306.
Description. An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details. System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x80048306.

Source Error. An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
This problem can occur if you run Microsoft Dynamics CRM Server Setup when the following conditions are true:
To resolve this issue, you must manually add the correct membership to each of the required security groups in Active Directory, and then run Microsoft Dynamics CRM Server Setup again.
To manually add the objects to Active Directory, use Active Directory Users and Computers. You must add the following users and computers to each security group:
Security Group Object Type Description
PrivUserGroup User User who is running Microsoft Dynamics CRM Server Setup.
PrivUserGroup Computer Computer where Microsoft Dynamics CRM Server is installed.
PrivUserGroup Computer Computer where Microsoft Exchange Server is installed (if using the E-mail Router).
SQLAccessGroup Computer Computer where Microsoft Dynamics CRM Server is installed.
PrivReportingGroup Computer Computer where the Microsoft Dynamics CRM 4.0 Connector for SQL Server Reporting Services is installed.
Because of changes in reporting functionality with Microsoft Dynamics CRM 4.0, some reports cannot be upgraded. Although Setup indicates that the upgrade was not successful, in most cases the rest of the Microsoft Dynamics CRM 4.0 application will function as expected. For a list of those reports including an explanation, see the server Setup log file. By default, the log file is located in <systemdrive>:\Documents and Settings\\Application Data\Microsoft\MSCRM\Logs\crm40svrsetup.log. The reporting upgrade information is located near the end of the log file because report upgrade is one of the last stages of upgrade.
For more information about how reports are upgraded, see Planning Deployment, which is in the Planning Guide that is part of this document set.
o PrivUserGroup · o SQLAccessGroup · o PrivReportingGroup

Because of changes in workflow and sales process functionality with Microsoft Dynamics CRM 4.0, some workflows cannot be upgraded. Although Setup indicates that the upgrade was not successful, in most cases the rest of the Microsoft Dynamics CRM 4.0 application will function as expected.
For a list of those workflows, including an explanation, see the server Setup log file. By default, the log file is located at:
<systemdrive>:\Documents and Settings\\Application Data\Microsoft\MSCRM\Logs\crm40svrsetup.log
For more information about how workflows are upgraded, see “Chapter 4: Planning Deployment” in the Microsoft Dynamics CRM 4.0 Planning Guide.
In Microsoft Dynamics CRM 3.0, only sales processes could include stages, and they were only able to take action on the Opportunity entity. In other words, sales processes were a special type of workflow. In Microsoft Dynamics CRM 4.0, all workflows support stages on all types of entities. Therefore, all Microsoft Dynamics 3.0 sales processes are converted to standard workflows during the upgrade process. If the upgrade is successful, the underlying logic of the new workflow is unaffected, including stages and the primary entity (Opportunity).
Workflows that include references to objects that are invalid or do not exist cannot be upgraded
If a Microsoft Dynamics CRM 3.0 workflow references a record, entity, attachment, or other type of object that is invalid or does not exist on the server that is being upgraded, upgrade of that workflow and all related workflow jobs will not succeed. The following list includes examples of referenced objects that can cause a workflow upgrade to fail:
If any workflows or workflow jobs are not successfully upgraded due to a missing or invalid referenced object, open Workflow Manager, correct the problems described in the log file, and continue the upgrade process. Specifically, remove or replace references to invalid, missing, or unsupported objects and correct inconsistencies between owners and business units.
Server Setup fails with “The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)” error message
Microsoft Dynamics CRM Server Setup may fail with a “The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)” error message. This issue can occur when the following conditions are true:

To work around this problem, disable the Microsoft Internet Security and Acceleration policy, run Setup again, and then re-enable the policy. For more information about ISA Server policies, see the Microsoft Internet Security and Acceleration Server Help.
Users receive "The requested record was not found, or you do not have sufficient permissions to view it" error message when they try to sign in to Microsoft Dynamics CRM
Users may be unable to sign in to Microsoft Dynamics CRM due to a custom installation of Microsoft Dynamics CRM Server. Microsoft Dynamics CRM Server Setup does not create an organization during installation. You must have at least one organization available in the deployment for users to sign in to. To resolve this problem, create an organization by using the New Organization feature in Deployment Manager. For information about how to create a new organization, see the Deployment Manager Help.
Error message “The transaction log for database OrganizationName_MSCRM is full” occurs during Microsoft Dynamics CRM Server Setup
During Microsoft Dynamics CRM Server Setup, you may receive the error message “OrganizationName_MSCRM is full”, where OrganizationName is the name of the organization. This issue may occur when there is insufficient disk space to record the organization database transaction log file. During Microsoft Dynamics CRM Server Setup, the organization database transaction log can increase significantly. To resolve this issue, make sure that there is sufficient disk space available for the transaction log file. Also, you can perform steps to reduce the size of the transaction log and then run Setup again. For more information about transaction log file maintenance, see the SQL Server Management Studio Help.
We appreciate hearing from you. To send your feedback, click the following link and type your comments in the message body.
Send Feedback

The Microsoft Dynamics CRM E-mail Router is a software component that provides an interface between the Microsoft Dynamics CRM system and Microsoft Exchange Server 2003, Microsoft Exchange Server 2007, SMTP,or a POP3-compliant e-mail server. When E-mail Router is installed, it transfers e-mail messages to the Microsoft Dynamics CRM system, and it sends outgoing e-mail messages.
The Microsoft Dynamics CRM system stores e-mail messages as activity records. These e-mail activity records are stored in the Microsoft Dynamics CRM database and include both the contents of the e-mail message, such as the text of the message and its subject line, and relevant associations with other Microsoft Dynamics CRM records. For example, when a salesperson replies to a customer about a case, the salesperson creates an e-mail activity record that includes the text of the message plus information associating the e-mail activity record with the correct case record.
For a list of prerequsites needed before you install E-mail Router, see the System Requirements chapter earlier in this document.
Microsoft Dynamics CRM provides the following e-mail processing features:
The following sections explain the different e-mail system options and configurations.
Microsoft Dynamics CRM for Outlook can also be used to perform the following tasks:
Microsoft Dynamics CRM for Outlook no longer requires E-mail Router to process Microsoft Dynamics CRM e-mail messages. For more information about Microsoft Dynamics CRM for Outlook, see the Install Microsoft Dynamics CRM for Outlook chapter later in this document.
The E-mail Router performs the following tasks:

The E-mail Router is required for users or queues that do not use Microsoft Dynamics CRM for Outlook. The E-mail Router can be installed on various versions of the Windows operating system. You can install E-mail Router on an Exchange Server computer, on a computer that is running on Windows Server 2003 or Windows Server 2008 (when available), or a computer that is running on Windows XP or Windows Vista. The computer that you install E-mail Router on must have a connection to the Exchange Server or POP3 e-mail server.
The E-mail Router contains the following components:
The E-mail Router and Rule Deployment Wizard are installed by running Microsoft Dynamics CRM E-mail Router Setup. To install E-mail Router and Rule Deployment Wizard, follow the instructions in this section.
Microsoft Dynamics CRM E-mail Router Setup will not upgrade a Microsoft Dynamics CRM 3.0 deployment that is using the Microsoft Dynamics CRM 3.0- Exchange E-mail Router. You must first uninstall the Microsoft Dynamics CRM 3.0-Exchange E-mail Router before you install the Microsoft Dynamics CRM 4.0 E-mail Router.
The Rule Deployment Wizard requires Microsoft Exchange Server Messaging API (MAPI) client runtime libraries. You can install the MAPI client runtime libraries at http://go.microsoft.com/fwlink/?LinkID=78805
If you did not specify an incoming e-mail server during Microsoft Dynamics CRM Server Setup, you must manually add the service account running the e-mail router service to the PrivUserGroup security group. The PrivUserGroup is created during Microsoft Dynamics CRM Server Setup. For steps on how to add members to this group, see the “Troubleshooting” section later in this chapter.
The following procedures will install and configure E-mail Router on the server named EXBE01.

If you have already installed the required components, this page will not appear.
If you have not installed the required components listed, you can install them now. Click Install. When the components are installed, the status column will change from Missing to Installed, and you can click Next to continue.
Microsoft Dynamics CRM E-mail Router Service. This option installs the E-mail Router service and E-mail Router Configuration Manager.
Rule Deployment Wizard, This option installs the Rule Deployment Wizard that is used to deploy rules for forward mailbox users. Optionally, you can install this wizard on another computer that has access to the Exchange servers in the organization.
This section describes tasks that you must complete before users can send and receive e-mail messages that will be tracked in Microsoft Dynamics CRM.
If you will use a forward mailbox to route e-mail messages, in Active Directory you must create a user and mailbox, which will be used as the E-mail Router forward mailbox. For more information

about the forward mailbox, see the Planning Deployment chapter in the Microsoft Dynamics CRM Planning Guide.
To add a user and mailbox to Active Directory, follow these steps:
The E-mail Router Configuration Manager is a separate tool that you use to configure E-mail Router. The Router Configuration Manager is installed with E-mail Router and can be run after E- mail Router Setup is complete.
All E-mail Router settings configured by using the E-mail Router Configuration Manager are saved in the Microsoft.Crm.tools.EmailAgent.xml file that is located in the folder where E-mail Router is installed.
The E-mail Router has several options. Before you run the E-mail Router Configuration Manager, you should determine how you want to deploy these options.

o Forward Mailbox. If you select Forward Mailbox when you run the E-mail Router Configuration Manager, a single mailbox will be used by E-mail Router to process e-mail messages. Then, for each Microsoft Dynamics CRM user or queue that will receive e-mail messages, a rule must be created for the user, or queue, by running the Rule Deployment Wizard.
o Individual Mailboxes. If your e-mail system does not allow rules, where an e- mail message can be forwarded as an attachment, you must select Individual Mailbox Monitoring. Notice that, if you are using Exchange Server, we recommend that you use Forward Mailbox Monitoring.
For more information about E-mail Router options, see the Planning Deployment chapter in the Planning Guide, which is part of this document set.
To start the E-mail Router Configuration Manager, click Start, point to All Programs, point to Microsoft Dynamics CRM E-mail Router, and then click E-mail Router Configuration Manager.
You can add or edit an E-mail Router configuration, which contains a single incoming and outgoing method that routes e-mail to the e-mail server. In the configuration, you must specify the following components:
In addition, you can add or edit E-mail Router deployments. An e-mail router deployment contains a URL to a Microsoft Dynamics CRM Server computer, one incoming configuration, and one outgoing configuration. In an e-mail router deployment object, you specify the following components:
To set a new or existing configuration or to do the same for a new or existing deployment, click Advanced Configuration on the first screen of the E-mail Router Configuration Manager, and then follow the instructions that are on the screen.
For more information about this tool, see the E-mail Router Configuration Manager Help.
An important part of routing e-mail messages to your Microsoft Dynamics CRM system is the placement of an Exchange Server inbox rule in the inbox of each Microsoft Dynamics CRM user or queue. This rule sends a copy of each message that is received by a Microsoft Dynamics CRM

user to the Microsoft Dynamics CRM system mailbox. From the Microsoft Dynamics CRM system mailbox, E-mail Router retrieves the messages and creates an e-mail activity in Microsoft Dynamics CRM.
To deploy these Microsoft Dynamics CRM user inbox rules, you can use the Rule Deployment Wizard, which can be run at any time to add or change the inbox rules for your Microsoft Dynamics CRM users.
If you elected to install this wizard as part of the E-mail Router installation, you can access this wizard by doing the following:
On the computer where you have installed the Rule Deployment Wizard, click Start, point to All Programs, point to Microsoft Dynamics CRM E-mail Router, and then click Rule Deployment Wizard.
The Rule Deployment Wizard does not have to be run on a computer with an instance of Exchange Server. To run the Rule Deployment Wizard using the previous procedure, you must:
To deploy rules to the mailbox of a Microsoft Dynamics CRM user, the person running the Rule Deployment Wizard must have Exchange administrative permissions for the mailbox. Use the Exchange System Manager and the Exchange delegation wizard to designate Exchange Administrators. Or, make sure that the person running the Rule Deployment Wizard has full permissions on the Exchange mailbox store or storage group, where the users’ mailboxes are located.
For POP3 e-mail servers that support e-mail system rules where an e-mail message can be forwarded as an attachment, follow these steps in Outlook to create the rule.

This section describes best practices and issues that may occur during or just after E-mail Router installation.
If a problem occurs during E-mail Router Setup, review the log file for information. By default, the E-mail Router Setup log is named crm40exchangesetup.log and is located in the c:\Documents and Settings\\Application Data\Microsoft\MSCRM\Logs folder on the computer where E- mail Router is installed.
The E-mail Router Configuration Manager can test access for Microsoft Dynamics CRM users, queues, and forward mailboxes. By using the Test Access feature, you can troubleshoot issues that can prevent E-mail Router from functioning correctly. For more information about the Test Access feature, see the E-mail Router Configuration Manager Help.
This issue can occur because the service account that the e-mail router is running under is not added to PrivUserGroup.
To resolve this issue, follow these steps on a computer that is a domain controller in the domain where you installed Microsoft Dynamics CRM Server:
We appreciate hearing from you. To send your feedback, click the following link and type your comments in the message body.
Send Feedback

Microsoft Dynamics CRM for Microsoft Office Outlook enables access to the same data through Office Outlook as the Microsoft Dynamics CRM Web client. Microsoft Dynamics CRM for Outlook is targeted at Microsoft Dynamics CRM users who need access to CRM data while using the familiar Outlook application. There are two user interfaces for Microsoft Dynamics CRM for Outlook:
At the start of the Microsoft Dynamics CRM for Outlook installation, you will be given the choice of which client to install. Microsoft Dynamics CRM for Outlook resides in Outlook for its main application interface, and is available from the Outlook shortcut bars and folder navigation in the main window of Outlook. Installing Microsoft Dynamics CRM for Outlook creates a toolbar in Outlook and a folder in the user’s mailbox folder structure.
There are three steps that you must complete before you can run Microsoft Dynamics CRM for Outlook. The steps are as follows:

More information about how to install Microsoft Dynamics CRM for Outlook is described in the following sections.
Use the following procedures in this section to install Microsoft Dynamics CRM for Outlook.
\Client\
If you have already installed the required components listed, this page will not appear.
If you have not installed the required components listed, you can install them now. Click Install. When the components are installed, the status column will change from Missing to Installed, and you can click Next to continue.
The installation of Microsoft .NET Framework 3.0 can take up to 10 minutes.

After you complete Microsoft Dynamics CRM for Outlook Setup, run the Configuration Wizard to complete the installation. The Configuration Wizard configures client settings, such as the location of the Microsoft Dynamics CRM server. To start the Configuration Wizard, click Start, point to All Programs, point to Microsoft Dynamics CRM, and then click CRM Office Configuration Wizard.
Follow these steps to configure Microsoft Dynamics CRM for Outlook.
Important Microsoft Dynamics CRM for Outlook users who will only sign in and access Microsoft Dynamics CRM remotely over the Internet, without using a VPN connection, should select the An online service provider option. Selecting this option enables Microsoft Dynamics CRM for Outlook to be configured remotely without being logged into the domain. Notice that, by selecting this option, these users will be unable to sign in to Microsoft Dynamics CRM while logged in to the domain through the LAN or VPN connection.
3. On the Specify the Web addresses to use to connect to the Microsoft Dynamics CRM server page, type the URL for the server in the Intranet address box. In addition, if you connect to your company or partner-hosted site over the Internet, you can clear Use the same Web address when the system connects over the Internet and type the URL in the External Web address box. You must do this if you use a different URL to connect to your Microsoft Dynamics CRM server through the Internet. Click Next.

6. The System Requirements page appears. This is a summary of all system requirements for a successful Microsoft Dynamics CRM for Outlook installation. Failed checks must be corrected before configuration can continue. If a problem will take time to correct, cancel the Office Configuration Wizard at this point, fix the problem and restart the Office Configuration Wizard. All errors must be resolved. If no errors, or if only warnings appear, you can continue with the configuration. To do this, click Next.
The E-mail Router is no longer required to send and receive Microsoft Dynamics CRM e-mail messages. Instead of using the E-mail Router, Microsoft Dynamics CRM for Outlook can be used to perform the following tasks:
The e-mail messaging incoming and outgoing options can be set differently for each user or queue. These incoming and outgoing options are configured on the User form. To open a user form, in the Navigation Pane, click Settings. Under Settings, click Administration. Then, in the Administration area click Users, and then double-click the user that you want.
The incoming e-mail configurations that can be used when a user or a queue receives Microsoft Dynamics CRM e-mail messages are as follows:

The possible outgoing e-mail configurations that can be used when users, or queues, send Microsoft Dynamics CRM e-mail messages are as follows:
We appreciate your hearing from you. To send your feedback, click the following link and type your comments in the message body.
Send Feedback

Typically, the Data Migration Manager is used when you first implement Microsoft Dynamics CRM 4.0 to bring all data from your legacy databases and systems into Microsoft Dynamics CRM.
There are many reasons to use the Data Migration Manager:
You must download, install, and configure the Data Migration Manager to run it. The Data Migration Manager can only be run by a user with the System Administrator security role.
There are three basic steps that you must complete before you can migrate data into Microsoft Dynamics CRM. The steps are as follows:
a. Prepare the source data for migration.
b. Map the source data to the Microsoft Dynamics CRM data.
c. Migrate the data.
For more information about how to map and migrate data, see the Help that is included with the Data Migration Manager.
This Data Migration Manager must be installed on a computer that has a network connection to the Microsoft Dynamics CRM server.
Follow the procedures in this section to install Data Migration Manager.

\Client
If you have already installed the required components listed, this page will not appear.
If you have not installed the required components listed, you can install them now. Click Install. When the components are installed, the status column will change from Missing to Installed, and you can click Next to continue.
The installation of Microsoft .NET Framework 3.0 or SQL Server Express Edition can take up to 10 minutes, each, to install.
7. The System Requirements page appears. This page is a summary of all system requirements for a successful Data Migration Manager installation. Failed tests must be corrected before installation can continue to the next step. If there is a problem that will take time to correct, cancel Setup at this point, fix the problem, and restart Setup. If an error or warning occurs, you can click Help for more information and steps to resolve the issue. When all tests are successful and you are ready to install, click Install.
After Data Migration Manager Setup is finished, you must run the Data Migration Configuration Wizard to complete the installation. To do this, follow these steps:

7. On the Specify SQL Server page, indicate if you want to use a computer running Microsoft SQL Server, or install and run Microsoft SQL Server Express on the local computer. By default, the configuration wizard will try to connect to the instance of SQL Server where the organization database is located. In addition, you can select a different SQL Server name and instance. To do this, type the SQL Server name and instance by using the format SQLServer_Name/Instance_Name. Click Next.
9. The System Requirements page appears. This page is a summary of all system requirements for a successful Data Migration Manager installation. Failed tests must be corrected before configuration can continue. If a problem will take time to correct, cancel Data Migration Manager Setup at this point, fix the problem, and restart the Data Migration Manager Setup. All errors must be resolved. If no errors or only warnings appear, you can continue with the configuration. To do this, click Next.
By default, data migration logging is turned off. When data migration logging is turned on, the log files are put in the C:\Program Files\Microsoft Dynamics CRM Data Migration Manager\DMClient\Trace folder.
Logging functionality is maintained in the following registry entries in the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Data Migration Wizard subkey.

To run the Data Migration Manager, click Start, point to All Programs, point to Microsoft Dynamics CRM, and then click Microsoft Dynamics CRM Data Migration Manager. For more information about how to use the Data Migration Manager, view the Data Migration Manager Help installed with the application.
This section describes known issues that can occur during Data Migration Manager Setup. For information about issues that occur during Data Migration Manager Setup, view the log file that is located at \Documents and Settings\\Application Data\Microsoft\MSCRM\Logs\DataMigrationWiz_Setup.log.
To retry Setup after an unsuccessful or incomplete Data Migration Manager installation, you must first uninstall the application, and then run Setup again. To uninstall the Data Migration Manager, open Add or Remove Programs in Control Panel, click Data Migration Manager, click Change/Remove, and then follow the instructions that appear on the screen.
When you run Data Migration Configuration Wizard or the Data Migration Manager after it is installed and configured, and you cannot authenticate with the Microsoft Dynamics CRM Server, follow these steps to work around this problem.
We appreciate hearing from you. To send your feedback, click the following link and type your comments in the message body.

Send Feedback

The Microsoft Dynamics CRM 4.0 Language Pack lets users switch the language of the user interface or Help that is displayed in the application. For example, your multinational organization might have standardized on an English user interface to simplify internal training and troubleshooting. But if you prefer to read Help in your native language of German, you can specify that Microsoft Dynamics CRM display Help in German.
During installation, files that enable users to change the language of the user interface and Help are copied to the destination hard disk. Localized templates and wizards are also added to the needed Microsoft Dynamics CRM applications.
After installation, Microsoft Dynamics CRM Language Pack capabilities and corresponding options are available from Microsoft Dynamics CRM client applications. Users do not start Microsoft Dynamics CRM Language Pack as a separate application.
Note The Microsoft Dynamics CRM Language Pack is a separate download or media disk and has its own installer. The Microsoft Dynamics CRM Language Pack only changes the Microsoft Dynamics CRM user interface and Help. If you already have the Microsoft Office 2003 or 2007 Microsoft Office system Language Pack, you still must install the Microsoft Dynamics CRM Language Pack for users to change the language displayed in Microsoft Dynamics CRM.
There are three main tasks that you must complete when you use Microsoft Dynamics CRM Language Packs.
Follow the procedures in this section to install the Microsoft Dynamics CRM Language Pack.
Setup copies the Language Pack files. By default, the Language Pack files are copied to :\Program Files\Microsoft CRM\LangPacks\, where LangID is the language identifier, such as 1033 for English (US) or 1043 for Dutch.

Before users can start using Language Pack to display a language, the Language Pack must be enabled for the organization. To do this, you must start the Microsoft Dynamics CRM Web application and then follow these steps:
If you have users who are running Microsoft Dynamics CRM for Outlook, you must install the same Microsoft Dynamics CRM Language Packs enabled in the previous step on the computer where Microsoft Dynamics CRM for Outlook is installed. To do this, follow these steps:
Setup copies the Language Pack files. By default, the Language Pack files are copied to :\Program Files\Microsoft CRM\LangPacks\, where LangID is the language identifier, such as 1033 for U.S. English or 1043 for Dutch.
Next, users can select the language to display in both the Microsoft Dynamics CRM Web and Microsoft Dynamics CRM for Outlook applications.

Note The user language settings only apply to Microsoft Dynamics CRM for Outlook features, such as the user interface display of the CRM menu, and do not affect other areas of Microsoft Office Outlook. To be able to display all the Outlook user interface or Help in multiple languages, you must install one or more Office Language Packs. For more information about Office Language Packs, see the Outlook Help.
This section describes how to troubleshoot Language-Pack installation issues.
During a Language Pack installation, Setup may display an error message that states that the Language Pack cannot be installed. This problem can occur when the Microsoft Dynamics CRM Server or Microsoft Dynamics CRM for Outlook applications are not installed on the computer before you run MUISetup.msi to install a Language Pack. To resolve this problem, you must perform the following procedures:
We appreciate hearing from you. To send your feedback, click the following link and type your comments in the message body.
Send Feedback

You can install Microsoft Dynamics™ CRM 4.0, Microsoft Dynamics CRM Connector for Microsoft SQL Server Reporting Services, Microsoft Dynamics CRM for Microsoft Office Outlook®, and the Microsoft Dynamics CRM E-mail Router from their respective installation disks or download-files location by using the command line. The required setup information is provided to the Setup program both as command-line parameters and as an XML configuration file that the Setup program references.
One advantage of using the command line to install Microsoft Dynamics CRM is that you do not have to attend the installation. Attended installation requires that you make various decisions and provide information so that installation can complete successfully. Unattended installation, by using the command line, requires that you provide the installation information as command-line parameters and an XML configuration file. No other action is required until the Setup program is finished. Errors and installation progress can be logged to a file that you can view and analyze later.
The procedures for accessing the Setup program on the individual installation disk or download- files location are basically the same. The prerequisites for each of the Microsoft Dynamics CRM system components as discussed in previous sections also apply.

The following command will install Microsoft Dynamics CRM Server:
SetupServer.exe [/Q] [/InstallAlways] [/L [drive:][[path] logfilename.log]] [/config [drive:] [[path] configfilename.xml]]
SetupServer.exe for Microsoft Dynamics CRM Server is located in the root of the Microsoft Dynamics CRM Server installation disk or download-files location.
Used without parameters, Setup will install with all display screens.
Quiet mode installation. This parameter requires a configuration file in XML format. The /config parameter contains the name of the XML configuration file. No dialog boxes or error messages will appear on the display screen. To capture error message information, include the log file parameter (/L).
This parameter forces Setup to ignore the installation state and operate in install mode. When you use this parameter, Setup will try to install on a server where Microsoft Dynamics CRM is already installed.
Requires a configuration file in XML format specified by the /config parameter. Displays installation progress bars and all error messages.
/L [drive:][[path] logfilename.log]]
Creates a log file of installation activity. You can specify the file name of the log file and where to put it. If you do not specify a name or location, a log file will be created in the Drive:\Documents and Settings\\UserName\Application Data\Microsoft\MSCRM\Logs folder, where UserName is the account name of the user running Setup. The following options are available:
/LV Log verbose.
/L* Log all information except verbose.
/L*V Log all information including verbose.
The /config parameter uses the specified XML configuration file to provide Setup with the additional information to complete installation successfully. An example XML configuration file is discussed in the following section.
The /config [drive:] [[path] configfilename.xml]] command-line parameter provides Microsoft Dynamics CRM Server Setup with required information. The information supplied by the XML configuration file is the same required by each installation screen.
None · /InstallAlways

The XML elements must be in English (US). An XML configuration file that has localized XML elements will not work correctly. For example, if you have a German version of Microsoft Dynamics CRM Server, the XML file elements must still be English (US).
By default, Setup will use e UTF-8 encoding for the Setup XML configuration file. Setup cannot load an XML configuration file when there are extended characters in the file. You will receive an error message from Setup that the XML file is invalid. If the XML configuration file contains extended characters, you can work around this issue by saving the XML configuration file by using Unicode encoding. To do this, open the XML configuration file in Notepad, click Save As, in the Encoding list select Unicode, and then click Save.
An explanation of each XML element and a sample XML file follows:
The configuration file must be a valid XML file that uses <CRMSetup> as the root element.
Specifies a Microsoft Dynamics CRM Server installation. All the Microsoft Dynamics CRM Server entries that follow must be inside the Server tags.
Specifies the type of installation that Setup will perform. The following options are available:
If you do not specify a location, by default Setup will go online to a location that is managed by Microsoft to search for available updates. Or, you can point Setup to install a Microsoft Dynamics CRM Server Setup update .msp file from a different location, such as an internal share. update. Specifies whether Setup will look for, download, and apply updates for Microsoft Dynamics CRM Server Setup. We recommend that you let Setup download the latest version by selecting true. By default, this value is set to false. If the value is set to false, Setup will ignore this step and continue with the installation.
Specifies the name of the instance of Microsoft SQL Server that will manage the Microsoft Dynamics CRM Server database files. If SQL Server is running on the computer where you are installing Microsoft Dynamics CRM Server you can specify ". " or "localhost".
create. Values for this parameter are either true or false. True causes Setup to create a new Microsoft Dynamics CRM database. False causes Setup to connect to an existing Microsoft Dynamics CRM database as indicated by the Active Directory organizational name (see the following <Organization> element). update. Values for this parameter are either true or false. Select true if you want Setup to upgrade an existing Microsoft Dynamics CRM 3.0 deployment.

<Organization>Organization friendly or long name</Organization>
Specifies the long name of your organization. The name can be up to 250 characters long and extended characters are supported.
Specifies the name of your organization. There is a 30 character limit. Notice that extended characters or spaces are not allowed. If you leave this element blank Setup will generate a short name based on the OrganizationFriendlyName value.
<OU> OU=value,DC=value,DC=value,DC=value,DC=value</OU>
The <OU> element specifies the Active Directory organizational unit (OU) and domain (DC) values that this Microsoft Dynamics CRM Server computer is to be associated with. For example, <OU> OU=CRM, DC=MySubDomain, DC=MyDomain, DC=com</OU>.
Specifies the license key for this deployment. The configuration file can contain only one Microsoft Dynamics CRM license key. For example:
<WebsiteUrl Create="true"/"false" port=”TCPportnumber”>/LM/W3SVC/1</WebsiteUrl>
Specifies the path for the Web site to be created on the Microsoft Dynamics CRM server.
Use Create="true" to create a new Microsoft Dynamics CRM Web site and leave the value between the element tags blank. Specify Create="false" to use an existing Web site and then you must enter the Web site node in the element tags, such as /LM/W3SVC/1, which is the default Web site.
Use port=”TCPportnumber”, where TCPportnumber is a valid and available TCP port number, to specify the port for connecting to the Microsoft Dynamics CRM Server application. If left blank, the port number that will be used is 5555.
<InstallDir>c:\program files\Microsoft CRM</InstallDir>
Specifies the folder in which Microsoft Dynamics CRM Server files will be copied.
<basecurrency isocurrencycode="CurrencyCode" currencyname="CurrencyName" currencysymbol="CurrencySymbol"/>
Specifies the ISO three-letter currency-code, display name, and symbol to use for the base currency. For example, if you want to have to use U.S. dollars as the base currency, use isocurrencycode="USD". You must use a valid ISO currency description for the isocurrencycode attribute. You must also specify the currency-name and currency-symbol display names for the ISO base currency. For example, if the ISO currency code is USD, the currency name should be "US Dollar" and the currency symbol should be "$". However, you can use any string that you want for those attributes.
<OrganizationUniqueName>OrganizationName</OrganizationUniqueName> · <LicenseKey>KeyValue</LicenseKey> · XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

A list of supported ISO currency codes are available in the System Requirements chapter in the Microsoft Dynamics CRM 4.0 Implementation Guide that is part of this document set.
Specifies the SQL Server database collation name to use for the organization database. For example, Latin1_General_Cl_Al, which is the default collation for English (US) language deployments. For more information about database collation, see the following Microsoft MSDN Web site:
SQL Server Collation Fundamentals (http://go.microsoft.com/fwlink/?LinkID=98715)
<CrmServiceAccount type="DomainUser"> <ServiceAccountLogin>login</ServiceAccountLogin> <ServiceAccountPassword>password</ServiceAccountPassword> </CrmServiceAccount>
Specifies the Microsoft Dynamics CRM service account type. Accepted values include NetworkService, which uses the Network Service system account, or DomainUser, which will use the specified domain user. By default, Setup will use the Network Service account. If DomainUser is specified, <ServiceAccountLogin> and <ServiceAccountPassword> are required. If this option is not used, Setup will use Network Service.
<SQM optin=" true / false"/>
Specifies whether you will participate in the Customer Experience Improvement Program. If you specify true, you will participate in the program.
Note By default, the Customer Experience Improvement Program feature in Microsoft Dynamics CRM is turned on. Later, if you decide that you do not want to participate in the Customer Experience Improvement Program, you can turn off this feature in the Microsoft Dynamics CRM Web application. To do this, in the Navigation Pane, click Settings, under Settings, click Administration, in the Administration area click Privacy Preferences, in the Privacy Preferences dialog box clear the Yes, I am willing to participate anonymously in the Customer Experience Improvement Program check box, and then click OK.
<Reporting UseSSL="true"/"false" URL="http://srsserver1/ReportServer"/>
UseSSL. If the SQL Server Reporting Services Web site uses SSL, designate true, otherwise, enter false.
URL. Specifies the URL of the Report Server.
<OrganizationCollation>CollationName</OrganizationCollation>

When used, Setup will use the existing groups in Active Directory instead of creating them during installation. If <automanagegroupsoff> is true, Setup will not add or remove any members to those groups.
If this option is not specified, the default is false. This means that the server will not restart at the end of Setup. Also, this option applies only to a final install restart, and not previous restarts that may be required for other components.
Specifies the Microsoft Exchange Server computer or POP3 that will be used by the E-mail Router to route incoming e-mail messages.
Specifies the e-mail server that will be used for e-mail routing.
<InstallDir>C:\Program Files\Microsoft Dynamics CRM</InstallDir>
This option should only be used for Internet-facing deployments. Set enabled = "true" to notify Microsoft Dynamics CRM Server Setup to configure the deployment for Internet access. If the <ifdsettings> element is not specified, the enabled attribute value is set to false.
<internalnetworkaddress>IP Network Address-Subject Mask</internalnetworkaddress>
IP address and subnet mask, such as 157.56.137.105-255.255.255.0. This is the internal IP address and the associated subnet mask of the server that is running IIS where the Microsoft Dynamics CRM Server Web application is running. If you will deploy Microsoft Dynamics CRM Server on multiple servers on different subnets you can repeat this element for each IP and subnet mask address that is in the deployment. Notice that, if you leave this element blank, users will always be prompted, when they log on to Microsoft Dynamics CRM, for both internal and external access.
Must be https, which will use secure sockets layer (SSL), or http, which will use the nonsecure HTTP protocol.

value in the rootdomainscheme element. In addition, after Setup is complete, to help protect information that is transmitted between users and Microsoft Dynamics CRM Server, we recommend that you configure the Web site to require SSL. For more information about how to use SSL, see the Internet Information Services (IIS) Manager Help.
<sdkrootdomain>servername.domain.com</sdkrootdomain>
Specifies the fully qualified domain name that will be used for applications that use the methods described in the Microsoft Dynamics CRM 4.0 Software Development Kit (SDK).
<webapplicationrootdomain> servername.domain.com </webapplicationrootdomain>
Specifies the fully qualified domain name that will be used for the Microsoft Dynamics CRM Web application and Microsoft Dynamics CRM for Outlook.
The following configuration file installs an update file located on an internal share, installs all Microsoft Dynamics CRM Server components, and creates new databases on an instance of SQL Server that is named SQLServer.
\\server\share\patchfile.msp
c:\Program Files\Microsoft CRM

The following partial configuration file installs the components necessary for a Microsoft Dynamics CRM Server deployment that can be accessed through the Internet-facing deployment (IFD).
The element must be located inside the element described previously.
10.10.0.0- 255.255.0.0
server.subdomain.contoso.com
server.subdomain.contoso.com
By default, Setup installs all Microsoft Dynamics CRM server roles on the local computer. However, if you are installing Microsoft Dynamics CRM 4.0 Enterprise, you can install one or more server roles on a different computer, or have two or more computers running the same role, which can provide load balancing benefits. To do this, you must configure the XML configuration file and then run Setup at a command prompt on the computer where you want the role installed.
Important You cannot run Setup to add one or more server roles to a computer that already has one or more server roles installed. If you try to run Setup on a computer that already has at least one server role installed, Setup will uninstall all existing server roles. Before you can add different server roles, you must first uninstall all server roles and then run Setup to install the server roles that you want.
For more information about server roles, see the Planning Deployment chapter in the Microsoft Dynamics CRM 4.0 Planning Guide. For more information about recommendations for isolating server roles or running multiple computers with the same server role, see the Advanced Planning Deployment chapter in the Microsoft Dynamics CRM 4.0 Planning Guide.

The supported command line parameters are the same as what was previously described in the “Install Microsoft Dynamics CRM Server” section.
The /config [drive:] [[path] configfilename.xml]] command-line parameter provides Microsoft Dynamics CRM Server Setup with required information. The information supplied by the XML configuration file is what is required by each installation screen.
An explanation of each XML element and a sample XML file follows:
Sample XML Configuration File That Installs Only the AppServer and Async Server Roles
The following example installs only the Application and Microsoft Dynamics CRM Help server roles on the local computer. The configuration database already exists.

\\server\share\patchfile.msp
c:\Program Files\Microsoft CRM
The Microsoft Dynamics CRM Connector for SQL Server Reporting Services connects the Microsoft Dynamics CRM Server computer to the SQL Server Reporting Services computer. The Microsoft Dynamics CRM 4.0 Connector for SQL Server Reporting Services eliminates the Kerberos double-hop authentication that was required for Microsoft Dynamics CRM 3.0 deployments wherein SQL Server Reporting Services was installed on a separate computer.
The Microsoft Dynamics CRM Connector for SQL Server Reporting Services has the following requirements:
The Microsoft Dynamics CRM Connector for SQL Server Reporting Services accepts the same command-line parameters as Microsoft Dynamics CRM Server. To install the Microsoft Dynamics

CRM Connector for SQL Server Reporting Services in quiet mode, which uses an XML configuration file named install-config.xml and creates a log file named log.txt, run the Setup program that is located in the SrsDataConnector folder command from the installation media or the Microsoft Dynamics CRM Server installation files as follows:
SetupSrsDataConnector /Q /CONFIG folderpath\install-config.xml /L log.txt
Before you run Microsoft Dynamics CRM Connector for SQL Server Reporting Services Setup at a command prompt, you must modify the XML configuration file to include information, such as the name of the computer where the configuration database is located. A sample Microsoft Dynamics CRM Connector for SQL Server Reporting Services configuration file named install- config.xml is located in the SrsDataConnector folder on the installation media, or download location, of the Microsoft Dynamics CRM Server installation files.
The /config [drive:] [[path] configfilename.xml]] command-line parameter provides the Microsoft Dynamics CRM Connector for SQL Server Reporting Services Setup with required information. The information this configuration file supplies is the same that each installation screen requires. The XML elements must be in English (US); special or extended characters cannot be used. An XML configuration file that has localized XML elements will not work correctly. An explanation of each XML element and a sample XML file follows:
The configuration file must be a valid XML file that uses <srsdataconnectorinstall> as the root element. All the Microsoft Dynamics CRM Connector for SQL Server Reporting Services entries that follow must be within the srsdataconnectorinstall tags.
Specifies the type of installation that Setup will perform. The following options are available:
If you do not specify a location, by default Setup will go online to a location that is managed by Microsoft to search for available updates. Or, you can point Setup to install a Microsoft Dynamics CRM Connector for SQL Server Reporting Services Setup update .msp file from a different location, such as an internal share.
update. Specifies whether Setup will look for, download, and apply updates for Microsoft Dynamics CRM Server Setup. We recommend that you let Setup download the latest version by selecting true. By default, this value is set to false. If the value is set to false, Setup will ignore this step and continue with the installation.
Specifies the name of the computer that is running SQL Server that stores the configuration database.

Specifies the URL of the Web site where SQL Server Reporting Services is installed and running. If you specify a URL similar to http://localhost/ReportServer Setup will look for SQL Server Report Server in the default Web site .However, the URL can contain the port number to specify a different Web site, such as http://SSRS:5555/ReportServer
Specifies the instance of SQL Server Reporting Services that will be used to install the Microsoft Dynamics CRM Connector for SQL Server Reporting Services. If no name is specified, Setup will use the instance name MSSQLSERVER.
<InstallDir>c:\program files\Microsoft CRM</InstallDir>
Specifies the folder in which Microsoft Dynamics CRM Connector for SQL Server Reporting Services files will be copied.
When used, Setup will use the existing groups in Active Directory instead of creating them during installation. If <automanagegroupsoff> is true, Setup will not add or remove any members to those groups.
Sample Microsoft Dynamics CRM Connector for SQL Server Reporting Services XML Configuration File
The following XML configuration contents will install the Microsoft Dynamics CRM Connector for SQL Server Reporting Services. This has all databases on the local computer named SQLServer.
\\server\share\patchfile.msp
By default, Setup creates a file that is named SrsDataConnectorSetup.log in the c:\Documents and Settings\\Application Data\Microsoft\MSCRM\Logs folder on the computer where Setup is run.
To install Microsoft Dynamics CRM for Outlook is a two-step procedure. First, you must run Setup to install the files on the computer. Next, you run the Microsoft Dynamics CRM Configuration Wizard to configure the application and complete the installation.

The following command displays the available options to run Microsoft Dynamics CRM for Outlook Setup at the command line:
Setupclient.exe [/A] [/Q] [/X] [/L [drive:][[path] logfilename.log]] [/targetdir [drive:][[path]]
For users who travel, or who are not always connected to the Microsoft Dynamics CRM Server, Microsoft Dynamics CRM for Outlook with Offline Access provides access to their customer data. To install Microsoft Dynamics CRM for Microsoft Office Outlook with Offline Access in quiet mode:
Setupclient /Q /l c:\clientinstalllog.txt INSTALLLEVEL=3 /targetdir ”c:\Program Files\Microsoft Dynamics CRM Client”
To uninstall Microsoft Dynamics CRM for Outlook with Offline Access in quiet mode:
msiexec /X /Q Client.msi /l c:\clientuninstall.txt Client.msi
Used without parameters, Setupclient.exe will run with all display screens.
This parameter determines the type of Microsoft Dynamics CRM for Outlook that will be installed. The following choices are available:
/targetdir <"drive:\path">
Specifies the folder in which Microsoft Dynamics CRM for Outlook files will be installed.
This parameter creates an administrative installation of Microsoft Dynamics CRM for Outlook by creating a Windows Installer package. This package lets users run Setup from a network share or non-administrative users run Setup that is driven from a group policy. This parameter must be used with the /targetdir parameter described earlier. When using this parameter, the /targetdir value does not have to be located on the local computer. A mapped drive or network share such as \\share\mscrm_client_admin can be used. For example, the command:
None

Setupclient /Q /A /targetdir “\\share\mscrm_client_admin”
Repairs the installation.
Quiet mode installation. This parameter requires a configuration file in XML format. The config= parameter contains the name of the XML configuration file. No dialog boxes or error messages will appear on the display screen. To capture error message information, include the log file parameter (/L).
Creates a log file of installation activity. You must specify the file name of the log file and where to put it.
Uninstalls Microsoft Dynamics CRM for Outlook.
After you install Microsoft Dynamics CRM for Outlook, you must configure it. You can do this by running the client configuration wizard at the command line. The client configuration wizard file is named Microsoft.Crm.Client.Config.exe and is located in the Client\ConfigWizard folder where Microsoft Dynamics CRM for Outlook is installed. By default, the folder is c:\Program Files\Microsoft CRM.
To configure Microsoft Dynamics CRM for Outlook with Offline Access by using an XML configuration file that is named install_client.xml in quiet mode:
Microsoft.Crm.Client.Config /Q /config c:\install_client.xml /l c:\clientinstalllog.txt
The /config [drive:] [[path] configfilename.xml]] command-line parameter provides Microsoft Dynamics CRM for Outlook Setup with required information. It is the same information that each installation screen requires. The XML elements must be in English (US); special or extended characters cannot be used. An XML configuration file that has localized XML elements will not work correctly. An explanation of each XML element and a sample XML file follows:
The configuration file must be a valid XML file that uses <CRMConfiguration> as the root element.
Specifies a Microsoft Dynamics CRM for Outlook installation. All the Microsoft Dynamics CRM for Outlook entries that follow must be within the Client tags.
<ServerUrl Type="OnPremise\SPLA" ShowUser="true\false">http://website</ServerUrl>
Specifies the URL for the Web site associated with the Microsoft Dynamics CRM Server computer.
<CRMConfiguration> </CRMConfiguration> · <Client> </Client>

Type. Specifies the Microsoft Dynamics CRM Server type. The following values are available:
ShowUser. Specifies whether to display the Connection Type page to the user who is running the configuration wizard. If set to true, the Connection Type page is displayed and the user can override the default settings that are provided in the XML configuration file. If set to false, the Type attribute in the <ServerUrl> element will be used and the Connection Type page will not be displayed during configuration.
<CEIP optin="true / false" />
Specifies whether you will participate in the Customer Experience Improvement Program. If you specify true, you will participate in the program.
Note By default, the Customer Experience Improvement Program feature in Microsoft Dynamics CRM is turned on. If later you decide that you do not want to participate in the Customer Experience Improvement Program, you can turn off this feature in the Microsoft Dynamics CRM Web application. To do this, in the Navigation Pane, click Settings, under Settings, click Administration, in the Administration area click Privacy Preferences, in the Privacy Preferences dialog box clear the Yes, I am willing to participate anonymously in the Customer Experience Improvement Program check box, and then click OK.
Specifies the name of the organization that the client will connect to.
<Database Reuseexisting="true / false" />
Microsoft Dynamics CRM for Outlook with Offline Access only. Specifies whether to use an existing Microsoft Dynamics CRM for Outlook with Offline Access database or whether to create a new one.
<ExtranetServerUrl>http://PathToExternalDiscoveryService</ExtranetServerUrl>
Specifies the external URL of the Microsoft Dynamics CRM server, where the Discovery Serviceserver role is running. For full server deployments all server roles are installed on the same server.
The following configuration-file example configures Microsoft Dynamics CRM for Outlook to participate in the Customer Experience Improvement Program (CEIP) and connects to the
<Organization>OrganizationName</Organization>

organization named OrganizationName on the Microsoft Dynamics CRM Server that is named MSCRM.
The E-mail Router accepts the same command line parameters as Microsoft Dynamics CRM Server. To install the E-mail Router in quiet mode, that uses an XML configuration file that is named install-config.xml and that creates a log file that is named log.txt, run the SetupExchange.exe command in the Exchange folder on the installation media, or download location of the Microsoft Dynamics CRM Server installation files as follows:
Setupexchange /Q /CONFIG folderpath\install-config.xml /L log.txt
The /config [drive:] [[path] configfilename.xml]] command-line parameter provides Microsoft Dynamics CRM-Exchange E-mail Router Setup with required information. It is the same information that each installation screen requires.
The XML elements must be in English (US). An XML configuration file that has localized XML elements will not work correctly.
An explanation of each XML element and a sample XML file follows:
The configuration file must be a valid XML file that uses <CRMSetup> as the root element.
Specifies a Microsoft Dynamics CRM E-mail Router installation. The Exchange tag must be within the CRMSetup open and end tags. All the E-mail Router entries that follow must be within the Exchange tags.
Specifies the type of installation that Setup will perform. The following options are available:

If you do not specify a location, by default Setup will go online to a location that is managed by Microsoft to search for available updates. Or, you can point Setup to install a Microsoft Dynamics CRM Connector for SQL Server Reporting Services Setup update .msp file from a different location, such as an internal share. update. Specifies whether Setup will look for, download, and apply updates for Microsoft Dynamics CRM Server Setup. We recommend that you let Setup download the latest version by selecting true. By default, this value is set to false. If the value is set to false, Setup will ignore this step and continue with the installation.
<InstallDir>c:\Program Files\Microsoft CRM Email</InstallDir>
Specifies the folder where the E-mail Router will be installed. By default, the E-mail Router is installed to c:\Program Files\Microsoft CRM Email.
If a value is not specified, Setup installs the E-mail Router service and the E-mail Router Configuration Manager, but does not install the Rule Deployment Wizard.
The following features are available:
Add this entry if you want to install the E-mail Router service and E-mail Router Configuration Manager.
Add this entry if you want to install the Rule Deployment Wizard.

The following configuration-file sample instructs Setup to check a Microsoft Web site for available updates to E-mail Router Setup. It applies the updates, and then installs the E-mail Router service and Rule Deployment Wizard in the c:\Program Files\Microsoft Dynamics CRM Email folder.
The following section describes known issues and troubleshooting steps when installing Microsoft Dynamics CRM 4.0 at a command prompt.
Setup Fails or Client Receives an Unhandled Exception When Trying to Connect after Installing Microsoft Dynamics CRM 4.0
Setup may not complete successfully or any of the Microsoft Dynamics CRM 4.0 clients may receive an error message when trying to connect to the Microsoft Dynamics CRM server. The message may resemble the following text:
Exception from HRESULT: 0x80048306.
Description: An unhandled exception occurred during the execution of the current Web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x80048306.
Source Error:

An unhandled exception was generated during the execution of the current Web request. Information about the origin and location of the exception can be identified using the exception stack trace below.
This problem can occur if you run Microsoft Dynamics CRM Setup when the following conditions are true:
To resolve this issue, you must manually add the correct membership to each of the required security groups in Active Directory, and then run Microsoft Dynamics CRM Server Setup again.
To manually add the objects to Active Directory, use Active Directory Users and Computers. You must add the following users and computers to each security group:
Security Group Description Object
PrivUserGroup User who is running Microsoft Dynamics CRM Server Setup User
PrivUserGroup Computer on which Microsoft Dynamics CRM is installed Computer
PrivUserGroup Computer on which Microsoft Exchange Server is installed (if using the E-mail Router)
SQLAccessGroup Computer on which Microsoft Dynamics CRM is installed. Computer
PrivReportingGroup Computer on which Microsoft Dynamics CRM Connector for
SQL Server Reporting Services is installed
ReportingGroup User who is running Microsoft Dynamics CRM Server Setup User
ReportingGroup Any user who will run reports User
UserGroup User who is running Microsoft Dynamics CRM Server Setup User
UserGroup Any user who will run Microsoft Dynamics CRM User
You may receive an “Unknown Error (0x80005000)” during a quiet-mode installation. This issue can occur when you try to install Microsoft Dynamics CRM Server on a Windows Server computer that does not have Internet Information Services (IIS) installed and configured. To

resolve this issue, install IIS and then run Setup again. For more information about how to install IIS, see the Windows Server Help.
We appreciate hearing from you. To send your feedback, click the following link and type your comments in the message body.
Send Feedback

This section describes how to uninstall or repair a Microsoft Dynamics CRM system. Uninstalling Microsoft Dynamics CRM and purging the computer system of all Microsoft Dynamics CRM data and system changes involves a series of automated and manual procedures. These procedures are the same if the Microsoft Dynamics CRM installation involves one computer or several in the system. These procedures also involve working in four areas:
To remove (uninstall) Microsoft Dynamics CRM Server, on the computer where the application is installed go to Add or Remove Programs, click Microsoft Dynamics CRM Server, click Change/Remove, select Uninstall to remove Microsoft Dynamics CRM Server, and then click Uninstall. Follow the instructions that are on the screen.
To repair Microsoft Dynamics CRM Server, click Microsoft Dynamics CRM Server, click Change/Remove, select Repair, and then click Next. Follow the instructions that are on the screen.
Uninstall or Repair Microsoft Dynamics CRM 4.0 Connector for SQL Server Reporting Services
To remove (uninstall) the Microsoft Dynamics CRM 4.0 Connector for Microsoft SQL Server Reporting Services, go to Add or Remove Programs, click Microsoft Dynamics CRM Connector for Microsoft SQL Server Reporting Services, click Remove, select Uninstall, and then click Uninstall. Follow the instructions on the screen.
To repair the Microsoft Dynamics CRM 4.0 Connector for SQL Server Reporting Services, click Microsoft Dynamics CRM Connector for Microsoft SQL Server Reporting Services, click Remove, select Repair, and then click Next. Follow the instructions on the screen.
To remove (uninstall) the Microsoft Dynamics CRM E-mail Router, go to Add or Remove Programs or on Windows Vista go to Programs and Features, click Microsoft Dynamics CRM E-mail Router, click Change/Remove, select Uninstall, and then click Uninstall. Follow the instructions on the screen.

To repair E-mail Router, click Microsoft Dynamics CRM E-mail Router, click Change/Remove, select Repair, and then click Next. Follow the instructions on the screen.
To remove (uninstall) or repair the Microsoft Dynamics CRM for Microsoft Office Outlook, follow these steps.
To uninstall Data Migration Manager, follow these steps on the computer where Data Migration Manager is installed.

If Data Migration Manager is configured to use SQL Server 2005, use SQL Server Management Studio to delete the database. After you delete the database, run Setup again.
To delete the database, follow these steps.
This section describes troubleshooting information and known issues when repairing or uninstalling the Data Migration Manager.
"ClientInstallInfo.ConfigType is not available" error message when you try to repair or uninstall Data Migration Manager
When you run Setup to try to repair or uninstall the Data Migration Manager, you may receive an error message. This problem can occur if the CRM_DMClient_InstallDir subkey has been removed from the Windows Registry. To work around this problem follow these steps:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Data Migration Wizard

You can disable a Language Pack in the organization. When you do this, users will no longer be able to see the Microsoft Dynamics CRM user interface and Help language in the associated Language-Pack language. Later, you can enable the Language Pack by clicking the language in the Language Settings list.
If you uninstall a Language Pack, you must reinstall the Language Pack and then enable it before it is available to users again.
When a Language Pack is removed or disabled, users who have that Language Pack language selected on the Personal Preferences form will be obliged to use the base language. For example, consider the following scenario. A Microsoft Dynamics CRM deployment has English as the base langauge, yet the Spanish Language Pack was used in the organization. Then, when the system administrator disables (or uninstalls) the Spanish-Language-Pack, users who selected the user interface to be in Spanish will see it in English.
To disable a Language Pack, see the Microsoft Dynamics CRM Help.
To uninstall a Language Pack, follow these steps on the Microsoft Dynamics CRM server:
We appreciate hearing from you. To send your feedback, click the following link and type your comments in the message body.
Send Feedback

This chapter describes several of the Microsoft Dynamics CRM components and tasks that the administrator should configure after installing the application. Because Microsoft Dynamics CRM has a rich feature and functionality set, this chapter is not meant to be an exhaustive resource used to configure any and all deployments. Instead, use this chapter as a guideline to determine what components to configure, based on your organization’s needs.
The following tables contain configuration goals and associated tasks that should be performed by the Microsoft Dynamics CRM administrator. The goals and their tasks are arranged in the order that they should be completed for a typically deployment.
Each task has an associated Help topic that explains it.
To view the Help information for each task, select one of the following clients:
You can view a Help topic associated with each subtask by locating the Help topic title in the table of contents or by typing the Help topic title in the Search box for search Help.
The following table lists the tasks to configure system-wide settings in the application. These tasks should be performed or evaluated before starting to use Microsoft Dynamics CRM.
Define settings that apply to all users. Configure areas that should be defined before users start using Microsoft Dynamics CRM. (These tasks are completed in the Administration and Business Management areas in Settings.)
Set up users and data access. Set up business units and security roles so that users can access the most suitable data, and then add users. (These tasks are completed in the Administration area of Settings.)

Review your user interface. Determine whether changes are needed to forms and views. These changes can all be made from the application. (This task is completed in the Customization area of Settings.)
Define which Getting-Started tasks new users see Control which business goals and tasks appear on the Getting Started page. (This task is completed in the Business Goals section of Getting Started.)
In this table you will find the tasks to integrate e-mail messaging with Microsoft Dynamics CRM.
Decide how e-mail message will be processed. If you want to track incoming and outgoing e-mail messages in Microsoft Dynamics CRM, you must first understand the configurations that are possible for incoming and outgoing e-mail.
Configure e-mail for each user. Determine whether the E-mail Router is required, and install it if necessary.
Install and configure the E-mail Router. Determine whether the E-mail Router is required, and install it if necessary.
Learn about how to manage e-mail activities. Understand how each e-mail message that you receive and send can be tracked as an activity.
Set system-wide e-mail options. Determine whether to use tracking tokens in the subject line of each e-mail message, and set other options that affect all users. (This task is completed in the Administration area of Settings.)
The following table lists the tasks that help you manage customer-support features in Microsoft Dynamics CRM.

Set up queues for cases. Learn how to organize incoming cases by using queues. (These tasks are completed in the Business Management area of Settings.)
Create service contract templates. Set up service-contract templates to track service contracts with your customers. (These tasks are completed in the Templates area of Settings.)

In the following table you will find the tasks to manage resource-scheduling features in Microsoft Dynamics CRM.
Organize resources and schedule services. Define when and where services are offered, and which resources are required for each type of service. (These tasks are completed in the Business Management area of Settings.)
The following table lists the tasks you can perform manage marketing features in Microsoft Dynamics CRM.
Set system-wide marketing options. Set options that apply to all campaigns and marketing lists. (This task is completed in the Administration area of Settings.)
The following table lists the tasks to manage sales features in Microsoft Dynamics CRM.
Set up competitors for tracking won and lost sales. Start tracking information about competitors. To do this, you must enter data about your competitors.
Manage products and price lists. Create the product catalog, which includes all price lists and products. (These tasks are completed in the Product Catalog area of Settings.)

Track data by sales territory. Define territories and add salespeople to territories so that sales processes and results can be tracked by territory. (These tasks are completed in the Business Management area of Settings.)
Track progress against quotas. Track performance by assigning and tracking sales quotas for each salesperson. (These tasks are completed in the Business Management and Administration areas of Settings.)
The following table lists the tasks to automate business processes in Microsoft Dynamics CRM.
Learn about how to automate business processes. Learn how business processes can be automated by creating workflows.
Create workflows. Make sure users follow standard procedures by creating workflows. (These tasks are completed in the Workflows area of Settings.)
Configure duplicate detection. Decide how duplicates are defined, and when duplicate detection should be enabled. (These tasks are completed in the Data Management area of Settings.)
The Resource Center is a place in the application where users, administrators, and implementers will find information to help them use and configure Microsoft Dynamics CRM 4.0. Much of the content in the Resource Center is created by experts in the Microsoft Dynamics CRM community. The Resource Center includes links to an external Web site hosted by Microsoft and is not displayed when users are offline.
However, if users of the on-premise version of Microsoft Dynamics CRM do not have access to the Internet they cannot use the content on the Resource Center. In these situations, the Resource Center can be removed from the application by using the following steps:
a. In the Navigation Pane, click Settings, click Customization, and then click Export Customizations.
b. Select SiteMap, then on the Actions toolbar, click More Actions, and then click Export Selected Customizations.
c. Save the customization compressed (.zip) file and make a copy of it as a backup.

Icon="/_imgs/resourcecenter_24x24.gif"
Icon="/_imgs/ico_18_129.gif"
Url="/resourcecenter/overview.aspx"
Icon="/_imgs/ico_16_sales.gif"
Url="/resourcecenter/sales.aspx"
Icon="/_imgs/ico_16_marketing.gif"
Url="/resourcecenter/marketing.aspx"
Icon="/_imgs/area/18_service.gif"
Url="/resourcecenter/services.aspx"

Icon="/_imgs/area/18_settings.gif"
Url="/resourcecenter/customization.aspx"
The import tool performs validations on the SiteMap. However, it is still possible that some errors might occur.
Because the SiteMap controls the application Navigation pane, an error in the SiteMap could cause the Navigation pane to be unusable. In that case, you must directly access the Import customization screen with the following URL in on-premise versions of Microsoft Dynamics CRM.
http://<CRM_Servername>//tools/systemcustomization/ImportCust omizations/importCustomizations.asp
Locate your back-up copy of the exported customization.zip file. Upload and import this backup file. You can then use the Navigation Pane again.
We appreciate hearing from you. To send your feedback, click the following link and type your comments in the message body.
Pages referenced in this manual — manufacturer, support and downloads.
Owners and our team usually reply within a day — and your question helps the next person too.
Be the first to ask — other owners or our team will answer.