The Exchange Server transport is the most important MAPI component that Outlook must use to connect to a server running Exchange 2000 Server. You configure this transport in the context of MAPI independent of the client. The most important configuration parameters, which you can set through the property sheets of the Exchange transport service, are the mailbox and home server names. Only in rare situations might it be necessary to optimize the transport by means of direct manipulation of Registry entries.
This lesson covers the configuration and optimization of the Exchange transport service. This can be accomplished automatically prior to the Outlook installation, as discussed in Lesson 1, or manually, as you will learn in the following.
At the end of this lesson, you will be able to:
Estimated time to complete this section: 30 minutes
The Exchange transport relies on RPCs for client/server communication. RPCs are used whenever the client interacts with the server, including when setting up the Exchange transport service itself.
RPCs are a high-level mechanism for interprocess communication (application layer of the Open Systems Interconnection [OSI] network model), as discussed in Chapter 3, "Microsoft Exchange 2000 Server Architecture." Software components that communicate using RPCs can build their connection on a vast variety of network protocols, including local procedure calls (LPCs), Transmission Control Protocol/Internet Protocol (TCP/IP), Internetwork Packet Exchange/Sequenced Packet Exchange (SPX/IPX), Banyan Vines protocol, named pipes, and NetBIOS. Some client computers will have multiple protocols installed and therefore will have multiple ways to establish an RPC connection. Exchange will attempt to communicate over the available protocols in a sequential order until a connection can be established or until all options have been tried without success.
The following are supported RPC communication methods between Outlook and Exchange 2000 Server:
The optimization of the RPC client connection order is described later in this lesson. This optimization is particularly important in heterogeneous environments, as you will learn in Chapter 10, "MAPI-Based Clients in a Novell NetWare Environment."
The Exchange transport service is implemented in three DLLs called EMSABP32.DLL, EMSMDB32.DLL, and EMSUI32.DLL. They communicate with the directory to display the server-based address books (EMSABP32.DLL) and with the Information Store service to send and receive messages (EMSMDB32.DLL). As outlined in Chapter 2, "Integration with Microsoft Windows 2000," in Exchange 2000 Server environments, address book information will be retrieved from Global Catalog servers. EMSUI32.DLL, again, is the transport service's configuration library, which is responsible for providing the property sheets and dialog boxes that allow you to configure this service. Only in rare cases must you use the Registry Editor instead of EMSUI32.DLL.
You can configure the transport through the Mail applet, which will be added to the Control Panel during Outlook 2000 installation. When you launch this applet, it opens the properties of the default messaging profile, which should contain the Microsoft Exchange Server transport. If this information service is missing, you need to include it using the Add button; otherwise, you cannot connect to Exchange 2000 Server. Click Properties to configure the service.
Using the General property sheet of the Microsoft Exchange Server dialog box, enter the name of the home server under Microsoft Exchange Server and the display name of your mailbox under Mailbox. You can then check immediately to see whether the connection to the server is functioning by clicking Check Name. This procedure resolves the mailbox name, while RPCs are working under the surface to accomplish this task. If both server name and mailbox name can be resolved as indicated by an underline, the RPC communication was successful. At this point you can assume that the client/server communication can take place without any problems.
Essentially, Microsoft Exchange Server and Mailbox names are required to successfully configure the transport for Exchange 2000 Server. The transport service is able to detect the state of the server connection automatically, and starts offline, for instance, when you work disconnected from the network. To work offline, you need to configure an Offline Folder Store in the Advanced property sheet, which will be explained in Chapter 9, "MAPI-Based Clients." If you connect to your server through a dial-up connection, you may find it useful, under Encrypt Information, to enable the When Using Dial-Up Networking check box, which causes Outlook to encrypt the client/server communication.
The Exchange transport service provides the following property sheets and configuration options:
Outlook 2000 will attempt to connect to the server using all available communication methods in a sequential order until it can either connect successfully or until all methods have failed. The default connect order is LPC, TCP/IP, SPX/IPX, named pipes, NetBIOS, and Banyan Vines protocol.
You can modify the client connection order prior to the actual client installation via the Custom Installation Wizard by setting an appropriate custom Registry key. Once Outlook 2000 has been installed, however, you need to use the Registry Editor (REGEDIT) to change the Rpc_Binding_Order value, as shown in Figure 8.11.
Figure 8.11 Editing the RPC sequence
The Rpc_Binding_Order value can be found under:
HKEY_LOCAL_MACHINE \SOFTWARE \Microsoft \Exchange \Exchange Provider
If you want, you can rearrange or delete entries to speed up the client startup process. For workstations in a Novell NetWare environment, you may want place the ncacn_spx synonym in the first position if your network relies primarily on SPX/IPX. With this modification, the client will try to communicate through RPCs over SPX first. The communication methods in the list must be separated by commas.
The RPC communication methods are:
In this exercise you will verify the RPC-based client/server communication between Outlook and Exchange 2000. You will edit client connection order to create a situation where RPCs fail and examine the client behavior.
To view a multimedia demonstration that displays how to perform this procedure, run the EX4CH8.AVI files from the \Exercise_Information\Chapter8 folder on the Supplemental Course Materials CD.
To test the RPC-based client/server communication
At this point, you are able to notice the default binding order for MAPI-based clients. First is an LPC, followed by TCP/IP (Sockets), followed by SPX (Sockets), named pipes, NetBIOS, and Banyan Vines protocol.
Figure 8.12 Testing RPC Communication
It is a good idea to check the mailbox name when configuring a messaging profile. If the name can be resolved, Outlook will most likely connect to the specified server and mailbox. This check can help to avoid unsuccessful client startups.