E2 K 3 RPCHTTPDep
E2 K 3 RPCHTTPDep
Microsoft Corporation
Abstract
This guide includes information about deploying RPC over HTTP in Exchange Server 2003.
Technical Details of Using RPC over HTTP to Access Exchange from an Outlook Client......15
How to Create an Outlook Profile for Users to Use with RPC over HTTP..............................18
Procedure........................................................................................................................... 18
For More Information........................................................................................................... 23
How to Configure the RPC Proxy Server to Allow for SSL Offloading on a Separate Server. 25
Before You Begin................................................................................................................ 26
Procedure........................................................................................................................... 26
For More Information........................................................................................................... 27
How to Configure the RPC Proxy Server to Allow for SSL Offloading on a Separate Server. 35
Before You Begin................................................................................................................ 35
Procedure........................................................................................................................... 35
For More Information........................................................................................................... 36
The Role of Exchange System Manager and Exchange System Attendant in RPC over HTTP
............................................................................................................................................ 36
How to Configure the RPC Proxy Server to Allow for SSL Offloading on a Separate Server. 44
Before You Begin................................................................................................................ 44
Procedure........................................................................................................................... 44
For More Information........................................................................................................... 45
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1 (Front-
End/Back-End Scenario)..................................................................................................... 61
Before You Begin................................................................................................................ 61
Procedure........................................................................................................................... 62
For More Information........................................................................................................... 62
How to Configure the Back-End Server to Act as a Target for the RPC Proxy Server............64
Before You Begin................................................................................................................ 64
Procedure........................................................................................................................... 65
For More Information........................................................................................................... 66
How to Configure the RPC Proxy Server Settings on a Front-End Server in Exchange System
Manager.............................................................................................................................. 66
Before You Begin................................................................................................................ 66
Procedure........................................................................................................................... 66
For More Information........................................................................................................... 68
How to Configure the RPC Proxy Server to Allow for SSL Offloading on a Separate Server. 68
Before You Begin................................................................................................................ 68
Procedure........................................................................................................................... 69
For More Information........................................................................................................... 69
How to Create an Outlook Profile for Users to Use with RPC over HTTP..............................70
Procedure........................................................................................................................... 70
For More Information........................................................................................................... 75
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1, No Front-
End Server.......................................................................................................................... 76
Before You Begin................................................................................................................ 76
Procedure........................................................................................................................... 77
For More Information........................................................................................................... 78
How to Configure a Back-End Server That is in a Back-End Only Topology to Use RPC over
HTTP................................................................................................................................... 80
Before You Begin................................................................................................................ 80
Procedure........................................................................................................................... 80
For More Information........................................................................................................... 81
How to Configure the RPC Proxy Server to Use Specified Ports for RPC over HTTP...........84
Before You Begin................................................................................................................ 84
Procedure........................................................................................................................... 85
For More Information........................................................................................................... 86
How to Configure the RPC Proxy Server to Allow for SSL Offloading on a Separate Server. 87
Before You Begin................................................................................................................ 87
Procedure........................................................................................................................... 87
For More Information........................................................................................................... 88
How to Create an Outlook Profile for Users to Use with RPC over HTTP..............................88
Procedure........................................................................................................................... 89
For More Information........................................................................................................... 93
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario...................................................................................................... 94
Before You Begin................................................................................................................ 94
Procedure........................................................................................................................... 95
For More Information........................................................................................................... 95
How to Configure a Server as an RPC Proxy Server.............................................................96
Before You Begin................................................................................................................ 96
Procedure........................................................................................................................... 96
For More Information........................................................................................................... 97
How to Configure the RPC Proxy Server to Use Specified Ports for RPC over HTTP.........100
Before You Begin.............................................................................................................. 101
Procedure......................................................................................................................... 102
For More Information......................................................................................................... 103
How to Configure the RPC Proxy Server to Allow for SSL Offloading on a Separate Server
.......................................................................................................................................... 103
Before You Begin.............................................................................................................. 103
Procedure......................................................................................................................... 104
For More Information......................................................................................................... 104
How to Create an Outlook Profile for Users to Use with RPC over HTTP............................105
Procedure......................................................................................................................... 105
For More Information......................................................................................................... 110
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server..........................................111
Before You Begin............................................................................................................... 111
Procedure.......................................................................................................................... 112
For More Information......................................................................................................... 113
How to Configure the RPC Proxy Server to Use Specified Ports for RPC over HTTP..........117
Before You Begin............................................................................................................... 118
Procedure.......................................................................................................................... 119
For More Information......................................................................................................... 120
How to Set the NTDS Port on a Global Catalog Server Acting as an Exchange Server 2003
Back-End Server............................................................................................................... 120
Before You Begin.............................................................................................................. 120
Procedure......................................................................................................................... 121
For More Information......................................................................................................... 121
How to Configure the RPC Proxy Server to Allow for SSL Offloading on a Separate Server
.......................................................................................................................................... 122
Before You Begin.............................................................................................................. 122
Procedure......................................................................................................................... 122
For More Information......................................................................................................... 123
How to Create an Outlook Profile for Users to Use with RPC over HTTP............................123
Procedure......................................................................................................................... 124
For More Information......................................................................................................... 128
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-End
Server............................................................................................................................... 129
Before You Begin.............................................................................................................. 129
Procedure......................................................................................................................... 130
For More Information......................................................................................................... 130
How to Configure the RPC Proxy Server to Use Specified Ports for RPC over HTTP.........135
Before You Begin.............................................................................................................. 135
Procedure......................................................................................................................... 137
For More Information......................................................................................................... 137
How to Configure the RPC Proxy Server to Allow for SSL Offloading on a Separate Server
.......................................................................................................................................... 138
Before You Begin.............................................................................................................. 138
Procedure......................................................................................................................... 138
For More Information......................................................................................................... 139
How to Create an Outlook Profile for Users to Use with RPC over HTTP............................139
Procedure......................................................................................................................... 140
For More Information......................................................................................................... 145
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-End
Server, Back-End on Global Catalog Server.....................................................................145
Before You Begin.............................................................................................................. 146
Procedure......................................................................................................................... 146
For More Information......................................................................................................... 147
How to Configure the RPC Proxy Server to Use Specified Ports for RPC over HTTP.........152
Before You Begin.............................................................................................................. 152
Procedure......................................................................................................................... 153
For More Information......................................................................................................... 154
How to Set the NTDS Port on a Global Catalog Server Acting as an Exchange Server 2003
Back-End Server............................................................................................................... 155
Before You Begin.............................................................................................................. 155
Procedure......................................................................................................................... 155
For More Information......................................................................................................... 156
How to Configure the RPC Proxy Server to Allow for SSL Offloading on a Separate Server
.......................................................................................................................................... 156
Before You Begin.............................................................................................................. 156
Procedure......................................................................................................................... 157
For More Information......................................................................................................... 157
How to Create an Outlook Profile for Users to Use with RPC over HTTP............................158
Procedure......................................................................................................................... 158
For More Information......................................................................................................... 163
How to Upgrade an Exchange Server 2003 RPC over HTTP Deployment to Exchange Server
2003 SP1.......................................................................................................................... 164
Before You Begin.............................................................................................................. 164
Procedure......................................................................................................................... 165
For More Information......................................................................................................... 166
How to Configure the Back-End Server to Act as a Target for the RPC Proxy Server..........166
Before You Begin.............................................................................................................. 166
Procedure......................................................................................................................... 167
For More Information......................................................................................................... 168
How to Configure the RPC Proxy Server Settings on a Front-End Server in Exchange System
Manager............................................................................................................................ 168
Before You Begin.............................................................................................................. 168
Procedure......................................................................................................................... 168
For More Information......................................................................................................... 170
How to Deploy RPC over HTTP for the First Time in Small Business Server 2003 (Standard
or Premium)...................................................................................................................... 170
Before You Begin.............................................................................................................. 170
Procedure......................................................................................................................... 170
For More Information......................................................................................................... 171
How to Verify That RPC Proxy Server Has Basic Authentication Configured.......................180
Procedure......................................................................................................................... 181
For More Information......................................................................................................... 181
How to Enable 'Exchange over the Internet' in Outlook 2003 E-mail Accounts Wizard........186
Before You Begin.............................................................................................................. 186
Procedure......................................................................................................................... 186
For More Information......................................................................................................... 187
How to Check RPC over HTTP Connection Status on Outlook 2003 Client.........................187
Before You Begin.............................................................................................................. 187
Procedure......................................................................................................................... 187
For More Information......................................................................................................... 188
Copyright.............................................................................................................................. 190
13
The Windows RPC over HTTP feature enables an RPC client (such as Outlook 2003) to
establish connections across the Internet by tunneling the remote procedure call (RPC) traffic
over Hypertext Transfer Protocol (HTTP). RPC is not designed for use on the Internet and
does not work well with perimeter networks. RPC over HTTP makes it possible to use RPC
clients with perimeter networks. If the RPC client can make an HTTP connection to a remote
computer that is running Internet Information Services (IIS), the client can connect to any
server on the remote network that you have configured to be available to this client. The client
can execute remote procedure calls to available servers on the remote network. Moreover,
the RPC client and server programs can connect across the Internet—even if both are behind
firewalls on different networks.
Technical Details of Using RPC over HTTP to Access Exchange from an Outlook Client
Note:
Download Microsoft Exchange Server 2003 RPC over HTTP Deployment Scenarios
to print or read offline.
14
1. Configuring your Exchange Server 2003 back-end servers as a target for the RPC proxy
servers in Exchange System Manager
2. Configuring your Exchange Server 2003 front-end servers as RPC proxy servers in
Exchange System Manager
To use this new functionality to deploy RPC over HTTP, you will need to install Exchange
Server 2003 SP1 on all Exchange front-end servers that will be used as RPC proxy servers.
It is also recommended that you install Service Pack 1 on all of your Exchange back-end
servers. However, you can enable RPC over HTTP on Exchange Server 2003 back-end
servers using Exchange System Manager from another Exchange server that has Service
Pack 1 installed.
Exchange automatically configures Internet Information Services (IIS) settings for RPC
over HTTP
Exchange verifies that the Exchange servers used for RPC over HTTP meet all the
requirements. For more information about requirements for Exchange servers used for
RPC over HTTP, see System Requirements for RPC over HTTP on Exchange Server
2003.
Exchange automatically updates the RPC over HTTP proxy component with the
Exchange servers to which it can forward requests.
15
If you use RPC over HTTP, you can use Outlook 2003 to access Exchange Server over the
Internet, because HTTP is a common Internet protocol. The HTTP session terminates at a
server running Internet Information Services (IIS) that has the Microsoft Windows
Server™ 2003 RPC over HTTP Proxy networking component installed. This server is called
an RPC proxy server.
It is recommended that your RPC proxy server is an Exchange front-end server. The RPC
over HTTP Proxy networking component extracts the RPC requests from the HTTP request
and forwards the RPC requests to the appropriate server. The advantage of this approach is
that only the RPC proxy server has to allow access from the Internet. Back-end Exchange
servers do not have to allow access from the Internet. You should use the Secure Sockets
Layer (SSL) to establish the HTTP session that you use to access Exchange Server over the
Internet from an Outlook 2003 client.
A common misconception is that the use of RPC over HTTP turns a Web request into an
RPC request. Outlook 2003 sends the RPC request inside an HTTP tunnel. The actual RPC
request does not change between the Outlook client and the Exchange server.
You can use the same URL and namespace that you use for Microsoft Office Outlook
Web Access for Exchange Server 2003, Exchange ActiveSync®, and Microsoft Outlook
Mobile Access.
You can use the same Secure Sockets Layer (SSL) server certificate that you use for
Outlook Web Access, Exchange ActiveSync, and Outlook Mobile Access.
No unauthenticated requests from Outlook can access Exchange servers.
You must allow only port 443 through your firewall, because Outlook requests use HTTP over
SSL. If you already use Outlook Web Access with SSL, Exchange ActiveSync with SSL, or
Outlook Mobile Access with SSL, you do not have to open any additional ports from the
Internet.
RPC over HTTP Interactions on the Back-End ServerRPC over HTTP Interactions on the
Client Computer
Microsoft® Office Outlook® 2003 tries to use either RPC over HTTP or RPC over TCP,
depending on your Outlook 2003 profile settings.
For more information about Outlook 2003 profile settings for RPC over HTTP, see Configuring
Outlook 2003 for RPC over HTTP (http://go.microsoft.com/fwlink/?LinkId=45954).
If Outlook tries to use either RPC over HTTP or RPC over TCP, Outlook calls the RPC layer
on the client computer. Outlook uses a specific protocol sequence to indicate if it must
connect to an Exchange server that uses RPC over HTTP or to an Exchange server that use
RPC over TCP. If the protocol sequence indicates that Outlook must connect to an Exchange
server that uses RPC over HTTP, the RPC layer then creates the HTTP session, controls
authentication, and puts the RPC requests inside the HTTP session. Rpcrt4.dll contains
17
support for the RPC layer of RPC over HTTP. Rpcrt4.dll uses any Microsoft Internet Explorer
proxy settings that apply to outbound HTTP connections.
Both the HTTP session and the RPC requests inside the HTTP session require
authentication. Outlook passes authentication information for the HTTP session and the RPC
request to the RPC layer for each request from the client computer to the Exchange server.
You cannot select the type of authentication for the RPC request inside the HTTP tunnel.
Outlook always uses NTLM authentication for the RPC request. You can select the type of
authentication for the HTTP session.
To select the type of authentication, you must set your Outlook profile to use either Basic
authentication or NTLM authentication.
If you use Basic authentication, Outlook prompts you for user name and password
information. In the user name field, you must enter your user name information in one of the
following formats:
<domain>\<user name>
If you use NTLM authentication, Outlook tries to use your current Microsoft Windows®
operating system logon information. If your current Windows operating system logon
information fails, Outlook prompts you for domain, user name, and password information.
For more information about requirements for RPC over HTTP to use the current Windows
operating system logon information, see RPC over HTTP Authentication and Security.
For more information about how to use your current Windows operating system logon
information instead of entering logon information, see Microsoft Knowledge Base article
820281, "You must provide Windows account credentials when you connect to Exchange
Server 2003 by using the Outlook 2003 RPC over HTTP feature"
(http://go.microsoft.com/fwlink/?Linkid=3052&kbid=820281).
After Outlook connects to the RPC proxy server by using the logon information that is
provided, Outlook caches the logon information for the current Outlook session. You do not
have to re-enter logon information until you exit and restart Outlook.
For detailed steps for how to set the RPC over HTTP settings in your Outlook 2003 profile,
see How to Create an Outlook Profile for Users to Use with RPC over HTTP.
For your users to use RPC over HTTP from their client computer, they must create an
Outlook profile that uses the required RPC over HTTP settings. These settings enable Secure
Sockets Layer (SSL) communication with Basic authentication or NTLM authentication. SSL
is required when you use RPC over HTTP.
Before you begin the procedure in this topic, confirm the following:
Procedure
To create an Outlook profile for users to use with RPC over HTTP
1. On the client computer where Outlook 2003 is installed, click Start, and then click
Control Panel.
If you are using Category View, in the left pane, under See Also, click Other
Control Panel Options, and then click Mail.
5. In New Profile, in the Profile Name box, type a name for this profile, and then click
OK.
6. In the E-mail Accounts wizard, click Add a new e-mail account, and then click
Next.
7. On the Server Type page, click Microsoft Exchange Server, and then click Next.
a. In the Microsoft Exchange Server box, type the fully qualified domain name
(FQDN) of your back-end Exchange server where your mailbox resides.
Important:
19
c. In the User Name box, type the name of the user account that you want to use.
Note:
At this stage, the client application attempts to resolve the user name on
the Exchange server. If you cannot access your Exchange back-end
server directly by using TCP/IP, this operation will time out and present a
dialog box that prompts you to confirm your user name and mailbox.
Click Cancel on this dialog box.
a. On the Connection tab, in the Connection pane, select either Connect using
my Local Area Network (LAN) or Connect using Internet Explorer's or a 3rd
party dialer. Select the connection type based on the method that you use to
connect to the Internet.
b. On the Connection tab, in the Exchange over the Internet pane, select the
Connect to my Exchange mailbox using HTTP check box.
Note:
If the Exchange over the Internet area does not appear on the
Connection tab, see the How to Verify Client Computer Configuration.
10. In the Exchange Proxy Settings dialog box, in the Connections Settings pane,
perform the following steps:
a. Enter the FQDN of the RPC proxy server in the Use this URL to connect to my
proxy server for Exchange box. The RPC proxy server is the Exchange server
that users can connect to on the Internet. For example, type mail.contoso.com.
d. If you enabled mutual authentication, enter the FQDN of the RPC proxy server in
the Principle name for proxy server box. Use the format: msstd:FQDN of RPC
Proxy Server.
Note:
Outlook defines a fast connection as a connection that is faster than 128
kilobits per second (Kbps). Outlook defines a slow connection as a
connection that is slower than or equal to 128 Kbps.
The following figure shows the Exchange Proxy Settings dialog box.
11. In the Exchange Proxy Settings dialog box, in the Proxy authentication settings
pane, in the Use this authentication when connecting to my proxy server for
Exchange list, select either Basic Authentication or NTLM Authentication.
12. Click OK in the Exchange Proxy Settings box, click OK in the Microsoft Exchange
Server box, click Next on the E-mail Accounts page, click Finish to close the
wizard, and then click OK.
To modify an existing Outlook profile for users to use with RPC over HTTP
1. Use either Control Panel or Outlook to open the E-Mail Accounts wizard.
21
To open the E-Mail Accounts wizard using Control Panel, do the following:
a. On the client computer where Outlook 2003 is installed, click Start, and then click
Control Panel.
• If you are using Category View, in the left pane, under See Also, click Other
Control Panel Options, and then click Mail.
d. In Mail, click the profile that you want to change, and then click Properties.
e. In Mail Setup, click E-mail Accounts.
2. In the E-mail Accounts wizard, click View or change existing e-mail accounts,
and then click Next.
3. On the E-mail Accounts page, select the Microsoft Exchange Server account, and
then click Change.
a. On the Connection tab, in the Connection pane, select either Connect using
my Local Area Network (LAN) or Connect using Internet Explorer's or a 3rd
party dialer. Select the connection type based on the method that you use to
connect to the Internet.
b. On the Connection tab, in the Exchange over the Internet pane, select the
Connect to my Exchange mailbox using HTTP check box.
6. In the Exchange Proxy Settings dialog box, in the Connections Settings pane, do
the following steps:
a. Enter the fully qualified domain name (FQDN) of the RPC proxy server in the
Use this URL to connect to my proxy server for Exchange box. The RPC
proxy server is the Exchange server that users can connect to on the Internet.
For example, type mail.contoso.com.
d. If you enabled mutual authentication, enter the FQDN of the RPC proxy server in
the Principle name for proxy server box. Use the format: msstd:FQDN of RPC
Proxy Server.
Note:
Outlook defines a fast connection as a connection that is faster than 128
kilobits per second (Kbps). Outlook defines a slow connection as a
connection that is slower than or equal to 128 Kbps.
The following figure shows the Exchange Proxy Settings dialog box.
7. In the Exchange Proxy Settings dialog box, in the Proxy authentication settings
pane, in the Use this authentication when connecting to my proxy server for
Exchange list, select either Basic Authentication or NTLM Authentication.
23
8. Click OK in the Exchange Proxy Settings box, click OK in the Microsoft Exchange
Server box, click Next on the E-mail Accounts page, click Finish to close the
wizard, and then click OK.
Video that shows how to configure Outlook 2003 MAPI profile to connect to Exchange
Server 2003 using RPC over HTTP (http://go.microsoft.com/fwlink/?LinkId=64060)
Note:
The video is in Windows Media Player format. If you have trouble viewing the
video, see the Windows Media Player support page.
For information about deploying RPC over HTTP in different Exchange Server 2003
scenarios, see the following topics in the Exchange Server 2003 RPC over HTTP Guide:
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1 (Front-
End/Back-End Scenario)
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1, No
Front-End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-
End Server
the RPC proxy server extracts the RPC requests from the HTTP session and forwards these
requests to the server that is specified in the RPC request. It is recommended that your RPC
proxy server is an Exchange front-end server.
RpcProxy.dll is the DLL that controls the extraction of RPC requests from the HTTP session.
RpcProxy.dll is an Internet Server API (ISAPI) that runs in Internet Information Services (IIS).
RpcProxy.dll listens for activity on the RPC virtual directory.
IIS authenticates the HTTP request using Basic authentication or NTLM authentication,
depending on the Outlook profile setting. After IIS authenticates the request, it sends the
request to RpcProxy.dll. RpcProxy.dll only accepts authenticated requests. Even if IIS is
configured to allow anonymous users, RpcProxy.dll does not forward an anonymous request
to the Exchange server. Additionally, RpcProxy.dll only accepts HTTP requests over SSL. If
the HTTP session does not use SSL, RpcProxy.dll blocks the request.
Note:
If you offload SSL, you must configure an additional registry key to tell the RPC over
HTTP Proxy networking component to accept non-SSL connections. An example of
SSL offloading is when the firewall in front of the RPC proxy server stops the SSL
session. For information about how to configure the RPC proxy server for SSL
offloading, see How to Configure the RPC Proxy Server to Allow for SSL Offloading
on a Separate Server.
RpcProxy.dll forwards RPC requests to specific services on Exchange servers. Each service
is specified by a port number in the RPC request. The following services are the allowed
services:
The referral service of DSProxy within the Exchange system attendant service (port
6002)
DSProxy service within the Exchange system attendant service (port 6004)
The valid ports are contained in the following registry key on the RPC proxy server:
HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc\RpcProxy
In Exchange Server 2003 Service Pack 1 (SP1), the system attendant can maintain the
ValidPorts registry entry automatically. The system attendant updates the ValidPorts registry
entry when you add new RPC over HTTP back-end servers to the organization.
Note:
For information about editing the registry to set the ValidPorts registry value, see
How to Configure the RPC Proxy Server to Use Specified Ports for RPC over HTTP.
You can install the RPC over HTTP Proxy networking component on a back-end server. You
should only install the RPC over HTTP Proxy networking component on a back-end server if
you do not have an Exchange front-end server in your organization. If you install the RPC
25
over HTTP Proxy networking component on a back-end server, you must manually configure
the RPC over HTTP Proxy component settings and IIS settings.
Note:
In Exchange Server 2003 SP1, authentication for RPC over HTTP on an RPC proxy
server is configured automatically.
Caution:
Incorrectly editing the registry can cause serious problems that may require you to
reinstall your operating system. Problems resulting from editing the registry
incorrectly may not be able to be resolved. Before editing the registry, back up any
valuable data.
Procedure
To configure the RPC proxy server to allow for SSL offloading on a separate server
1. On the RPC proxy server, start Registry Editor (Regedit).
HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc\RpcProxy
26
Important:
On the RPC virtual directory security settings in Internet Information Services
(IIS), under Authentication methods, verify that the check box next to
Enable anonymous access is cleared.
6. Restart the World Wide Web Publishing Service (W3SVC) in the services snap-in to
Microsoft Management Console (MMC).
Microsoft Knowledge Base article 833003, "Description of the RPC over HTTP feature
and the AllowAnonymous registry entry in Windows Server 2003"
(http://go.microsoft.com/fwlink/?Linkid=3052&kbid=833003)
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1 (Front-
End/Back-End Scenario)
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1, No
Front-End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-
End Server
Mailbox servers
Mailbox Servers
Mailbox servers store user mailboxes, including any mailboxes that a user must access as a
delegate. The Microsoft Exchange Information Store service listens for incoming RPC
requests on port 6001.
Public folder servers store free/busy data. Public folder servers that store free/busy data must
be accessible to Outlook so that users can view other users' free/busy data.
Public folder servers store the Outlook offline address book. Public folder servers that store
offline address book data must be accessible to Outlook so that users can download the
offline address book.
DSProxy
Directory Service Proxy (DSProxy) is an internal component of the Exchange system
attendant. It provides an address book service to Outlook clients. When RpcProxy.dll
forwards an RPC request to port 6002 or port 6004, DSProxy receives that request.
Note:
For more information about RpcProxy.dll, see RPC over HTTP Interactions on the
RPC Proxy Server.
An RPC request to the referral service port (6002) of DSProxy requests a referral to a global
catalog server.
A client computer cannot connect to a global catalog server directly over the Internet.
Therefore, the referral service of DSProxy replies to the request with the local Exchange
server on which DSProxy is running. The client uses the local Exchange server on which
28
DSProxy is running, instead of the global catalog server. The client computer then uses the
DSProxy proxy service port (6004) on the local Exchange server for requests for directory
information. The local Exchange server forwards the request to the global catalog server.
Note:
In Exchange Server 2003 with no service packs installed, the referral service of
DSProxy cannot distinguish between an RPC over TCP request and an RPC over
HTTP request. If the Exchange back-end server has Exchange Server 2003 installed
with no service packs, you should not publish the referral service port (6002) in the
ValidPorts registry entry on the RPC proxy server. When Outlook tries to contact the
referral service of DSProxy, it fails because you did not publish the referral service
port on the RPC proxy server. Outlook then tries to contact the proxy service of
DSProxy on the Exchange server. The proxy service forwards the request to a global
catalog server.
For more information about Exchange Server 2003 and the Active Directory® directory
service, see "Exchange Server 2003 and Active Directory" in the Exchange Server 2003
Technical Reference Guide (http://go.microsoft.com/fwlink/?LinkId=47891).
Step 1
The client computer has determined that it will connect to the Exchange server by using RPC
over HTTP. The client computer initiates two HTTP sessions to the Exchange server for each
RPC request that it must send. The client computer initiates one HTTP session for RPC
requests into the Exchange server and another HTTP session for responses from the
Exchange server.
The client computer sends the initial RPC requests to the referral service of DSProxy on the
Exchange server prompting for a directory referral. The referral service port is 6002.
Step 2
The RPC proxy server extracts the RPC request from the HTTP session and forwards the
RPC request to port 6002 on the Exchange server. The Exchange server responds to the
directory referral request with itself as the target. This approach is unique to RPC over HTTP.
If the client computer was not using RPC over HTTP, the Exchange server would respond
with a global catalog server. However, when the client computer uses RPC over HTTP, the
Exchange server recognizes the request from the client computer as RPC over HTTP. The
client computer cannot access a global catalog server directly when the client computer uses
RPC over HTTP. Therefore, the Exchange server responds to the client computer with itself,
the Exchange server, as the server to use for directory lookups.
Step 3
The client computer initiates two HTTP sessions to the proxy service of DSProxy on the
Exchange server. The proxy service is on port 6004. The client computer initiates one HTTP
session for RPC requests into the server and another HTTP session for RPC requests from
the server.
Step 4
The RPC proxy server extracts the RPC request from the HTTP session and forwards the
RPC request to port 6004 on the Exchange server.
Step 5
The Exchange server forwards the directory request to a global catalog server. The global
catalog server responds to the Exchange server that has the appropriate directory
information.
30
Step 6
The Exchange server sends the directory information that it received from the global catalog
server to the client computer.
Step 7
The client computer initiates two HTTP sessions to the Microsoft Exchange Information Store
service on the Exchange server. The Microsoft Exchange Information Store service is on port
6001. The client computer initiates one HTTP session for RPC requests into the server and
another HTTP session for RPC requests from the server.
Step 8
The RPC proxy server extracts the RPC request from the HTTP session and forwards the
RPC request to port 6001 on the Exchange server.
Steps 7 and 8 are repeated as needed for any additional store connections, such as
accessing public folder data.
HTTP Protocol
31
HTTP: 80
Verbs RPC_IN_DATA
RPC_OUT_DATA
Content Length 1 GB
RPC
Microsoft RPC allows communication and the exchange of data between processes. Outlook
uses RPC to exchange data with the Exchange store and with Active Directory® directory
service.
32
Note:
The system attendant does not load
the DSProxy component on a server
that is both a global catalog server
and an Exchange server.
than the RPC proxy server to handle your SSL encryption and decryption. For example, if the
firewall in front of the RPC proxy server handles the SSL encryption and decryption,
terminates the SSL session and then establishes a new non-SSL session to the RPC proxy
server, you are using SSL offloading. If you use SSL offloading, you must set a special
registry setting on the RPC proxy server.
Note:
In Exchange Server 2003 SP1, authentication for RPC over HTTP on an RPC proxy
server is configured automatically.
Caution:
Incorrectly editing the registry can cause serious problems that may require you to
reinstall your operating system. Problems resulting from editing the registry
incorrectly may not be able to be resolved. Before editing the registry, back up any
valuable data.
Procedure
To configure the RPC proxy server to allow for SSL offloading on a separate server
1. On the RPC proxy server, start Registry Editor (Regedit).
HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc\RpcProxy
Important:
On the RPC virtual directory security settings in Internet Information Services
(IIS), under Authentication methods, verify that the check box next to
Enable anonymous access is cleared.
6. Restart the World Wide Web Publishing Service (W3SVC) in the services snap-in to
Microsoft Management Console (MMC).
35
Microsoft Knowledge Base article 833003, "Description of the RPC over HTTP feature
and the AllowAnonymous registry entry in Windows Server 2003"
(http://go.microsoft.com/fwlink/?Linkid=3052&kbid=833003)
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1 (Front-
End/Back-End Scenario)
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1, No
Front-End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-
End Server
Exchange server to be an RPC over HTTP back-end server, Exchange System Manager
performs the following actions:
It verifies that the Exchange server and operating system support RPC over HTTP by
verifying that you have installed Exchange Server 2003 and Microsoft Windows Server™
2003.
It verifies that you have configured the Microsoft Exchange Information Store service and
system attendant ports correctly for RPC over HTTP. If you have not configured the
Microsoft Exchange Information Store service and system attendant ports correctly for
RPC over HTTP, Exchange System Manager sets the ports and prompts the
administrator to restart any services that require restarts.
If the back-end server is also a global catalog server, Exchange System Manager also
sets the RPC directory port on the global catalog server to the correct value (6004).
Exchange System Manager then prompts the administrator to restart the server.
Note:
If your RPC over HTTP back-end server is also a domain controller, it is
recommended that you make this domain controller a global catalog server. If an
RPC over HTTP back-end server is a domain controller but not a global catalog
server, you may experience problems with connectivity to this server.
If the back-end server is part of a cluster, Exchange System Manager tries to verify the
Microsoft Exchange Information Store service port and the proxy and referral service
ports of DSProxy.
Exchange System Manager sets the Microsoft Exchange Information Store service port
and the proxy and referral service ports of DSProxy on all the physical nodes of the
cluster if they are not set correctly.
If Exchange System Manager cannot access a node of the cluster, Exchange System
Manager instructs the administrator to examine the node manually. For example, if one of
the nodes is down for maintenance, Exchange System Manager instructs the
administrator to examine the node manually.
If you have not configured any front-end servers as RPC over HTTP front-end servers,
Exchange System Manager warns the administrator that a front-end server must be
configured as an RPC over HTTP front-end server for Exchange System Manager to
publish the back-end server in the ValidPorts registry entry on the RPC proxy server
automatically.
After Exchange System Manager completes verification, Exchange System Manager sets a
value on the Exchange server directory object to identify the server as an RPC over HTTP
back-end server. Exchange System Manager now displays the server as an RPC over HTTP
back-end server in the Exchange System Manager user interface.
37
It locks down the RPC virtual directory in Internet Information Services (IIS) with the
correct permissions.
It changes the error responses for the RPC virtual directory to text-only error codes.
Exchange System Manager changes the error responses to reduce the amount of
network traffic. The error responses for the RPC virtual directory never appear in a
browser. Therefore, by changing them to be text-only, you reduce the number of bytes
that are sent over the network. Additionally, NTLM authentication always generates 401
Access denied messages as part of its challenge/response. Therefore, by reducing the
size of the responses, you can accelerate NTLM authentication.
Exchange System Manager checks to see whether RPC over HTTP was ever configured on
this server. If RPC over HTTP was configured in the past, Exchange System Manager notifies
you that it will back up the previous configuration to a location on the server. After all the
checks have passed, Exchange System Manager sets a bit on the Exchange Server object in
the Active Directory® directory service. The bit identifies the server as an RPC over HTTP
front-end server. After the Exchange System Manager has set this bit, Exchange System
Manager displays the server as an RPC over HTTP front-end server in the Exchange System
Manager user interface.
The following registry key controls how frequently the directory is polled:
38
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeSA\Paramet
ers
DWORD: HTTPFEPollingInterval
During its next poll interval, the system attendant automatically finds any new back-end
servers that you configure as RPC over HTTP back-end servers.
The system attendant writes the following information to the ValidPorts registry entry. This
information varies depending on the version of the back-end Exchange server.
<FQDN of server>:6004
<FQDN of server>:6001-6002;
<FQDN of server>:6004
The product version difference in the information that is written to the ValidPorts registry
entry reflects changes in the referral service of the Directory Service Proxy (DSProxy)
component that were introduced in Exchange Server 2003 SP1. If a back-end server has
Exchange 2003 SP1 or subsequent service packs installed, the Exchange front-end server
allows access to the referral port of DSProxy (6002) for faster directory access.
For more information about DSProxy, see RPC over HTTP Interactions on the Back-End
Servers.
You do not have to allow any Internet ports other than those you already allow for
Microsoft® Office Outlook® Web Access, Microsoft Exchange ActiveSync®, or Outlook
Mobile Access.
Both the RPC proxy server and the Exchange server authenticate Outlook requests that
use RPC over HTTP.
Client computers can access only specified Exchange services on specified Exchange
servers.
HTTP Authentication
Internet Information Services (IIS) on the RPC proxy server controls the HTTP session
authentication. When you configure the RPC proxy server, you must set the RPC virtual
directory to use Basic authentication, NTLM authentication, or both Basic authentication and
NTLM authentication. Outlook can send either Basic authentication or NTLM authentication
for the HTTP session, depending on how you have configured the Outlook profile. The RPC
proxy server Internet Server API (ISAPI) does not accept anonymously authenticated
connections.
Note:
When you use Exchange System Manager in Exchange Server 2003 Server Pack 1
(SP1) to configure RPC over HTTP, Exchange System Manager automatically
configures the authentication settings on the RPC virtual directory for you.
Note:
NTLM authentication is also known as Integrated Windows authentication.
The authentication mechanism that you configure in your Outlook profile is used only for the
HTTP session to the RPC proxy server. The authentication mechanism between Outlook and
the Exchange server, when Outlook accesses the Exchange server by using RPC over HTTP,
is always NTLM. It is strongly recommended that you use SSL encryption for the HTTP
session to the RPC proxy server, especially if you use Basic authentication for the HTTP
session. If you use SSL encryption, you prevent your user name and password from being
sent in clear text. Outlook does not allow you to use Basic authentication when connecting to
your RPC proxy server without using SSL encryption.
If you have a firewall that examines HTTP traffic and modifies it in any way, you may have to
use Basic authentication, instead of NTLM authentication. NTLM authentication fails if the
RPC proxy server does not trust the authentication information. For example, you may have a
firewall that ends the session from the Internet and establishes a new session to the RPC
40
proxy server, instead of passing the HTTPS (SSL) session to the Exchange server without
modification. This process is known as reverse proxying or Web publishing. Certain firewalls,
such as Microsoft Internet Security and Acceleration (ISA) Server 2004, can successfully
reverse proxy or Web publish the session and still permit NTLM authentication to succeed.
Note:
ISA Server 2000 cannot reverse proxy or Web publish the session and still permit
NTLM authentication to succeed.
Basic authentication is not affected by reverse proxying or Web publishing and works
regardless of firewalls. However, if you use Basic authentication, you must type your domain,
user name, and password every time that you start an Outlook session.
The client computer sends user name and The client computer sends a logon request
password in clear text. to the server.
You should always use SSL when you use The server replies with a randomly
Basic authentication. generated "token" or challenge to the client
computer.
Outlook does not allow you to select Basic
authentication without also selecting SSL. The client computer hashes the currently
logged-on user's cryptographically protected
The RPC proxy server also requires SSL.
password with the challenge and sends the
resulting "response" to the server.
Basic authentication works with reverse NTLM authentication may not work with
proxy firewalls. some reverse proxy firewalls.
Basic authentication requires the user to NTLM can use the current Microsoft
enter domain, user name, and password. Windows® operating system logon
information.
The user logs on to the client computer with correct domain credentials.
The firewall allows NTLM authentication. This can occur if the firewall is just passing the
SSL session to the Exchange server without modification (port filtering), or if the firewall is
an advanced firewall, such as ISA Server 2004. ISA Server 2004 can reverse proxy Web
publish the Exchange server and still permit NTLM authentication to succeed.
The user automatically sends NTLM authentication information with the connection. This
occurs if either of the following conditions is true:
You configure Outlook to perform mutual authentication over SSL. This is the
recommended method.
For more information about setting the LmCompatibilityLevel, see Microsoft Knowledge Base
article 820281, "You must provide Windows account credentials when you connect to
Exchange Server 2003 by using the Outlook 2003 RPC over HTTP feature"
(http://go.microsoft.com/fwlink/?linkid=3052&kbid=820281).
RPC Authentication
The RPC requests that the Exchange server authenticates always use NTLM authentication.
42
SSL
The client computer must trust the certificate that is used for SSL. For the client computer to
trust the certificate that is used for SSL, the following conditions must be true:
The name of the certificate matches the Web site that is being accessed.
The client computer trusts the certification authority that issued the certificate.
If you have already successfully configured Outlook Web Access, Exchange ActiveSync, or
other Web services to use your front-end Exchange server, the certificate meets these
requirements.
You can locate the RPC virtual directory by using Microsoft Internet Explorer to verify that the
certificate is correct. If the certificate is invalid, Internet Explorer issues a warning.
SSL Offloading
SSL offloading occurs when the firewall in front of the RPC proxy server quits the SSL
session and establishes a new non-SSL session to the front-end server. Specifically, it does
not establish a new SSL session.
If you use SSL offloading, you must set a registry key to tell the RPC proxy server that it can
accept a non-SSL session. For detailed information about how to set this registry key, see
How to Configure the RPC Proxy Server to Allow for SSL Offloading on a Separate Server.
Note:
In Exchange Server 2003 SP1, authentication for RPC over HTTP on an RPC proxy
server is configured automatically.
Caution:
Incorrectly editing the registry can cause serious problems that may require you to
reinstall your operating system. Problems resulting from editing the registry
incorrectly may not be able to be resolved. Before editing the registry, back up any
valuable data.
Procedure
To configure the RPC proxy server to allow for SSL offloading on a separate server
1. On the RPC proxy server, start Registry Editor (Regedit).
HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc\RpcProxy
Important:
On the RPC virtual directory security settings in Internet Information Services
(IIS), under Authentication methods, verify that the check box next to
Enable anonymous access is cleared.
6. Restart the World Wide Web Publishing Service (W3SVC) in the services snap-in to
Microsoft Management Console (MMC).
Microsoft Knowledge Base article 833003, "Description of the RPC over HTTP feature
and the AllowAnonymous registry entry in Windows Server 2003"
(http://go.microsoft.com/fwlink/?Linkid=3052&kbid=833003)
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1 (Front-
End/Back-End Scenario)
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1, No
Front-End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-
End Server
To validate the load that is generated, you can use Exchange Load Simulator (LoadSim) 2003
to simulate clients that connect over RPC over HTTP. For more information about how to use
LoadSim 2003, see Microsoft Exchange Server 2003 Load Simulator (LoadSim).
RPC over HTTP works best in combination with Microsoft® Office Outlook® 2003 in cached
mode. You should always use cached mode with RPC over HTTP to perform the following
tasks:
Reduce the number of connections that Outlook has to make to the Exchange server.
The following example shows how filling the queue of concurrent kernel requests in the IIS
application pool affects performance. The default value of the kernel request queue limit is
dependent upon the version of Windows Server 2003 used to enable IIS. If Microsoft
Windows Server™2003 was used to install IIS, then the default kernel request queue limit is
4000. If Windows Server 2003 Service Pack 1 (SP1) or later was used to install IIS, then the
default kernel request queue limit is 1000. In this example, each Outlook user has an average
of five RPC connections. These connections can be to the Exchange mailbox, public folders,
or to the directory service. If there are five Outlook RPC connections, Outlook has ten HTTP
sessions per user. Therefore, 400 concurrent users, each with ten HTTP sessions, fill the
queue. The addition of more users affects performance because IIS forcibly closes Outlook
sessions. Outlook has to reopen the sessions that IIS closes.
For more information about how to view connections that Outlook currently has established,
see How to View Established Connections in Outlook.
When you increase the value of the kernel request queue limit, you increase memory
consumption slightly on the RPC proxy server. Windows Server 2003 Service Pack 1 (SP1)
has improvements that reduce the memory overhead for increased kernel requests. If you
want to increase the size of the kernel request queue limit, you must increase the limit on the
RPC proxy server to approximately ten times the number of concurrent Outlook users that
you expect to support on the server that has RPC over HTTP.
For more information about how to increase the size of the kernel request queue limit, see
How to Increase the Size of the Kernel Request Queue Limit.
Note:
It is a best practice to run without /3GB on Exchange Server 2003 Front End servers.
Based on the Outlook and HTTPS connection information provided above (5 Outlook
connections using 10 HTTPS connections), a dedicated Exchange 2003 Front End
RPC/HTTPS server could reliably service around 1700-2000 active Outlook 2003 clients
connecting via RPC/HTTPS. For more details on Exchange 2003 and kernel memory, see
Troubleshooting Exchange Server 2003 Performance.
46
The following table lists the types of client affinity that NLB supports.
If you use NLB on your front-end servers, you should use either Single IP affinity or Class C
affinity to reduce the overhead of negotiating SSL sessions.
Note:
Single IP of Class C affinity is required for Outlook Web Access when you use forms-
based authentication.
For more information about NLB, see Network Load Balancing Technical Reference.
Procedure
To view established connections in Outlook
1. Press the CTRL key and right-click the Outlook icon in the notification area.
3. In the Exchange Server Connection Status window, you can view information about the
current connections Outlook has established to the Exchange server. The following figure
shows the Exchange Server Connection Status window.
Note:
Each connection in the Exchange Server Connection Status window represents
two physical HTTP or HTTPS connections to the RPC proxy server and two
physical RPC connections from the RPC proxy server to the destination server.
Procedure
To increase the size of the kernel request queue limit
1. Open Internet Information Services (IIS) Manager.
2. Expand the local computer, and expand the Application Pools folder.
All Exchange Server 2003 servers that Microsoft Office Outlook® 2003 clients will access
using RPC over HTTP, such as mailbox servers and public folder servers.
All Exchange Server 2003 front-end servers that act as RPC proxy servers.
All global catalog servers that Outlook 2003 clients and Exchange Server 2003 servers
(that are configured to use RPC over HTTP) use.
49
These servers must be able to use the updated RPC protocol that makes RPC over HTTP
possible. Windows Server 2003 and later versions have a version of the DLL rpcrt4.dll that
can understand the updated RPC protocol. Even though the client computer does not access
the global catalog server directly, the RPC request from the client computer does not change
as it passes from the client computer to the Exchange servers and then to the global catalog
server. The global catalog server must be able to use the updated RPC protocol that the
client computer uses.
You must install Exchange Server 2003 on all Exchange servers that the RPC proxy server
uses.
All client computers that run Outlook 2003 must have either Windows Server 2003, or
Microsoft Windows® XP Service Pack 1 (SP1) installed with the following update: "Windows
XP Patch: RPC Updates Needed for Exchange Server 2003."
Note:
This update is included in the SP2 version of Windows XP, so you do not have to
install the update if you are running on Windows XP SP2.
Also, it is recommended that you do the following when you use RPC over HTTP
communication:
Use Secure Sockets Layer (SSL) encryption. SSL is required by the RPC proxy server for
all client-to-server communication and the server's SSL certificate must be valid and
trusted by the client. Outlook will not connect if the certificate is invalid or not trusted.
Choose the correct client authentication method. Basic authentication over SSL is
firewall-independent and can be used regardless of firewall configuration. NTLM
authentication can sometimes be used, depending on how the firewall handles SSL
traffic. NTLM is more secure and NTLM can use the current Microsoft Windows operating
system logon information.
Note:
If the firewall does not add a via: pragma to the HTTP header information, NTLM
can be used. If the firewall does add a via: pragma (as many reverse proxies
do), IIS will not allow NTLM authentication.
Use an advanced firewall server in front of the Exchange front-end server in the perimeter
network. It is recommended that you use a dedicated firewall server such as Microsoft
Internet Security and Acceleration (ISA) Server 2004 to help secure your messaging
environment. For information about how to use ISA Server 2004 with Exchange, see the
Exchange online book, Using ISA Server 2004 with Exchange Server 2003
(http://go.microsoft.com/fwlink/?LinkId=42243).
50
We recommend that you enable and require the use of SSL on the RPC proxy server for
all client-to-server communications. The HTTP session should always be established
over Secure Sockets Layer (SSL) (port 443). For information about RPC over HTTP
authentication using SSL, see RPC over HTTP Authentication and Security.
Note:
Although RPC over HTTP does not require SSL, you must modify the registry to
enable RPC over HTTP if you do not want to use SSL. We recommend that you
enable and require SSL for your RPC over HTTP communications. For more
information, see Microsoft Knowledge Base article 833003, "Description of the
RPC over HTTP feature and the AllowAnonymous registry entry in Windows
Server 2003," and How to Configure the RPC Proxy Server to Allow for SSL
Offloading on a Separate Server.
We recommend that you use a dedicated firewall server to help enhance the security of
your Exchange computer. Microsoft Internet Security and Acceleration (ISA) Server 2000
is an example of a dedicated firewall server product. For additional information, see
Positioning Your RPC Proxy Server and Firewalls in a Corporate Environment.
To enable and require SSL for all communications between the RPC proxy server and the
Outlook clients, you must obtain and publish a certificate at the default Web site level. We
recommend that you purchase your certificate from a third-party certification authority
whose certificates are trusted by a wide variety of Web browsers.
Important:
As an alternative, you can use the Certification Authority tool in Windows to
install your own certification authority. By default, Web browsers do not trust your
root certification authority in this scenario. When a user tries to connect in
51
Outlook 2003 by using RPC over HTTP, that user loses the connection to
Exchange. The user is not notified. The user loses the connection when one of
the following conditions is true:
The certificate does not match the name that the client tries to connect to.
Therefore, you must make sure that the client computers trust the certification
authority. For more information about how to trust a root certification authority, see
the Microsoft Knowledge Base article 297681, Error message: This security
certificate was issued by a company that you have not chosen to trust.
For additional information, see Policies to establish trust of root certification
authorities.
Additionally, if you use your own certification authority, when you issue a certificate to
your RPC proxy server, you must make sure that the Common Name field or the
Issued to field on that certificate contains the same name as the URL of the RPC
proxy server that is available on the Internet. For example, the Common Name field
or the Issued to field must contain a name that is similar to mail.contoso.com. The
Common Name field or the Issued to field cannot contain the internal fully qualified
domain name of the computer. For example, those fields cannot contain a name that
is similar to mycomputer.contoso.com.
For information about configuration options for the Exchange over the Internet feature, see
Microsoft Knowledge Base article 831050, Description of the configuration options for the
Exchange over the Internet feature in Outlook 2003.
52
Note:
When you use ISA Server as your advanced firewall server, you have several
deployment options. These options are explained in the following sections. For
information about how to install ISA Server as an advanced firewall server, see Using
ISA Server 2004 with Exchange Server 2003 (http://go.microsoft.com/fwlink/?
LinkId=42243).
Deploying RPC over HTTP using ISA Server as a reverse proxy server in the perimeter
network
When located in the perimeter network, ISA Server routes RPC over HTTP requests to the
Exchange front-end server that is acting as an RPC proxy server. The RPC proxy server then
communicates over specific ports to other servers that use RPC over HTTP.
Note:
If your firewalls are configured to allow access only to specific virtual directories, you
must specifically allow access to the /rpc virtual directory that is created when you
install the Microsoft Windows® RPC networking component.
In this scenario, you configure your Exchange servers as in Scenario 1. However, you will
need to make sure to open the ports required by RPC over HTTP on your internal firewall, in
addition to those already required for an Exchange front-end server. The following ports are
required for RPC over HTTP:
Note:
When you run Exchange Server 2003 Setup, Exchange is automatically configured to
use port 6001, which is required for the store, and 6004, which is required for
Directory Service proxy component (DSProxy).
For a complete list of the other ports required on the Exchange front-end and back-end
servers, see "Considerations when Deploying a Front-End and Back-End Topology" in
Exchange Server 2003 and Exchange 2000 Server Front-End and Back-End Topology
(http://go.microsoft.com/fwlink/?LinkId=34216). The following figure shows this deployment
scenario.
Deploying RPC over HTTP on the Exchange front-end server in the perimeter network
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1, No
Front-End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-
End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-
End Server, Back-End on Global Catalog Server
In this scenario, you will also need to configure your server to use specified ports for RPC
over HTTP. The following ports are required for RPC over HTTP:
Note:
When you run Exchange Server 2003 Setup, Exchange is automatically configured to
use port 6001, which is required for the Microsoft Exchange Information Store
service, and port 6004, which is required for the proxy service of DSProxy.
Deploying RPC over HTTP using ISA Server as a reverse proxy server in the perimeter
network with SLL offloading
Front-end/back-end scenario
One or more back-end servers running either Exchange Server 2003 SP1 or
Exchange Server 2003 without service packs
These three roles can all be deployed on separate servers, or you can have a server that
is both an Exchange back-end server and a global catalog server. Your Exchange back-
end servers can be clustered.
57
Note:
If your back-end server is also a domain controller, it is recommended that you
make this domain controller a global catalog server. If an RPC over HTTP back-
end server is a domain controller but is not a global catalog server, you can
experience problems with connectivity to this server.
For detailed steps about how to deploy RPC over HTTP in this scenario, see How to
Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1 (Front-
End/Back-End Scenario).
No front-end server
These two roles can be on separate servers, or you can have a single server that is both
an Exchange back-end server and a global catalog server.
Note:
If your back-end server is also a domain controller, it is recommended that you
make this domain controller a global catalog server. If an RPC over HTTP back-
end server is a domain controller but is not a global catalog server, you can
experience problems with connectivity to this server.
If your back-end servers are clustered, you cannot designate them as RPC proxy
servers. You must designate a separate server as the RPC proxy server.
For detailed steps about how to deploy RPC over HTTP in this scenario, see How to
Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1, No Front-End
Server.
Front-end/back-end scenario
One or more front-end servers running Exchange Server 2003 without service packs
One or more back-end servers running Exchange Server 2003 without service packs
These three roles are all deployed on separate servers. Your Exchange back-end servers
can be clustered.
For detailed steps for how to deploy RPC over HTTP in this scenario, see How to Deploy
RPC over HTTP for the First Time on Exchange Server 2003, Front-End/Back-End
Scenario.
One or more front-end servers running Exchange Server 2003 without service packs
At least one server that is both an Exchange back-end server and a global catalog
server. You can have additional back-end servers and global catalog servers on
separate servers.
Note:
If your back-end server is also a domain controller, it is recommended that you
make this domain controller a global catalog server. If an RPC over HTTP back-
end server is a domain controller but is not a global catalog server, you can
experience problems with connectivity to this server.
For detailed steps for how to deploy RPC over HTTP in this scenario, see How to Deploy
RPC over HTTP for the First Time on Exchange Server 2003, Front-End/Back-End
Scenario, Back End on Global Catalog Server.
No front-end server
One or more back-end servers running Exchange Server 2003 without service packs
If your back-end servers are clustered, you cannot designate them as RPC proxy
servers. You must designate a separate server as the RPC proxy server.
For detailed steps about how to deploy RPC over HTTP in this scenario, see How to
Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-End
Server.
No front-end server where at least one global catalog server is also a back-end
Exchange server
One or more back-end servers running Exchange Server 2003 without service packs.
At least one of these servers is also a global catalog server. You can have additional
back-end servers and global catalog servers on separate servers.
If your back-end servers are clustered, you cannot designate them as RPC proxy
servers. You must designate a separate server as the RPC proxy server.
Note:
If your back-end server is also a domain controller, it is recommended that you
make this domain controller a global catalog server. If an RPC over HTTP back-
end server is a domain controller but is not a global catalog server, you can
experience problems with connectivity to this server.
For detailed steps for how to deploy RPC over HTTP in this scenario, see How to Deploy
RPC over HTTP for the First Time on Exchange Server 2003, No Front-End Server,
Back-End on Global Catalog Server.
For detailed steps for how to upgrade your RPC over HTTP deployment in this scenario, see
How to Upgrade an Exchange Server 2003 RPC over HTTP Deployment to Exchange Server
2003 SP1.
You have read System Requirements for RPC over HTTP on Exchange Server 2003.
All three roles (front-end, back-end, and global catalog) are applied on separate
servers.
The front-end role is applied on a separate server. The back-end and global catalog
roles are applied on the same server.
Note:
If your back-end server is also a domain controller, it is recommended that
you make this domain controller a global catalog server. If an RPC over
HTTP back-end server is a domain controller but is not a global catalog
server, you can experience problems with connectivity to this server.
You are running Exchange Server 2003 on your back-end servers. You can have SP1
installed on your back-end servers, but it is not necessary.
61
Procedure
To deploy RPC over HTTP for the first time on Exchange Server 2003 SP1, front-
end/back-end scenario
1. Configure all of your Exchange Server 2003 SP1 front-end servers as RPC proxy
servers. For detailed steps, see How to Configure a Server as an RPC Proxy Server.
2. Configure your Exchange Server 2003 back-end servers to act as targets for the
RPC proxy servers. For detailed steps, see How to Configure the Back-End Server to
Act as a Target for the RPC Proxy Server.
Note:
Performing this task sets a Microsoft Active Directory® directory service
property that will indicate to a front-end server that these back-end servers
should be published for RPC over HTTP access. If your topology has
multiple global catalog servers, you might want to wait for Active Directory
replication to propagate these properties before proceeding to the next step.
3. Configure the settings on the RPC proxy servers. For detailed steps, see How to
Configure the RPC Proxy Server Settings on a Front-End Server in Exchange
System Manager.
4. (Optional) Configure the RPC proxy servers to allow for Secure Sockets Layer (SSL)
offloading on a separate server. For detailed steps, see How to Configure the RPC
Proxy Server to Allow for SSL Offloading on a Separate Server.
5. Create a Microsoft Office Outlook® profile for your users to use with RPC over HTTP.
For detailed steps, see How to Create an Outlook Profile for Users to Use with RPC
over HTTP.
If you are deploying RPC over HTTP for the first time on Exchange Server 2003, and
have not installed Service Pack 1 on your Exchange servers, see one of the following
topics:
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
62
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No
Front-End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No
Front-End Server, Back-End on Global Catalog Server
If you have already deployed RPC over HTTP in an Exchange Server 2003 topology and
are upgrading that topology from Exchange Server 2003 to Exchange Server 2003 SP1,
see How to Upgrade an Exchange Server 2003 RPC over HTTP Deployment to
Exchange Server 2003 SP1
If you want to add another Exchange Server 2003 back-end server to your topology after
you have deployed RPC over HTTP, see Adding a Back-End Server to an RPC over
HTTP Deployment
If you want help with troubleshooting RPC over HTTP communications, see
Troubleshooting RPC over HTTP Communications.
Typically, you will configure an Exchange front-end server as an RPC proxy server. However,
if you do not have a front-end server in your organization, you can configure a back-end
server as an RPC proxy server.
Procedure
To configure a server as an RPC proxy server
1. On the Exchange server that will be the RPC proxy server, click Start, click Control
Panel, and then click Add or Remove Programs.
3. In Networking Services, select the RPC over HTTP Proxy check box, and then
click OK.
4. On the Windows Components page, click Next to install the RPC over HTTP
Proxy Windows component.
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1
(Front-End/Back-End Scenario)
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No
Front-End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No
Front-End Server, Back-End on Global Catalog Server
You are running Exchange 2003 SP1 on at least one server in the organization.
64
You configured the back-end server, using Exchange System Manager, on a server that
is running Exchange 2003 SP1.
Note:
The back-end server that you configure does not have to have SP1 installed.
Procedure
To configure the back-end server to act as a target for the RPC proxy server
1. Click Start, point to All Programs, point to Microsoft Exchange, and then click System
Manager.
2. In Exchange System Manager, expand Administrative Groups, and then expand the
administrative group that contains your Exchange back-end server.
3. Expand the Servers object, right-click the Exchange back-end server that you want to
configure, and then select Properties.
4. On the Exchange Server Properties page, click the RPC-HTTP tab, and then select the
option next to RPC-HTTP back-end server.
5. If you do not have a front-end server in your topology, you could receive a warning
message as shown in the following figure. Click OK and proceed to the next step to
configure the Exchange back-end servers.
7. If your back-end server is also a global catalog server, you could receive an additional
warning as shown in the following figure. Restart the back-end and global catalog server
if this warning message appears.
8. Perform this procedure on all Exchange Server 2003 SP1 back-end servers that RPC
proxy servers need to be able to access.
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1 (Front-
End/Back-End Scenario)
How to Upgrade an Exchange Server 2003 RPC over HTTP Deployment to Exchange
Server 2003 SP1
Procedure
To configure the RPC proxy server settings in Exchange System Manager
1. In Exchange System Manager, expand Administrative Groups, and then expand
the administrative group that contains your RPC proxy server.
2. Expand the Servers object, right-click the Exchange server that you have configured
66
3. On the Exchange Server Properties page, click the RPC-HTTP tab, and then select
the option next to RPC-HTTP front-end server.
4. Click OK.
5. A warning message will appear stating that Secure Sockets Layer (SSL) is required
for RPC over HTTP to work. Click OK. You must configure SSL on your Exchange
front-end server for RPC over HTTP to work. Alternatively, you can select to offload
SSL on another server. For information about how to do this, see How to Configure
the RPC Proxy Server to Allow for SSL Offloading on a Separate Server.
67
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1 (Front-
End/Back-End Scenario)
How to Upgrade an Exchange Server 2003 RPC over HTTP Deployment to Exchange
Server 2003 SP1
Note:
In Exchange Server 2003 SP1, authentication for RPC over HTTP on an RPC proxy
server is configured automatically.
Caution:
Incorrectly editing the registry can cause serious problems that may require you to
reinstall your operating system. Problems resulting from editing the registry
incorrectly may not be able to be resolved. Before editing the registry, back up any
valuable data.
68
Procedure
To configure the RPC proxy server to allow for SSL offloading on a separate server
1. On the RPC proxy server, start Registry Editor (Regedit).
HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc\RpcProxy
Important:
On the RPC virtual directory security settings in Internet Information Services
(IIS), under Authentication methods, verify that the check box next to
Enable anonymous access is cleared.
6. Restart the World Wide Web Publishing Service (W3SVC) in the services snap-in to
Microsoft Management Console (MMC).
Microsoft Knowledge Base article 833003, "Description of the RPC over HTTP feature
and the AllowAnonymous registry entry in Windows Server 2003"
(http://go.microsoft.com/fwlink/?Linkid=3052&kbid=833003)
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1 (Front-
End/Back-End Scenario)
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1, No
Front-End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-
End Server
69
For your users to use RPC over HTTP from their client computer, they must create an
Outlook profile that uses the required RPC over HTTP settings. These settings enable Secure
Sockets Layer (SSL) communication with Basic authentication or NTLM authentication. SSL
is required when you use RPC over HTTP.
Before you begin the procedure in this topic, confirm the following:
You are running one of the following on the client computer:
You have completed all other steps for configuring RPC over HTTP on your Exchange
servers.
Procedure
To create an Outlook profile for users to use with RPC over HTTP
1. On the client computer where Outlook 2003 is installed, click Start, and then click
Control Panel.
If you are using Category View, in the left pane, under See Also, click Other
Control Panel Options, and then click Mail.
5. In New Profile, in the Profile Name box, type a name for this profile, and then click
OK.
6. In the E-mail Accounts wizard, click Add a new e-mail account, and then click
Next.
7. On the Server Type page, click Microsoft Exchange Server, and then click Next.
70
a. In the Microsoft Exchange Server box, type the fully qualified domain name
(FQDN) of your back-end Exchange server where your mailbox resides.
Important:
Temporarily turn off Cached Exchange mode to test your configuration.
We recommend that you enable Cached Exchange mode after you test
your RPC over HTTP configuration.
c. In the User Name box, type the name of the user account that you want to use.
d. Click More Settings.
Note:
At this stage, the client application attempts to resolve the user name on
the Exchange server. If you cannot access your Exchange back-end
server directly by using TCP/IP, this operation will time out and present a
dialog box that prompts you to confirm your user name and mailbox.
Click Cancel on this dialog box.
a. On the Connection tab, in the Connection pane, select either Connect using
my Local Area Network (LAN) or Connect using Internet Explorer's or a 3rd
party dialer. Select the connection type based on the method that you use to
connect to the Internet.
b. On the Connection tab, in the Exchange over the Internet pane, select the
Connect to my Exchange mailbox using HTTP check box.
Note:
If the Exchange over the Internet area does not appear on the
Connection tab, see the How to Verify Client Computer Configuration.
10. In the Exchange Proxy Settings dialog box, in the Connections Settings pane,
perform the following steps:
a. Enter the FQDN of the RPC proxy server in the Use this URL to connect to my
proxy server for Exchange box. The RPC proxy server is the Exchange server
that users can connect to on the Internet. For example, type mail.contoso.com.
d. If you enabled mutual authentication, enter the FQDN of the RPC proxy server in
the Principle name for proxy server box. Use the format: msstd:FQDN of RPC
Proxy Server.
Note:
Outlook defines a fast connection as a connection that is faster than 128
kilobits per second (Kbps). Outlook defines a slow connection as a
connection that is slower than or equal to 128 Kbps.
The following figure shows the Exchange Proxy Settings dialog box.
11. In the Exchange Proxy Settings dialog box, in the Proxy authentication settings
pane, in the Use this authentication when connecting to my proxy server for
Exchange list, select either Basic Authentication or NTLM Authentication.
72
12. Click OK in the Exchange Proxy Settings box, click OK in the Microsoft Exchange
Server box, click Next on the E-mail Accounts page, click Finish to close the
wizard, and then click OK.
To modify an existing Outlook profile for users to use with RPC over HTTP
1. Use either Control Panel or Outlook to open the E-Mail Accounts wizard.
To open the E-Mail Accounts wizard using Control Panel, do the following:
a. On the client computer where Outlook 2003 is installed, click Start, and then click
Control Panel.
• If you are using Category View, in the left pane, under See Also, click Other
Control Panel Options, and then click Mail.
d. In Mail, click the profile that you want to change, and then click Properties.
2. In the E-mail Accounts wizard, click View or change existing e-mail accounts,
and then click Next.
3. On the E-mail Accounts page, select the Microsoft Exchange Server account, and
then click Change.
4. On the Exchange Server Settings page, click More Settings.
a. On the Connection tab, in the Connection pane, select either Connect using
my Local Area Network (LAN) or Connect using Internet Explorer's or a 3rd
party dialer. Select the connection type based on the method that you use to
connect to the Internet.
b. On the Connection tab, in the Exchange over the Internet pane, select the
Connect to my Exchange mailbox using HTTP check box.
6. In the Exchange Proxy Settings dialog box, in the Connections Settings pane, do
the following steps:
a. Enter the fully qualified domain name (FQDN) of the RPC proxy server in the
73
Use this URL to connect to my proxy server for Exchange box. The RPC
proxy server is the Exchange server that users can connect to on the Internet.
For example, type mail.contoso.com.
d. If you enabled mutual authentication, enter the FQDN of the RPC proxy server in
the Principle name for proxy server box. Use the format: msstd:FQDN of RPC
Proxy Server.
Note:
Outlook defines a fast connection as a connection that is faster than 128
kilobits per second (Kbps). Outlook defines a slow connection as a
connection that is slower than or equal to 128 Kbps.
The following figure shows the Exchange Proxy Settings dialog box.
7. In the Exchange Proxy Settings dialog box, in the Proxy authentication settings
pane, in the Use this authentication when connecting to my proxy server for
Exchange list, select either Basic Authentication or NTLM Authentication.
8. Click OK in the Exchange Proxy Settings box, click OK in the Microsoft Exchange
Server box, click Next on the E-mail Accounts page, click Finish to close the
wizard, and then click OK.
Video that shows how to configure Outlook 2003 MAPI profile to connect to Exchange
Server 2003 using RPC over HTTP (http://go.microsoft.com/fwlink/?LinkId=64060)
Note:
The video is in Windows Media Player format. If you have trouble viewing the
video, see the Windows Media Player support page.
For information about deploying RPC over HTTP in different Exchange Server 2003
scenarios, see the following topics in the Exchange Server 2003 RPC over HTTP Guide:
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1 (Front-
End/Back-End Scenario)
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1, No
Front-End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-
End Server
You have read System Requirements for RPC over HTTP on Exchange Server 2003.
The back-end role and the global catalog role are applied on separate servers.
The back-end role and the global catalog role are applied on the same server.
76
Note:
If your back-end server is also a domain controller, it is recommended that
you make this domain controller a global catalog server. If an RPC over
HTTP back-end server is a domain controller but is not a global catalog
server, you can experience problems with connectivity to this server.
You are running Exchange Server 2003 SP1 on all of your Exchange servers.
Note:
The Exchange server role and the global catalog server role can be applied on
separate servers, or you can have a single server that is both an Exchange back-end
server and a global catalog server.
Procedure
To deploy RPC over HTTP for the first time on Exchange Server 2003 SP1 with no
front-end server
1. Configure your Exchange Server 2003 SP1 back-end servers as RPC proxy servers.
For detailed steps, see How to Configure a Server as an RPC Proxy Server.
Note:
If your back-end servers are clustered, it is not recommended that you make
them RPC proxy servers.
2. Configure your back-end servers that are running on Exchange Server 2003 SP1 as
RPC over HTTP back-end servers to validate that the settings are correct. For
detailed steps, see How to Configure a Back-End Server That is in a Back-End Only
Topology to Use RPC over HTTP.
3. Configure the RPC over HTTP virtual directory. For detailed steps, see How to
Configure the RPC Virtual Directory in IIS.
4. Configure your back-end servers, which are now RPC proxy servers, to use specified
ports for RPC over HTTP. For detailed steps, see how to How to Configure the RPC
Proxy Server to Use Specified Ports for RPC over HTTP.
5. (optional) Configure the RPC proxy server to allow for SSL offloading on a separate
server. For detailed steps, see How to Configure the RPC Proxy Server to Allow for
SSL Offloading on a Separate Server.
6. Create a Microsoft Office Outlook® profile for users to use with RPC over HTTP. For
detailed steps, see How to Create an Outlook Profile for Users to Use with RPC over
HTTP.
77
Note:
If you have a back-end server that is also a global catalog server, you will be
prompted to restart this computer for the changes to take effect.
If you are deploying RPC over HTTP for the first time on Exchange Server 2003 and have
not installed Service Pack 1 on your Exchange servers, see one of the following topics:
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No
Front-End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No
Front-End Server, Back-End on Global Catalog Server
If you have already deployed RPC over HTTP in an Exchange Server 2003 organization
and are upgrading that organization from Exchange Server 2003 to Exchange 2003 SP1,
see How to Upgrade an Exchange Server 2003 RPC over HTTP Deployment to
Exchange Server 2003 SP1
If you want to add another Exchange Server 2003 back-end server to your organization
after you have deployed RPC over HTTP, see Adding a Back-End Server to an RPC over
HTTP Deployment
If you want help with troubleshooting RPC over HTTP communications, see
Troubleshooting RPC over HTTP Communications.
Typically, you will configure an Exchange front-end server as an RPC proxy server. However,
if you do not have a front-end server in your organization, you can configure a back-end
server as an RPC proxy server.
Procedure
To configure a server as an RPC proxy server
1. On the Exchange server that will be the RPC proxy server, click Start, click Control
Panel, and then click Add or Remove Programs.
3. In Networking Services, select the RPC over HTTP Proxy check box, and then
click OK.
4. On the Windows Components page, click Next to install the RPC over HTTP
Proxy Windows component.
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1
(Front-End/Back-End Scenario)
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
79
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No
Front-End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No
Front-End Server, Back-End on Global Catalog Server
Procedure
To configure a back-end only topology to use RPC over HTTP
1. In Exchange System Manager, expand Administrative Groups, and then expand
the administrative group that contains your Exchange server.
2. Expand the Servers object, right-click the Exchange server that you want to set as
the RPC proxy server, and then select Properties.
3. On the Exchange Server Properties page, click the RPC-HTTP tab, and then select
the option next to RPC-HTTP back-end server.
4. Click OK.
5. The following dialog box appears informing you that you do not have an Exchange
front-end server in your organization. Click OK to close this dialog box.
After you have configured a server in your organization as an RPC proxy server, you must
configure the RPC virtual directory in IIS if either of the following conditions is true:
The RPC proxy server is running Microsoft® Exchange Server 2003 and does not have
Service Pack 1 (SP1) installed.
You have SP1 installed in your organization, but you do not have a front-end server.
After completing these procedures, your RPC virtual directory will be ready to use Basic
authentication and NTLM authentication.
2. In Internet Information Services (IIS) Manager, in the console tree, expand the
server you want, then expand Web Sites.
3. Expand Default Web Site, right-click the RPCvirtual directory, and then click
Properties.
4. In the RPC Virtual Directory Properties page, on the Directory Security tab, in the
Authentication and access control pane, click Edit.
5. In the Authentication Methods window, verify that the check box next to Enable
anonymous access is cleared.
Note:
RPC over HTTP does not allow anonymous access by default, despite what
the user interface shows.
Note:
In this error message, the word "HTTPS(orSSL)" is a misspelling for the
words "HTTPS (or SSL)."
In the Authentication Methods window, under Authenticated access, you can also
select the check box next to Integrated Windows authentication (NTLM). However,
it is recommended that you use Basic authentication over NTLM because of two
reasons. First, RPC over HTTP currently supports only NTLM – it doesn’t support
Kerberos. Second, if there is an HTTP Proxy or a firewall between the RPC over
HTTP client and the RPC Proxy, which inserts via the pragma in the HTTP header,
NTLM authentication will not work. For more information see, RPC over HTTP
Deployment Recommendations.
8. Ensure that you have a valid SSL certificate installed on the virtual server.
82
2. Expand Web Sites, expand Default Web Site, right-click Rpc, and then click
Properties.
3. Click the Directory Security tab, and then click Edit under Secure
communications.
4. Click to select the Require secure channel (SSL) check box and the Require 128-
bit encryption check box.
Note:
We recommend that you click to select the Require 128-bit encryption
check box. However, RPC over HTTP functions correctly even if you do not
require 128-bit encryption.
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1, No
Front-End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-
End Server
83
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-
End Server, Back-End on Global Catalog Server
Note:
You can also use the Rpccfg tool to set and troubleshoot port assignments. The
Rpccfg tool is included in the Windows Server 2003 Resource Kit Tools.
After you configure the RPC over HTTP networking component for Internet Information
Services, configure the RPC proxy server. Configure the RPC proxy server to use specific
ports to communicate with the directory service and with the information store on the
Exchange computer.
For information about configuring all your global catalogs to use specific ports for RPC over
HTTP for directory services, see How to Set the NTDS Port on a Global Catalog Server
Acting as an Exchange Server 2003 Back-End Server.
6002 DSReferral
6004 DSProxy
The three registry values that follow are automatically configured by Exchange Server 2003
Setup. Although you do not have to configure these registry values, you might want to verify
that these registry values are configured correctly.
84
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeIS\Paramet
ersSystem
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeSA\Paramet
ers
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeSA\Paramet
ers
Note:
Do not modify these registry values. If you modify these registry values, RPC over
HTTP may not function correctly.
To configure the RPC proxy server to use specific ports, follow the steps below. The following
steps contain information about editing the registry.
Caution:
Incorrectly editing the registry can cause serious problems that may require you to
reinstall your operating system. Problems resulting from editing the registry
incorrectly may not be able to be resolved. Before editing the registry, back up any
valuable data.
Procedure
To configure the RPC proxy server to use specified ports for RPC over HTTP
1. On the RPC proxy server, start Registry Editor (Regedit).
HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc\RpcProxy
3. In the details pane, right-click the ValidPorts subkey, and then click Modify.
85
4. In Edit String, in the Value data box, type the following information:
ExchangeServer:6001-6002;ExchangeServerFQDN:6001-
6002;ExchangeServer:6004;ExchangeServerFQDN:6004;
To determine the NetBIOS name and the fully qualified domain name of your server,
start a command prompt, type ipconfig /all, and then press ENTER. Under Windows
IP Configuration, information that is similar to the following appears:
Host Name .................: mycomputer Primary DNS Suffix ........:
contoso.com
The host name is the NetBIOS name of your computer. The host name together with
the primary DNS suffix is the fully qualified domain name of your computer. In this
example, the fully qualified domain name is mycomputer.contoso.com.
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1, No
Front-End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-
End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-
End Server, Back-End on Global Catalog Server
86
Note:
In Exchange Server 2003 SP1, authentication for RPC over HTTP on an RPC proxy
server is configured automatically.
Caution:
Incorrectly editing the registry can cause serious problems that may require you to
reinstall your operating system. Problems resulting from editing the registry
incorrectly may not be able to be resolved. Before editing the registry, back up any
valuable data.
Procedure
To configure the RPC proxy server to allow for SSL offloading on a separate server
1. On the RPC proxy server, start Registry Editor (Regedit).
HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc\RpcProxy
Important:
On the RPC virtual directory security settings in Internet Information Services
(IIS), under Authentication methods, verify that the check box next to
Enable anonymous access is cleared.
6. Restart the World Wide Web Publishing Service (W3SVC) in the services snap-in to
Microsoft Management Console (MMC).
Microsoft Knowledge Base article 833003, "Description of the RPC over HTTP feature
and the AllowAnonymous registry entry in Windows Server 2003"
(http://go.microsoft.com/fwlink/?Linkid=3052&kbid=833003)
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1 (Front-
End/Back-End Scenario)
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1, No
Front-End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-
End Server
For your users to use RPC over HTTP from their client computer, they must create an
Outlook profile that uses the required RPC over HTTP settings. These settings enable Secure
Sockets Layer (SSL) communication with Basic authentication or NTLM authentication. SSL
is required when you use RPC over HTTP.
Before you begin the procedure in this topic, confirm the following:
You have completed all other steps for configuring RPC over HTTP on your Exchange
servers.
Procedure
To create an Outlook profile for users to use with RPC over HTTP
1. On the client computer where Outlook 2003 is installed, click Start, and then click
Control Panel.
If you are using Category View, in the left pane, under See Also, click Other
Control Panel Options, and then click Mail.
5. In New Profile, in the Profile Name box, type a name for this profile, and then click
OK.
6. In the E-mail Accounts wizard, click Add a new e-mail account, and then click
Next.
7. On the Server Type page, click Microsoft Exchange Server, and then click Next.
a. In the Microsoft Exchange Server box, type the fully qualified domain name
(FQDN) of your back-end Exchange server where your mailbox resides.
Important:
Temporarily turn off Cached Exchange mode to test your configuration.
We recommend that you enable Cached Exchange mode after you test
your RPC over HTTP configuration.
c. In the User Name box, type the name of the user account that you want to use.
Note:
89
At this stage, the client application attempts to resolve the user name on
the Exchange server. If you cannot access your Exchange back-end
server directly by using TCP/IP, this operation will time out and present a
dialog box that prompts you to confirm your user name and mailbox.
Click Cancel on this dialog box.
a. On the Connection tab, in the Connection pane, select either Connect using
my Local Area Network (LAN) or Connect using Internet Explorer's or a 3rd
party dialer. Select the connection type based on the method that you use to
connect to the Internet.
b. On the Connection tab, in the Exchange over the Internet pane, select the
Connect to my Exchange mailbox using HTTP check box.
Note:
If the Exchange over the Internet area does not appear on the
Connection tab, see the How to Verify Client Computer Configuration.
10. In the Exchange Proxy Settings dialog box, in the Connections Settings pane,
perform the following steps:
a. Enter the FQDN of the RPC proxy server in the Use this URL to connect to my
proxy server for Exchange box. The RPC proxy server is the Exchange server
that users can connect to on the Internet. For example, type mail.contoso.com.
d. If you enabled mutual authentication, enter the FQDN of the RPC proxy server in
the Principle name for proxy server box. Use the format: msstd:FQDN of RPC
Proxy Server.
Note:
Outlook defines a fast connection as a connection that is faster than 128
kilobits per second (Kbps). Outlook defines a slow connection as a
connection that is slower than or equal to 128 Kbps.
The following figure shows the Exchange Proxy Settings dialog box.
90
11. In the Exchange Proxy Settings dialog box, in the Proxy authentication settings
pane, in the Use this authentication when connecting to my proxy server for
Exchange list, select either Basic Authentication or NTLM Authentication.
12. Click OK in the Exchange Proxy Settings box, click OK in the Microsoft Exchange
Server box, click Next on the E-mail Accounts page, click Finish to close the
wizard, and then click OK.
To modify an existing Outlook profile for users to use with RPC over HTTP
1. Use either Control Panel or Outlook to open the E-Mail Accounts wizard.
To open the E-Mail Accounts wizard using Control Panel, do the following:
a. On the client computer where Outlook 2003 is installed, click Start, and then click
Control Panel.
• If you are using Category View, in the left pane, under See Also, click Other
Control Panel Options, and then click Mail.
91
d. In Mail, click the profile that you want to change, and then click Properties.
2. In the E-mail Accounts wizard, click View or change existing e-mail accounts,
and then click Next.
3. On the E-mail Accounts page, select the Microsoft Exchange Server account, and
then click Change.
a. On the Connection tab, in the Connection pane, select either Connect using
my Local Area Network (LAN) or Connect using Internet Explorer's or a 3rd
party dialer. Select the connection type based on the method that you use to
connect to the Internet.
b. On the Connection tab, in the Exchange over the Internet pane, select the
Connect to my Exchange mailbox using HTTP check box.
6. In the Exchange Proxy Settings dialog box, in the Connections Settings pane, do
the following steps:
a. Enter the fully qualified domain name (FQDN) of the RPC proxy server in the
Use this URL to connect to my proxy server for Exchange box. The RPC
proxy server is the Exchange server that users can connect to on the Internet.
For example, type mail.contoso.com.
d. If you enabled mutual authentication, enter the FQDN of the RPC proxy server in
the Principle name for proxy server box. Use the format: msstd:FQDN of RPC
Proxy Server.
Note:
Outlook defines a fast connection as a connection that is faster than 128
kilobits per second (Kbps). Outlook defines a slow connection as a
connection that is slower than or equal to 128 Kbps.
The following figure shows the Exchange Proxy Settings dialog box.
7. In the Exchange Proxy Settings dialog box, in the Proxy authentication settings
pane, in the Use this authentication when connecting to my proxy server for
Exchange list, select either Basic Authentication or NTLM Authentication.
8. Click OK in the Exchange Proxy Settings box, click OK in the Microsoft Exchange
Server box, click Next on the E-mail Accounts page, click Finish to close the
wizard, and then click OK.
Video that shows how to configure Outlook 2003 MAPI profile to connect to Exchange
Server 2003 using RPC over HTTP (http://go.microsoft.com/fwlink/?LinkId=64060)
Note:
The video is in Windows Media Player format. If you have trouble viewing the
video, see the Windows Media Player support page.
For information about deploying RPC over HTTP in different Exchange Server 2003
scenarios, see the following topics in the Exchange Server 2003 RPC over HTTP Guide:
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1 (Front-
End/Back-End Scenario)
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1, No
Front-End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-
End Server
It is important that you first read System Requirements for RPC over HTTP on Exchange
Server 2003.
All three roles (front-end, back-end, and global catalog) are applied on separate
servers.
You are running Exchange Server 2003 (without service packs) on your front-end and
back-end servers.
Procedure
To deploy RPC over HTTP for the first time on Exchange Server 2003 in a front-
end/back-end scenario
1. Configure your Exchange Server 2003 front-end server as an RPC proxy server. For
detailed steps, see How to Configure a Server as an RPC Proxy Server.
2. Configure the RPC virtual directory. For detailed steps, see How to Configure the
RPC Virtual Directory in IIS.
3. Configure the RPC proxy server to use specified ports for RPC over HTTP. For
detailed steps, see How to Configure the RPC Proxy Server to Use Specified Ports
for RPC over HTTP.
4. (optional) Configure the RPC proxy server to allow for Secure Sockets Layer (SSL)
offloading on a separate server. For detailed steps, see How to Configure the RPC
Proxy Server to Allow for SSL Offloading on a Separate Server.
5. Create a Microsoft Office Outlook® profile for your users to use with RPC over HTTP.
For detailed steps, see How to Create an Outlook Profile for Users to Use with RPC
over HTTP.
If you are deploying RPC over HTTP for the first time on Exchange Server 2003 without
service packs, and you do not have a front-end server in your organization, see How to
Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-End
Server
95
If you are deploying RPC over HTTP for the first time on Exchange Server 2003 without
service packs, and you do not have a front-end server in your organization, and you have
a back-end server that is also a global catalog server, see How to Deploy RPC over
HTTP for the First Time on Exchange Server 2003, No Front-End Server, Back-End on
Global Catalog Server
If you are deploying RPC over HTTP for the first time on Exchange Server 2003 SP1, see
one of the following topics:
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1
(Front-End/Back-End Scenario)
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1, No
Front-End Server
If you have already deployed RPC over HTTP in an Exchange Server 2003 topology and
are upgrading that topology to Exchange 2003 SP1, see How to Upgrade an Exchange
Server 2003 RPC over HTTP Deployment to Exchange Server 2003 SP1
If you want help with troubleshooting RPC over HTTP communications, see
Troubleshooting RPC over HTTP Communications.
Typically, you will configure an Exchange front-end server as an RPC proxy server. However,
if you do not have a front-end server in your organization, you can configure a back-end
server as an RPC proxy server.
Procedure
To configure a server as an RPC proxy server
1. On the Exchange server that will be the RPC proxy server, click Start, click Control
96
3. In Networking Services, select the RPC over HTTP Proxy check box, and then
click OK.
4. On the Windows Components page, click Next to install the RPC over HTTP
Proxy Windows component.
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1
(Front-End/Back-End Scenario)
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No
Front-End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No
Front-End Server, Back-End on Global Catalog Server
After you have configured a server in your organization as an RPC proxy server, you must
configure the RPC virtual directory in IIS if either of the following conditions is true:
The RPC proxy server is running Microsoft® Exchange Server 2003 and does not have
Service Pack 1 (SP1) installed.
You have SP1 installed in your organization, but you do not have a front-end server.
After completing these procedures, your RPC virtual directory will be ready to use Basic
authentication and NTLM authentication.
2. In Internet Information Services (IIS) Manager, in the console tree, expand the
server you want, then expand Web Sites.
3. Expand Default Web Site, right-click the RPCvirtual directory, and then click
Properties.
4. In the RPC Virtual Directory Properties page, on the Directory Security tab, in the
Authentication and access control pane, click Edit.
5. In the Authentication Methods window, verify that the check box next to Enable
anonymous access is cleared.
Note:
RPC over HTTP does not allow anonymous access by default, despite what
the user interface shows.
Note:
In this error message, the word "HTTPS(orSSL)" is a misspelling for the
words "HTTPS (or SSL)."
In the Authentication Methods window, under Authenticated access, you can also
select the check box next to Integrated Windows authentication (NTLM). However,
it is recommended that you use Basic authentication over NTLM because of two
reasons. First, RPC over HTTP currently supports only NTLM – it doesn’t support
Kerberos. Second, if there is an HTTP Proxy or a firewall between the RPC over
HTTP client and the RPC Proxy, which inserts via the pragma in the HTTP header,
NTLM authentication will not work. For more information see, RPC over HTTP
Deployment Recommendations.
8. Ensure that you have a valid SSL certificate installed on the virtual server.
2. Expand Web Sites, expand Default Web Site, right-click Rpc, and then click
Properties.
3. Click the Directory Security tab, and then click Edit under Secure
communications.
4. Click to select the Require secure channel (SSL) check box and the Require 128-
bit encryption check box.
Note:
99
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1, No
Front-End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-
End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-
End Server, Back-End on Global Catalog Server
Note:
You can also use the Rpccfg tool to set and troubleshoot port assignments. The
Rpccfg tool is included in the Windows Server 2003 Resource Kit Tools.
After you configure the RPC over HTTP networking component for Internet Information
Services, configure the RPC proxy server. Configure the RPC proxy server to use specific
ports to communicate with the directory service and with the information store on the
Exchange computer.
100
For information about configuring all your global catalogs to use specific ports for RPC over
HTTP for directory services, see How to Set the NTDS Port on a Global Catalog Server
Acting as an Exchange Server 2003 Back-End Server.
6002 DSReferral
6004 DSProxy
The three registry values that follow are automatically configured by Exchange Server 2003
Setup. Although you do not have to configure these registry values, you might want to verify
that these registry values are configured correctly.
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeIS\Paramet
ersSystem
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeSA\Paramet
ers
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeSA\Paramet
ers
Note:
Do not modify these registry values. If you modify these registry values, RPC over
HTTP may not function correctly.
To configure the RPC proxy server to use specific ports, follow the steps below. The following
steps contain information about editing the registry.
Caution:
Incorrectly editing the registry can cause serious problems that may require you to
reinstall your operating system. Problems resulting from editing the registry
incorrectly may not be able to be resolved. Before editing the registry, back up any
valuable data.
Procedure
To configure the RPC proxy server to use specified ports for RPC over HTTP
1. On the RPC proxy server, start Registry Editor (Regedit).
HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc\RpcProxy
3. In the details pane, right-click the ValidPorts subkey, and then click Modify.
4. In Edit String, in the Value data box, type the following information:
ExchangeServer:6001-6002;ExchangeServerFQDN:6001-
6002;ExchangeServer:6004;ExchangeServerFQDN:6004;
To determine the NetBIOS name and the fully qualified domain name of your server,
start a command prompt, type ipconfig /all, and then press ENTER. Under Windows
IP Configuration, information that is similar to the following appears:
The host name is the NetBIOS name of your computer. The host name together with
the primary DNS suffix is the fully qualified domain name of your computer. In this
example, the fully qualified domain name is mycomputer.contoso.com.
102
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1, No
Front-End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-
End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-
End Server, Back-End on Global Catalog Server
Note:
In Exchange Server 2003 SP1, authentication for RPC over HTTP on an RPC proxy
server is configured automatically.
Caution:
Incorrectly editing the registry can cause serious problems that may require you to
reinstall your operating system. Problems resulting from editing the registry
incorrectly may not be able to be resolved. Before editing the registry, back up any
valuable data.
Procedure
To configure the RPC proxy server to allow for SSL offloading on a separate server
1. On the RPC proxy server, start Registry Editor (Regedit).
HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc\RpcProxy
Important:
On the RPC virtual directory security settings in Internet Information Services
(IIS), under Authentication methods, verify that the check box next to
Enable anonymous access is cleared.
6. Restart the World Wide Web Publishing Service (W3SVC) in the services snap-in to
Microsoft Management Console (MMC).
Microsoft Knowledge Base article 833003, "Description of the RPC over HTTP feature
and the AllowAnonymous registry entry in Windows Server 2003"
(http://go.microsoft.com/fwlink/?Linkid=3052&kbid=833003)
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1 (Front-
End/Back-End Scenario)
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1, No
Front-End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario
104
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-
End Server
For your users to use RPC over HTTP from their client computer, they must create an
Outlook profile that uses the required RPC over HTTP settings. These settings enable Secure
Sockets Layer (SSL) communication with Basic authentication or NTLM authentication. SSL
is required when you use RPC over HTTP.
Before you begin the procedure in this topic, confirm the following:
You have completed all other steps for configuring RPC over HTTP on your Exchange
servers.
Procedure
To create an Outlook profile for users to use with RPC over HTTP
1. On the client computer where Outlook 2003 is installed, click Start, and then click
Control Panel.
If you are using Category View, in the left pane, under See Also, click Other
Control Panel Options, and then click Mail.
5. In New Profile, in the Profile Name box, type a name for this profile, and then click
OK.
6. In the E-mail Accounts wizard, click Add a new e-mail account, and then click
Next.
7. On the Server Type page, click Microsoft Exchange Server, and then click Next.
a. In the Microsoft Exchange Server box, type the fully qualified domain name
(FQDN) of your back-end Exchange server where your mailbox resides.
Important:
Temporarily turn off Cached Exchange mode to test your configuration.
We recommend that you enable Cached Exchange mode after you test
your RPC over HTTP configuration.
c. In the User Name box, type the name of the user account that you want to use.
Note:
At this stage, the client application attempts to resolve the user name on
the Exchange server. If you cannot access your Exchange back-end
server directly by using TCP/IP, this operation will time out and present a
dialog box that prompts you to confirm your user name and mailbox.
Click Cancel on this dialog box.
a. On the Connection tab, in the Connection pane, select either Connect using
my Local Area Network (LAN) or Connect using Internet Explorer's or a 3rd
party dialer. Select the connection type based on the method that you use to
connect to the Internet.
b. On the Connection tab, in the Exchange over the Internet pane, select the
Connect to my Exchange mailbox using HTTP check box.
Note:
If the Exchange over the Internet area does not appear on the
Connection tab, see the How to Verify Client Computer Configuration.
10. In the Exchange Proxy Settings dialog box, in the Connections Settings pane,
perform the following steps:
a. Enter the FQDN of the RPC proxy server in the Use this URL to connect to my
106
proxy server for Exchange box. The RPC proxy server is the Exchange server
that users can connect to on the Internet. For example, type mail.contoso.com.
d. If you enabled mutual authentication, enter the FQDN of the RPC proxy server in
the Principle name for proxy server box. Use the format: msstd:FQDN of RPC
Proxy Server.
Note:
Outlook defines a fast connection as a connection that is faster than 128
kilobits per second (Kbps). Outlook defines a slow connection as a
connection that is slower than or equal to 128 Kbps.
The following figure shows the Exchange Proxy Settings dialog box.
11. In the Exchange Proxy Settings dialog box, in the Proxy authentication settings
pane, in the Use this authentication when connecting to my proxy server for
Exchange list, select either Basic Authentication or NTLM Authentication.
12. Click OK in the Exchange Proxy Settings box, click OK in the Microsoft Exchange
Server box, click Next on the E-mail Accounts page, click Finish to close the
wizard, and then click OK.
To modify an existing Outlook profile for users to use with RPC over HTTP
1. Use either Control Panel or Outlook to open the E-Mail Accounts wizard.
To open the E-Mail Accounts wizard using Control Panel, do the following:
a. On the client computer where Outlook 2003 is installed, click Start, and then click
Control Panel.
• If you are using Category View, in the left pane, under See Also, click Other
Control Panel Options, and then click Mail.
d. In Mail, click the profile that you want to change, and then click Properties.
2. In the E-mail Accounts wizard, click View or change existing e-mail accounts,
and then click Next.
3. On the E-mail Accounts page, select the Microsoft Exchange Server account, and
then click Change.
4. On the Exchange Server Settings page, click More Settings.
a. On the Connection tab, in the Connection pane, select either Connect using
my Local Area Network (LAN) or Connect using Internet Explorer's or a 3rd
party dialer. Select the connection type based on the method that you use to
connect to the Internet.
b. On the Connection tab, in the Exchange over the Internet pane, select the
Connect to my Exchange mailbox using HTTP check box.
6. In the Exchange Proxy Settings dialog box, in the Connections Settings pane, do
the following steps:
a. Enter the fully qualified domain name (FQDN) of the RPC proxy server in the
Use this URL to connect to my proxy server for Exchange box. The RPC
proxy server is the Exchange server that users can connect to on the Internet.
For example, type mail.contoso.com.
d. If you enabled mutual authentication, enter the FQDN of the RPC proxy server in
the Principle name for proxy server box. Use the format: msstd:FQDN of RPC
Proxy Server.
Note:
109
The following figure shows the Exchange Proxy Settings dialog box.
7. In the Exchange Proxy Settings dialog box, in the Proxy authentication settings
pane, in the Use this authentication when connecting to my proxy server for
Exchange list, select either Basic Authentication or NTLM Authentication.
8. Click OK in the Exchange Proxy Settings box, click OK in the Microsoft Exchange
Server box, click Next on the E-mail Accounts page, click Finish to close the
wizard, and then click OK.
Video that shows how to configure Outlook 2003 MAPI profile to connect to Exchange
Server 2003 using RPC over HTTP (http://go.microsoft.com/fwlink/?LinkId=64060)
Note:
The video is in Windows Media Player format. If you have trouble viewing the
video, see the Windows Media Player support page.
For information about deploying RPC over HTTP in different Exchange Server 2003
scenarios, see the following topics in the Exchange Server 2003 RPC over HTTP Guide:
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1 (Front-
End/Back-End Scenario)
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1, No
Front-End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-
End Server
It is important that you first read System Requirements for RPC over HTTP on Exchange
Server 2003.
111
At least one of your back-end servers is located on the same computer as a global
catalog server.
Note:
If your back-end server is also a domain controller, it is recommended that
you make this domain controller a global catalog server. If an RPC over
HTTP back-end server is a domain controller but is not a global catalog
server, you can experience problems with connectivity to this server.
You are running Exchange Server 2003 without service packs on all your Exchange
servers.
Procedure
To deploy RPC over HTTP for the first time on Exchange Server 2003 in a front-
end/back-end Scenario, with the back end on a global catalog server
1. Configure your Exchange Server 2003 front-end server as an RPC proxy server. For
detailed steps, see How to Configure a Server as an RPC Proxy Server.
2. Configure the RPC virtual directory. For detailed steps, see How to Configure the
RPC Virtual Directory in IIS.
3. Configure the RPC proxy server to use specified ports for RPC over HTTP. For
detailed steps, see How to Configure the RPC Proxy Server to Use Specified Ports
for RPC over HTTP.
4. Set the Microsoft Windows NT® Directory Services (NTDS) port on all global catalog
servers acting as Exchange Server 2003 back-end servers. For detailed steps, see
How to Set the NTDS Port on a Global Catalog Server Acting as an Exchange Server
2003 Back-End Server.
5. (optional) Configure the RPC proxy server to allow for Secure Sockets Layer (SSL)
offloading on a separate server. For detailed steps, see How to Configure the RPC
Proxy Server to Allow for SSL Offloading on a Separate Server.
6. Create a Microsoft Office Outlook® profile for your users to use with RPC over HTTP.
For detailed steps, see How to Create an Outlook Profile for Users to Use with RPC
over HTTP.
112
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No
Front-End Server
If you are deploying RPC over HTTP for the first time on Exchange Server 2003, and you
have at least one server that is a back-end server and a global catalog server, and you
do not have a front-end server in your organization, see How to Deploy RPC over HTTP
for the First Time on Exchange Server 2003, No Front-End Server, Back-End on Global
Catalog Server
If you have already deployed RPC over HTTP in an Exchange Server 2003 topology and
are upgrading that topology to Exchange 2003 SP1, see How to Upgrade an Exchange
Server 2003 RPC over HTTP Deployment to Exchange Server 2003 SP1
If you are deploying RPC over HTTP for the first time on Exchange Server 2003 SP1, see
one of the following topics:
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1
(Front-End/Back-End Scenario)
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1, No
Front-End Server
If you want help with troubleshooting RPC over HTTP communications, see
Troubleshooting RPC over HTTP Communications.
Typically, you will configure an Exchange front-end server as an RPC proxy server. However,
if you do not have a front-end server in your organization, you can configure a back-end
server as an RPC proxy server.
113
Procedure
To configure a server as an RPC proxy server
1. On the Exchange server that will be the RPC proxy server, click Start, click Control
Panel, and then click Add or Remove Programs.
In Add or Remove Programs, in the left pane, click Add/Remove Windows
Components.
3. In Networking Services, select the RPC over HTTP Proxy check box, and then
click OK.
4. On the Windows Components page, click Next to install the RPC over HTTP
Proxy Windows component.
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1
(Front-End/Back-End Scenario)
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No
Front-End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No
Front-End Server, Back-End on Global Catalog Server
114
After you have configured a server in your organization as an RPC proxy server, you must
configure the RPC virtual directory in IIS if either of the following conditions is true:
The RPC proxy server is running Microsoft® Exchange Server 2003 and does not have
Service Pack 1 (SP1) installed.
You have SP1 installed in your organization, but you do not have a front-end server.
After completing these procedures, your RPC virtual directory will be ready to use Basic
authentication and NTLM authentication.
2. In Internet Information Services (IIS) Manager, in the console tree, expand the
server you want, then expand Web Sites.
3. Expand Default Web Site, right-click the RPCvirtual directory, and then click
Properties.
4. In the RPC Virtual Directory Properties page, on the Directory Security tab, in the
Authentication and access control pane, click Edit.
5. In the Authentication Methods window, verify that the check box next to Enable
anonymous access is cleared.
Note:
RPC over HTTP does not allow anonymous access by default, despite what
115
Note:
In this error message, the word "HTTPS(orSSL)" is a misspelling for the
words "HTTPS (or SSL)."
In the Authentication Methods window, under Authenticated access, you can also
select the check box next to Integrated Windows authentication (NTLM). However,
it is recommended that you use Basic authentication over NTLM because of two
reasons. First, RPC over HTTP currently supports only NTLM – it doesn’t support
Kerberos. Second, if there is an HTTP Proxy or a firewall between the RPC over
HTTP client and the RPC Proxy, which inserts via the pragma in the HTTP header,
NTLM authentication will not work. For more information see, RPC over HTTP
Deployment Recommendations.
8. Ensure that you have a valid SSL certificate installed on the virtual server.
2. Expand Web Sites, expand Default Web Site, right-click Rpc, and then click
116
Properties.
3. Click the Directory Security tab, and then click Edit under Secure
communications.
4. Click to select the Require secure channel (SSL) check box and the Require 128-
bit encryption check box.
Note:
We recommend that you click to select the Require 128-bit encryption
check box. However, RPC over HTTP functions correctly even if you do not
require 128-bit encryption.
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1, No
Front-End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-
End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-
End Server, Back-End on Global Catalog Server
Note:
You can also use the Rpccfg tool to set and troubleshoot port assignments. The
Rpccfg tool is included in the Windows Server 2003 Resource Kit Tools.
117
After you configure the RPC over HTTP networking component for Internet Information
Services, configure the RPC proxy server. Configure the RPC proxy server to use specific
ports to communicate with the directory service and with the information store on the
Exchange computer.
For information about configuring all your global catalogs to use specific ports for RPC over
HTTP for directory services, see How to Set the NTDS Port on a Global Catalog Server
Acting as an Exchange Server 2003 Back-End Server.
6002 DSReferral
6004 DSProxy
The three registry values that follow are automatically configured by Exchange Server 2003
Setup. Although you do not have to configure these registry values, you might want to verify
that these registry values are configured correctly.
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeIS\Paramet
ersSystem
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeSA\Paramet
ers
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeSA\Paramet
ers
Note:
Do not modify these registry values. If you modify these registry values, RPC over
HTTP may not function correctly.
To configure the RPC proxy server to use specific ports, follow the steps below. The following
steps contain information about editing the registry.
Caution:
Incorrectly editing the registry can cause serious problems that may require you to
reinstall your operating system. Problems resulting from editing the registry
incorrectly may not be able to be resolved. Before editing the registry, back up any
valuable data.
Procedure
To configure the RPC proxy server to use specified ports for RPC over HTTP
1. On the RPC proxy server, start Registry Editor (Regedit).
HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc\RpcProxy
3. In the details pane, right-click the ValidPorts subkey, and then click Modify.
4. In Edit String, in the Value data box, type the following information:
ExchangeServer:6001-6002;ExchangeServerFQDN:6001-
6002;ExchangeServer:6004;ExchangeServerFQDN:6004;
To determine the NetBIOS name and the fully qualified domain name of your server,
start a command prompt, type ipconfig /all, and then press ENTER. Under Windows
IP Configuration, information that is similar to the following appears:
The host name is the NetBIOS name of your computer. The host name together with
the primary DNS suffix is the fully qualified domain name of your computer. In this
119
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1, No
Front-End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-
End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-
End Server, Back-End on Global Catalog Server
Confirm that you are running Exchange Server 2003 on your Exchange servers.
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No
Front-End Server, Back-End on Global Catalog Server
120
Note that this topic contains information about editing the registry.
Caution:
Incorrectly editing the registry can cause serious problems that may require you
to reinstall your operating system. Problems resulting from editing the registry
incorrectly may not be able to be resolved. Before editing the registry, back up
any valuable data.
Procedure
To set the NTDS port on a global catalog server that acts as an Exchange 2003
back-end server
1. On the RPC proxy server, start Registry Editor (Regedit).
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\NTDS\Parameters
3. Click Edit, click New, and then select Multi String Value.
4. Create a multi-string value with the name NSPI interface protocol sequences.
5. Right-click the NSPI interface protocol sequences multi-string value, and then click
Modify.
7. In Registry Editor, click File, and then click Exit to save your settings.
8. You must now restart your server for the settings to be applied.
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-
End Server, Back-End on Global Catalog Server
Note:
In Exchange Server 2003 SP1, authentication for RPC over HTTP on an RPC proxy
server is configured automatically.
Caution:
Incorrectly editing the registry can cause serious problems that may require you to
reinstall your operating system. Problems resulting from editing the registry
incorrectly may not be able to be resolved. Before editing the registry, back up any
valuable data.
Procedure
To configure the RPC proxy server to allow for SSL offloading on a separate server
1. On the RPC proxy server, start Registry Editor (Regedit).
HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc\RpcProxy
Important:
On the RPC virtual directory security settings in Internet Information Services
(IIS), under Authentication methods, verify that the check box next to
Enable anonymous access is cleared.
6. Restart the World Wide Web Publishing Service (W3SVC) in the services snap-in to
Microsoft Management Console (MMC).
Microsoft Knowledge Base article 833003, "Description of the RPC over HTTP feature
and the AllowAnonymous registry entry in Windows Server 2003"
(http://go.microsoft.com/fwlink/?Linkid=3052&kbid=833003)
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1 (Front-
End/Back-End Scenario)
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1, No
Front-End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-
End Server
For your users to use RPC over HTTP from their client computer, they must create an
Outlook profile that uses the required RPC over HTTP settings. These settings enable Secure
Sockets Layer (SSL) communication with Basic authentication or NTLM authentication. SSL
is required when you use RPC over HTTP.
Before you begin the procedure in this topic, confirm the following:
You have completed all other steps for configuring RPC over HTTP on your Exchange
servers.
Procedure
To create an Outlook profile for users to use with RPC over HTTP
1. On the client computer where Outlook 2003 is installed, click Start, and then click
Control Panel.
If you are using Category View, in the left pane, under See Also, click Other
Control Panel Options, and then click Mail.
5. In New Profile, in the Profile Name box, type a name for this profile, and then click
OK.
6. In the E-mail Accounts wizard, click Add a new e-mail account, and then click
Next.
7. On the Server Type page, click Microsoft Exchange Server, and then click Next.
a. In the Microsoft Exchange Server box, type the fully qualified domain name
(FQDN) of your back-end Exchange server where your mailbox resides.
Important:
Temporarily turn off Cached Exchange mode to test your configuration.
We recommend that you enable Cached Exchange mode after you test
your RPC over HTTP configuration.
c. In the User Name box, type the name of the user account that you want to use.
Note:
124
At this stage, the client application attempts to resolve the user name on
the Exchange server. If you cannot access your Exchange back-end
server directly by using TCP/IP, this operation will time out and present a
dialog box that prompts you to confirm your user name and mailbox.
Click Cancel on this dialog box.
a. On the Connection tab, in the Connection pane, select either Connect using
my Local Area Network (LAN) or Connect using Internet Explorer's or a 3rd
party dialer. Select the connection type based on the method that you use to
connect to the Internet.
b. On the Connection tab, in the Exchange over the Internet pane, select the
Connect to my Exchange mailbox using HTTP check box.
Note:
If the Exchange over the Internet area does not appear on the
Connection tab, see the How to Verify Client Computer Configuration.
10. In the Exchange Proxy Settings dialog box, in the Connections Settings pane,
perform the following steps:
a. Enter the FQDN of the RPC proxy server in the Use this URL to connect to my
proxy server for Exchange box. The RPC proxy server is the Exchange server
that users can connect to on the Internet. For example, type mail.contoso.com.
d. If you enabled mutual authentication, enter the FQDN of the RPC proxy server in
the Principle name for proxy server box. Use the format: msstd:FQDN of RPC
Proxy Server.
Note:
Outlook defines a fast connection as a connection that is faster than 128
kilobits per second (Kbps). Outlook defines a slow connection as a
connection that is slower than or equal to 128 Kbps.
The following figure shows the Exchange Proxy Settings dialog box.
125
11. In the Exchange Proxy Settings dialog box, in the Proxy authentication settings
pane, in the Use this authentication when connecting to my proxy server for
Exchange list, select either Basic Authentication or NTLM Authentication.
12. Click OK in the Exchange Proxy Settings box, click OK in the Microsoft Exchange
Server box, click Next on the E-mail Accounts page, click Finish to close the
wizard, and then click OK.
To modify an existing Outlook profile for users to use with RPC over HTTP
1. Use either Control Panel or Outlook to open the E-Mail Accounts wizard.
To open the E-Mail Accounts wizard using Control Panel, do the following:
a. On the client computer where Outlook 2003 is installed, click Start, and then click
Control Panel.
• If you are using Category View, in the left pane, under See Also, click Other
Control Panel Options, and then click Mail.
126
d. In Mail, click the profile that you want to change, and then click Properties.
2. In the E-mail Accounts wizard, click View or change existing e-mail accounts,
and then click Next.
3. On the E-mail Accounts page, select the Microsoft Exchange Server account, and
then click Change.
a. On the Connection tab, in the Connection pane, select either Connect using
my Local Area Network (LAN) or Connect using Internet Explorer's or a 3rd
party dialer. Select the connection type based on the method that you use to
connect to the Internet.
b. On the Connection tab, in the Exchange over the Internet pane, select the
Connect to my Exchange mailbox using HTTP check box.
6. In the Exchange Proxy Settings dialog box, in the Connections Settings pane, do
the following steps:
a. Enter the fully qualified domain name (FQDN) of the RPC proxy server in the
Use this URL to connect to my proxy server for Exchange box. The RPC
proxy server is the Exchange server that users can connect to on the Internet.
For example, type mail.contoso.com.
d. If you enabled mutual authentication, enter the FQDN of the RPC proxy server in
the Principle name for proxy server box. Use the format: msstd:FQDN of RPC
Proxy Server.
Note:
Outlook defines a fast connection as a connection that is faster than 128
kilobits per second (Kbps). Outlook defines a slow connection as a
connection that is slower than or equal to 128 Kbps.
The following figure shows the Exchange Proxy Settings dialog box.
7. In the Exchange Proxy Settings dialog box, in the Proxy authentication settings
pane, in the Use this authentication when connecting to my proxy server for
Exchange list, select either Basic Authentication or NTLM Authentication.
8. Click OK in the Exchange Proxy Settings box, click OK in the Microsoft Exchange
Server box, click Next on the E-mail Accounts page, click Finish to close the
wizard, and then click OK.
Video that shows how to configure Outlook 2003 MAPI profile to connect to Exchange
Server 2003 using RPC over HTTP (http://go.microsoft.com/fwlink/?LinkId=64060)
Note:
The video is in Windows Media Player format. If you have trouble viewing the
video, see the Windows Media Player support page.
For information about deploying RPC over HTTP in different Exchange Server 2003
scenarios, see the following topics in the Exchange Server 2003 RPC over HTTP Guide:
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1 (Front-
End/Back-End Scenario)
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1, No
Front-End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-
End Server
It is important that you first read System Requirements for RPC over HTTP on Exchange
Server 2003.
The back-end server and global catalog server roles are applied on separate servers.
You are running Exchange Server 2003 without service packs on all of your
Exchange servers.
Procedure
To deploy RPC over HTTP for the first time on Exchange Server 2003 with no front-
end server
1. Configure an Exchange Server 2003 back-end server as an RPC proxy server. For
detailed information, see How to Configure a Server as an RPC Proxy Server.
2. Configure the RPC virtual directory. For detailed information, see How to Configure
the RPC Virtual Directory in IIS.
3. Configure the RPC proxy server to use specified ports for RPC over HTTP. For
detailed information, see How to Configure the RPC Proxy Server to Use Specified
Ports for RPC over HTTP.
4. (optional) Configure the RPC proxy server to allow for Secure Sockets Layer (SSL)
offloading on a separate server. For detailed information, see How to Configure the
RPC Proxy Server to Allow for SSL Offloading on a Separate Server.
5. Create a Microsoft Office Outlook® profile for your users to use with RPC over HTTP.
For detailed information, see How to Create an Outlook Profile for Users to Use with
RPC over HTTP.
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
If you have already deployed RPC over HTTP in an Exchange Server 2003 topology and
are upgrading that topology to Exchange Server 2003 SP1, see How to Upgrade an
Exchange Server 2003 RPC over HTTP Deployment to Exchange Server 2003 SP1.
130
If you are deploying RPC over HTTP for the first time on Exchange Server 2003 SP1, see
one of the following topics:
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1
(Front-End/Back-End Scenario)
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1, No
Front-End Server
If you want help with troubleshooting RPC over HTTP communications, see
Troubleshooting RPC over HTTP Communications.
Typically, you will configure an Exchange front-end server as an RPC proxy server. However,
if you do not have a front-end server in your organization, you can configure a back-end
server as an RPC proxy server.
Procedure
To configure a server as an RPC proxy server
1. On the Exchange server that will be the RPC proxy server, click Start, click Control
Panel, and then click Add or Remove Programs.
3. In Networking Services, select the RPC over HTTP Proxy check box, and then
click OK.
131
4. On the Windows Components page, click Next to install the RPC over HTTP
Proxy Windows component.
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1
(Front-End/Back-End Scenario)
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No
Front-End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No
Front-End Server, Back-End on Global Catalog Server
After you have configured a server in your organization as an RPC proxy server, you must
configure the RPC virtual directory in IIS if either of the following conditions is true:
The RPC proxy server is running Microsoft® Exchange Server 2003 and does not have
Service Pack 1 (SP1) installed.
You have SP1 installed in your organization, but you do not have a front-end server.
After completing these procedures, your RPC virtual directory will be ready to use Basic
authentication and NTLM authentication.
132
2. In Internet Information Services (IIS) Manager, in the console tree, expand the
server you want, then expand Web Sites.
3. Expand Default Web Site, right-click the RPCvirtual directory, and then click
Properties.
4. In the RPC Virtual Directory Properties page, on the Directory Security tab, in the
Authentication and access control pane, click Edit.
5. In the Authentication Methods window, verify that the check box next to Enable
anonymous access is cleared.
Note:
RPC over HTTP does not allow anonymous access by default, despite what
the user interface shows.
Note:
In this error message, the word "HTTPS(orSSL)" is a misspelling for the
words "HTTPS (or SSL)."
In the Authentication Methods window, under Authenticated access, you can also
133
select the check box next to Integrated Windows authentication (NTLM). However,
it is recommended that you use Basic authentication over NTLM because of two
reasons. First, RPC over HTTP currently supports only NTLM – it doesn’t support
Kerberos. Second, if there is an HTTP Proxy or a firewall between the RPC over
HTTP client and the RPC Proxy, which inserts via the pragma in the HTTP header,
NTLM authentication will not work. For more information see, RPC over HTTP
Deployment Recommendations.
8. Ensure that you have a valid SSL certificate installed on the virtual server.
2. Expand Web Sites, expand Default Web Site, right-click Rpc, and then click
Properties.
3. Click the Directory Security tab, and then click Edit under Secure
communications.
4. Click to select the Require secure channel (SSL) check box and the Require 128-
bit encryption check box.
Note:
We recommend that you click to select the Require 128-bit encryption
check box. However, RPC over HTTP functions correctly even if you do not
require 128-bit encryption.
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1, No
Front-End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-
End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-
End Server, Back-End on Global Catalog Server
How to Verify RPC Virtual Directory Configuration
Note:
You can also use the Rpccfg tool to set and troubleshoot port assignments. The
Rpccfg tool is included in the Windows Server 2003 Resource Kit Tools.
After you configure the RPC over HTTP networking component for Internet Information
Services, configure the RPC proxy server. Configure the RPC proxy server to use specific
ports to communicate with the directory service and with the information store on the
Exchange computer.
For information about configuring all your global catalogs to use specific ports for RPC over
HTTP for directory services, see How to Set the NTDS Port on a Global Catalog Server
Acting as an Exchange Server 2003 Back-End Server.
6002 DSReferral
6004 DSProxy
The three registry values that follow are automatically configured by Exchange Server 2003
Setup. Although you do not have to configure these registry values, you might want to verify
that these registry values are configured correctly.
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeIS\Paramet
ersSystem
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeSA\Paramet
ers
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeSA\Paramet
ers
Note:
Do not modify these registry values. If you modify these registry values, RPC over
HTTP may not function correctly.
To configure the RPC proxy server to use specific ports, follow the steps below. The following
steps contain information about editing the registry.
Caution:
Incorrectly editing the registry can cause serious problems that may require you to
reinstall your operating system. Problems resulting from editing the registry
incorrectly may not be able to be resolved. Before editing the registry, back up any
valuable data.
136
Procedure
To configure the RPC proxy server to use specified ports for RPC over HTTP
1. On the RPC proxy server, start Registry Editor (Regedit).
HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc\RpcProxy
3. In the details pane, right-click the ValidPorts subkey, and then click Modify.
4. In Edit String, in the Value data box, type the following information:
ExchangeServer:6001-6002;ExchangeServerFQDN:6001-
6002;ExchangeServer:6004;ExchangeServerFQDN:6004;
To determine the NetBIOS name and the fully qualified domain name of your server,
start a command prompt, type ipconfig /all, and then press ENTER. Under Windows
IP Configuration, information that is similar to the following appears:
The host name is the NetBIOS name of your computer. The host name together with
the primary DNS suffix is the fully qualified domain name of your computer. In this
example, the fully qualified domain name is mycomputer.contoso.com.
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1, No
Front-End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-
End Server
137
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-
End Server, Back-End on Global Catalog Server
Note:
In Exchange Server 2003 SP1, authentication for RPC over HTTP on an RPC proxy
server is configured automatically.
Caution:
Incorrectly editing the registry can cause serious problems that may require you to
reinstall your operating system. Problems resulting from editing the registry
incorrectly may not be able to be resolved. Before editing the registry, back up any
valuable data.
Procedure
To configure the RPC proxy server to allow for SSL offloading on a separate server
1. On the RPC proxy server, start Registry Editor (Regedit).
HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc\RpcProxy
138
Important:
On the RPC virtual directory security settings in Internet Information Services
(IIS), under Authentication methods, verify that the check box next to
Enable anonymous access is cleared.
6. Restart the World Wide Web Publishing Service (W3SVC) in the services snap-in to
Microsoft Management Console (MMC).
Microsoft Knowledge Base article 833003, "Description of the RPC over HTTP feature
and the AllowAnonymous registry entry in Windows Server 2003"
(http://go.microsoft.com/fwlink/?Linkid=3052&kbid=833003)
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1 (Front-
End/Back-End Scenario)
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1, No
Front-End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-
End Server
For your users to use RPC over HTTP from their client computer, they must create an
Outlook profile that uses the required RPC over HTTP settings. These settings enable Secure
139
Sockets Layer (SSL) communication with Basic authentication or NTLM authentication. SSL
is required when you use RPC over HTTP.
Before you begin the procedure in this topic, confirm the following:
You have completed all other steps for configuring RPC over HTTP on your Exchange
servers.
Procedure
To create an Outlook profile for users to use with RPC over HTTP
1. On the client computer where Outlook 2003 is installed, click Start, and then click
Control Panel.
If you are using Category View, in the left pane, under See Also, click Other
Control Panel Options, and then click Mail.
5. In New Profile, in the Profile Name box, type a name for this profile, and then click
OK.
6. In the E-mail Accounts wizard, click Add a new e-mail account, and then click
Next.
7. On the Server Type page, click Microsoft Exchange Server, and then click Next.
a. In the Microsoft Exchange Server box, type the fully qualified domain name
(FQDN) of your back-end Exchange server where your mailbox resides.
Important:
Temporarily turn off Cached Exchange mode to test your configuration.
We recommend that you enable Cached Exchange mode after you test
140
c. In the User Name box, type the name of the user account that you want to use.
Note:
At this stage, the client application attempts to resolve the user name on
the Exchange server. If you cannot access your Exchange back-end
server directly by using TCP/IP, this operation will time out and present a
dialog box that prompts you to confirm your user name and mailbox.
Click Cancel on this dialog box.
b. On the Connection tab, in the Exchange over the Internet pane, select the
Connect to my Exchange mailbox using HTTP check box.
Note:
If the Exchange over the Internet area does not appear on the
Connection tab, see the How to Verify Client Computer Configuration.
10. In the Exchange Proxy Settings dialog box, in the Connections Settings pane,
perform the following steps:
a. Enter the FQDN of the RPC proxy server in the Use this URL to connect to my
proxy server for Exchange box. The RPC proxy server is the Exchange server
that users can connect to on the Internet. For example, type mail.contoso.com.
d. If you enabled mutual authentication, enter the FQDN of the RPC proxy server in
the Principle name for proxy server box. Use the format: msstd:FQDN of RPC
Proxy Server.
Note:
Outlook defines a fast connection as a connection that is faster than 128
kilobits per second (Kbps). Outlook defines a slow connection as a
connection that is slower than or equal to 128 Kbps.
The following figure shows the Exchange Proxy Settings dialog box.
11. In the Exchange Proxy Settings dialog box, in the Proxy authentication settings
pane, in the Use this authentication when connecting to my proxy server for
Exchange list, select either Basic Authentication or NTLM Authentication.
12. Click OK in the Exchange Proxy Settings box, click OK in the Microsoft Exchange
Server box, click Next on the E-mail Accounts page, click Finish to close the
wizard, and then click OK.
To modify an existing Outlook profile for users to use with RPC over HTTP
1. Use either Control Panel or Outlook to open the E-Mail Accounts wizard.
To open the E-Mail Accounts wizard using Control Panel, do the following:
142
a. On the client computer where Outlook 2003 is installed, click Start, and then click
Control Panel.
• If you are using Category View, in the left pane, under See Also, click Other
Control Panel Options, and then click Mail.
d. In Mail, click the profile that you want to change, and then click Properties.
2. In the E-mail Accounts wizard, click View or change existing e-mail accounts,
and then click Next.
3. On the E-mail Accounts page, select the Microsoft Exchange Server account, and
then click Change.
a. On the Connection tab, in the Connection pane, select either Connect using
my Local Area Network (LAN) or Connect using Internet Explorer's or a 3rd
party dialer. Select the connection type based on the method that you use to
connect to the Internet.
b. On the Connection tab, in the Exchange over the Internet pane, select the
Connect to my Exchange mailbox using HTTP check box.
6. In the Exchange Proxy Settings dialog box, in the Connections Settings pane, do
the following steps:
a. Enter the fully qualified domain name (FQDN) of the RPC proxy server in the
Use this URL to connect to my proxy server for Exchange box. The RPC
proxy server is the Exchange server that users can connect to on the Internet.
For example, type mail.contoso.com.
d. If you enabled mutual authentication, enter the FQDN of the RPC proxy server in
143
the Principle name for proxy server box. Use the format: msstd:FQDN of RPC
Proxy Server.
Note:
Outlook defines a fast connection as a connection that is faster than 128
kilobits per second (Kbps). Outlook defines a slow connection as a
connection that is slower than or equal to 128 Kbps.
The following figure shows the Exchange Proxy Settings dialog box.
7. In the Exchange Proxy Settings dialog box, in the Proxy authentication settings
pane, in the Use this authentication when connecting to my proxy server for
Exchange list, select either Basic Authentication or NTLM Authentication.
8. Click OK in the Exchange Proxy Settings box, click OK in the Microsoft Exchange
144
Server box, click Next on the E-mail Accounts page, click Finish to close the
wizard, and then click OK.
Video that shows how to configure Outlook 2003 MAPI profile to connect to Exchange
Server 2003 using RPC over HTTP (http://go.microsoft.com/fwlink/?LinkId=64060)
Note:
The video is in Windows Media Player format. If you have trouble viewing the
video, see the Windows Media Player support page.
For information about deploying RPC over HTTP in different Exchange Server 2003
scenarios, see the following topics in the Exchange Server 2003 RPC over HTTP Guide:
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1 (Front-
End/Back-End Scenario)
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1, No
Front-End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-
End Server
The Exchange organization has at least one back-end server that is also a global catalog
server.
It is important that you first read System Requirements for RPC over HTTP on Exchange
Server 2003.
At least one of your back-end servers is located on the same computer as a global
catalog server.
Note:
If your back-end server is also a domain controller, it is recommended that
you make this domain controller a global catalog server. If an RPC over
HTTP back-end server is a domain controller but is not a global catalog
server, you can experience problems with connectivity to this server.
You are running Exchange Server 2003 without service packs on all of your
Exchange servers.
Procedure
To deploy RPC over HTTP for the first time on Exchange Server 2003, no front-end
server, back-end on a global catalog server
1. Configure an Exchange Server 2003 back-end server as an RPC proxy server. For
detailed steps, see How to Configure a Server as an RPC Proxy Server.
2. Configure the RPC virtual directory. For detailed steps, see How to Configure the
RPC Virtual Directory in IIS.
3. Configure the RPC proxy server to use specified ports for RPC over HTTP. For
detailed steps, see How to Configure the RPC Proxy Server to Use Specified Ports
for RPC over HTTP.
4. Set the NT Directory Services (NTDS) port on all global catalog servers that act as
Exchange Server 2003 back-end servers. For detailed steps, see How to Set the
146
NTDS Port on a Global Catalog Server Acting as an Exchange Server 2003 Back-
End Server.
5. (optional) Configure the RPC proxy server to allow for Secure Sockets Layer (SSL)
offloading on a separate server. For detailed steps, see How to Configure the RPC
Proxy Server to Allow for SSL Offloading on a Separate Server.
6. Create a Microsoft Office Outlook® profile for your users to use with RPC over HTTP.
For detailed steps, see How to Create an Outlook Profile for Users to Use with RPC
over HTTP.
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
If you are deploying RPC over HTTP for the first time on Exchange Server 2003, and you
do not have a front-end server in your organization, and you do not have a server that is
both a back-end server and a global catalog server, see the following topic:
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No
Front-End Server
If you are deploying RPC over HTTP for the first time on Exchange Server 2003 SP1, see
one of the following topics:
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1
(Front-End/Back-End Scenario)
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1, No
Front-End Server
If you have already deployed RPC over HTTP in an Exchange Server 2003 topology and
are upgrading that topology to Exchange Server 2003 SP1, see How to Upgrade an
Exchange Server 2003 RPC over HTTP Deployment to Exchange Server 2003 SP1.
If you want help with troubleshooting RPC over HTTP communications, see
Troubleshooting RPC over HTTP Communications.
147
Typically, you will configure an Exchange front-end server as an RPC proxy server. However,
if you do not have a front-end server in your organization, you can configure a back-end
server as an RPC proxy server.
Procedure
To configure a server as an RPC proxy server
1. On the Exchange server that will be the RPC proxy server, click Start, click Control
Panel, and then click Add or Remove Programs.
3. In Networking Services, select the RPC over HTTP Proxy check box, and then
click OK.
4. On the Windows Components page, click Next to install the RPC over HTTP
Proxy Windows component.
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1
(Front-End/Back-End Scenario)
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No
Front-End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No
Front-End Server, Back-End on Global Catalog Server
After you have configured a server in your organization as an RPC proxy server, you must
configure the RPC virtual directory in IIS if either of the following conditions is true:
The RPC proxy server is running Microsoft® Exchange Server 2003 and does not have
Service Pack 1 (SP1) installed.
You have SP1 installed in your organization, but you do not have a front-end server.
After completing these procedures, your RPC virtual directory will be ready to use Basic
authentication and NTLM authentication.
2. In Internet Information Services (IIS) Manager, in the console tree, expand the
server you want, then expand Web Sites.
3. Expand Default Web Site, right-click the RPCvirtual directory, and then click
Properties.
4. In the RPC Virtual Directory Properties page, on the Directory Security tab, in the
Authentication and access control pane, click Edit.
5. In the Authentication Methods window, verify that the check box next to Enable
anonymous access is cleared.
Note:
RPC over HTTP does not allow anonymous access by default, despite what
the user interface shows.
Note:
In this error message, the word "HTTPS(orSSL)" is a misspelling for the
words "HTTPS (or SSL)."
In the Authentication Methods window, under Authenticated access, you can also
select the check box next to Integrated Windows authentication (NTLM). However,
it is recommended that you use Basic authentication over NTLM because of two
reasons. First, RPC over HTTP currently supports only NTLM – it doesn’t support
Kerberos. Second, if there is an HTTP Proxy or a firewall between the RPC over
HTTP client and the RPC Proxy, which inserts via the pragma in the HTTP header,
150
NTLM authentication will not work. For more information see, RPC over HTTP
Deployment Recommendations.
8. Ensure that you have a valid SSL certificate installed on the virtual server.
2. Expand Web Sites, expand Default Web Site, right-click Rpc, and then click
Properties.
3. Click the Directory Security tab, and then click Edit under Secure
communications.
4. Click to select the Require secure channel (SSL) check box and the Require 128-
bit encryption check box.
Note:
We recommend that you click to select the Require 128-bit encryption
check box. However, RPC over HTTP functions correctly even if you do not
require 128-bit encryption.
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1, No
Front-End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario
151
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-
End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-
End Server, Back-End on Global Catalog Server
Note:
You can also use the Rpccfg tool to set and troubleshoot port assignments. The
Rpccfg tool is included in the Windows Server 2003 Resource Kit Tools.
After you configure the RPC over HTTP networking component for Internet Information
Services, configure the RPC proxy server. Configure the RPC proxy server to use specific
ports to communicate with the directory service and with the information store on the
Exchange computer.
For information about configuring all your global catalogs to use specific ports for RPC over
HTTP for directory services, see How to Set the NTDS Port on a Global Catalog Server
Acting as an Exchange Server 2003 Back-End Server.
6002 DSReferral
6004 DSProxy
152
The three registry values that follow are automatically configured by Exchange Server 2003
Setup. Although you do not have to configure these registry values, you might want to verify
that these registry values are configured correctly.
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeIS\Paramet
ersSystem
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeSA\Paramet
ers
Value name: HTTP Port
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeSA\Paramet
ers
Note:
Do not modify these registry values. If you modify these registry values, RPC over
HTTP may not function correctly.
To configure the RPC proxy server to use specific ports, follow the steps below. The following
steps contain information about editing the registry.
Caution:
Incorrectly editing the registry can cause serious problems that may require you to
reinstall your operating system. Problems resulting from editing the registry
incorrectly may not be able to be resolved. Before editing the registry, back up any
valuable data.
Procedure
To configure the RPC proxy server to use specified ports for RPC over HTTP
1. On the RPC proxy server, start Registry Editor (Regedit).
HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc\RpcProxy
3. In the details pane, right-click the ValidPorts subkey, and then click Modify.
4. In Edit String, in the Value data box, type the following information:
ExchangeServer:6001-6002;ExchangeServerFQDN:6001-
6002;ExchangeServer:6004;ExchangeServerFQDN:6004;
The host name is the NetBIOS name of your computer. The host name together with
the primary DNS suffix is the fully qualified domain name of your computer. In this
example, the fully qualified domain name is mycomputer.contoso.com.
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1, No
Front-End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-
End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-
End Server, Back-End on Global Catalog Server
154
Confirm that you are running Exchange Server 2003 on your Exchange servers.
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No
Front-End Server, Back-End on Global Catalog Server
Note that this topic contains information about editing the registry.
Caution:
Incorrectly editing the registry can cause serious problems that may require you
to reinstall your operating system. Problems resulting from editing the registry
incorrectly may not be able to be resolved. Before editing the registry, back up
any valuable data.
Procedure
To set the NTDS port on a global catalog server that acts as an Exchange 2003
back-end server
1. On the RPC proxy server, start Registry Editor (Regedit).
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\NTDS\Parameters
3. Click Edit, click New, and then select Multi String Value.
4. Create a multi-string value with the name NSPI interface protocol sequences.
155
5. Right-click the NSPI interface protocol sequences multi-string value, and then click
Modify.
7. In Registry Editor, click File, and then click Exit to save your settings.
8. You must now restart your server for the settings to be applied.
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-
End Server, Back-End on Global Catalog Server
Note:
In Exchange Server 2003 SP1, authentication for RPC over HTTP on an RPC proxy
server is configured automatically.
Caution:
Incorrectly editing the registry can cause serious problems that may require you to
reinstall your operating system. Problems resulting from editing the registry
incorrectly may not be able to be resolved. Before editing the registry, back up any
valuable data.
Procedure
To configure the RPC proxy server to allow for SSL offloading on a separate server
1. On the RPC proxy server, start Registry Editor (Regedit).
HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc\RpcProxy
Important:
On the RPC virtual directory security settings in Internet Information Services
(IIS), under Authentication methods, verify that the check box next to
Enable anonymous access is cleared.
6. Restart the World Wide Web Publishing Service (W3SVC) in the services snap-in to
Microsoft Management Console (MMC).
Microsoft Knowledge Base article 833003, "Description of the RPC over HTTP feature
and the AllowAnonymous registry entry in Windows Server 2003"
(http://go.microsoft.com/fwlink/?Linkid=3052&kbid=833003)
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1 (Front-
End/Back-End Scenario)
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1, No
Front-End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario
157
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-
End Server
For your users to use RPC over HTTP from their client computer, they must create an
Outlook profile that uses the required RPC over HTTP settings. These settings enable Secure
Sockets Layer (SSL) communication with Basic authentication or NTLM authentication. SSL
is required when you use RPC over HTTP.
Before you begin the procedure in this topic, confirm the following:
You have completed all other steps for configuring RPC over HTTP on your Exchange
servers.
Procedure
To create an Outlook profile for users to use with RPC over HTTP
1. On the client computer where Outlook 2003 is installed, click Start, and then click
Control Panel.
If you are using Category View, in the left pane, under See Also, click Other
Control Panel Options, and then click Mail.
5. In New Profile, in the Profile Name box, type a name for this profile, and then click
OK.
6. In the E-mail Accounts wizard, click Add a new e-mail account, and then click
Next.
7. On the Server Type page, click Microsoft Exchange Server, and then click Next.
a. In the Microsoft Exchange Server box, type the fully qualified domain name
(FQDN) of your back-end Exchange server where your mailbox resides.
Important:
Temporarily turn off Cached Exchange mode to test your configuration.
We recommend that you enable Cached Exchange mode after you test
your RPC over HTTP configuration.
c. In the User Name box, type the name of the user account that you want to use.
Note:
At this stage, the client application attempts to resolve the user name on
the Exchange server. If you cannot access your Exchange back-end
server directly by using TCP/IP, this operation will time out and present a
dialog box that prompts you to confirm your user name and mailbox.
Click Cancel on this dialog box.
a. On the Connection tab, in the Connection pane, select either Connect using
my Local Area Network (LAN) or Connect using Internet Explorer's or a 3rd
party dialer. Select the connection type based on the method that you use to
connect to the Internet.
b. On the Connection tab, in the Exchange over the Internet pane, select the
Connect to my Exchange mailbox using HTTP check box.
Note:
If the Exchange over the Internet area does not appear on the
Connection tab, see the How to Verify Client Computer Configuration.
10. In the Exchange Proxy Settings dialog box, in the Connections Settings pane,
perform the following steps:
a. Enter the FQDN of the RPC proxy server in the Use this URL to connect to my
159
proxy server for Exchange box. The RPC proxy server is the Exchange server
that users can connect to on the Internet. For example, type mail.contoso.com.
d. If you enabled mutual authentication, enter the FQDN of the RPC proxy server in
the Principle name for proxy server box. Use the format: msstd:FQDN of RPC
Proxy Server.
Note:
Outlook defines a fast connection as a connection that is faster than 128
kilobits per second (Kbps). Outlook defines a slow connection as a
connection that is slower than or equal to 128 Kbps.
The following figure shows the Exchange Proxy Settings dialog box.
11. In the Exchange Proxy Settings dialog box, in the Proxy authentication settings
pane, in the Use this authentication when connecting to my proxy server for
Exchange list, select either Basic Authentication or NTLM Authentication.
12. Click OK in the Exchange Proxy Settings box, click OK in the Microsoft Exchange
Server box, click Next on the E-mail Accounts page, click Finish to close the
wizard, and then click OK.
To modify an existing Outlook profile for users to use with RPC over HTTP
1. Use either Control Panel or Outlook to open the E-Mail Accounts wizard.
To open the E-Mail Accounts wizard using Control Panel, do the following:
a. On the client computer where Outlook 2003 is installed, click Start, and then click
Control Panel.
• If you are using Category View, in the left pane, under See Also, click Other
Control Panel Options, and then click Mail.
d. In Mail, click the profile that you want to change, and then click Properties.
2. In the E-mail Accounts wizard, click View or change existing e-mail accounts,
and then click Next.
3. On the E-mail Accounts page, select the Microsoft Exchange Server account, and
then click Change.
4. On the Exchange Server Settings page, click More Settings.
a. On the Connection tab, in the Connection pane, select either Connect using
my Local Area Network (LAN) or Connect using Internet Explorer's or a 3rd
party dialer. Select the connection type based on the method that you use to
connect to the Internet.
b. On the Connection tab, in the Exchange over the Internet pane, select the
Connect to my Exchange mailbox using HTTP check box.
6. In the Exchange Proxy Settings dialog box, in the Connections Settings pane, do
the following steps:
a. Enter the fully qualified domain name (FQDN) of the RPC proxy server in the
Use this URL to connect to my proxy server for Exchange box. The RPC
proxy server is the Exchange server that users can connect to on the Internet.
For example, type mail.contoso.com.
d. If you enabled mutual authentication, enter the FQDN of the RPC proxy server in
the Principle name for proxy server box. Use the format: msstd:FQDN of RPC
Proxy Server.
Note:
162
The following figure shows the Exchange Proxy Settings dialog box.
7. In the Exchange Proxy Settings dialog box, in the Proxy authentication settings
pane, in the Use this authentication when connecting to my proxy server for
Exchange list, select either Basic Authentication or NTLM Authentication.
8. Click OK in the Exchange Proxy Settings box, click OK in the Microsoft Exchange
Server box, click Next on the E-mail Accounts page, click Finish to close the
wizard, and then click OK.
Video that shows how to configure Outlook 2003 MAPI profile to connect to Exchange
Server 2003 using RPC over HTTP (http://go.microsoft.com/fwlink/?LinkId=64060)
Note:
The video is in Windows Media Player format. If you have trouble viewing the
video, see the Windows Media Player support page.
For information about deploying RPC over HTTP in different Exchange Server 2003
scenarios, see the following topics in the Exchange Server 2003 RPC over HTTP Guide:
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1 (Front-
End/Back-End Scenario)
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1, No
Front-End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No Front-
End Server
You have read System Requirements for RPC over HTTP on Exchange Server 2003.
164
Your RPC proxy server has the RPC over HTTP Microsoft Windows® networking
component for Internet Information Services (IIS) installed. If you are upgrading an
existing RPC over HTTP deployment, this should already be completed.
You have upgraded your front-end servers to Exchange Server 2003 SP1.
You are running Exchange Server 2003 on your back-end servers. You can have SP1
installed on your back-end servers, but it is not necessary.
Procedure
To upgrade an Exchange Server 2003 RPC over HTTP deployment to Exchange
Server 2003 SP1
1. Configure each of your Exchange back-end servers to act as targets for the RPC proxy
servers. For detailed steps, see How to Configure the Back-End Server to Act as a Target
for the RPC Proxy Server.
Note:
By performing this task, you set an Active Directory® directory service property
that indicates to a front-end server that these back-end servers should be
published for RPC over HTTP access. If your topology has multiple global
catalog servers, you might want to wait for Active Directory replication to
propagate these properties before proceeding to the next step.
2. Configure each of your Exchange front-end servers to act as RPC proxy servers. For
detailed steps, see How to Configure the RPC Proxy Server Settings on a Front-End
Server in Exchange System Manager.
Note:
When you reconfigure your Exchange servers to use RPC over HTTP, you will
receive the following warning messages if you have already configured your
Exchange front-end servers to use RPC over HTTP.
3. When you receive this message, click OK to allow Exchange to automatically manage the
165
RPC over HTTP registry keys. Your old configuration will be backed up to the file that is
referenced in the dialog box.
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No
Front-End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No
Front-End Server, Back-End on Global Catalog Server
If you are deploying RPC over HTTP for the first time on Exchange Server 2003 SP1, see
one of the following topics:
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1
(Front-End/Back-End Scenario)
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1, No
Front-End Server
If you want to add another Exchange Server 2003 back-end server to your organization
after you have deployed RPC over HTTP, see Adding a Back-End Server to an RPC over
HTTP Deployment.
If you want help with troubleshooting RPC over HTTP communications, see
Troubleshooting RPC over HTTP Communications.
You are running Exchange 2003 SP1 on at least one server in the organization.
You configured the back-end server, using Exchange System Manager, on a server that
is running Exchange 2003 SP1.
Note:
The back-end server that you configure does not have to have SP1 installed.
Procedure
To configure the back-end server to act as a target for the RPC proxy server
1. Click Start, point to All Programs, point to Microsoft Exchange, and then click System
Manager.
2. In Exchange System Manager, expand Administrative Groups, and then expand the
administrative group that contains your Exchange back-end server.
3. Expand the Servers object, right-click the Exchange back-end server that you want to
configure, and then select Properties.
4. On the Exchange Server Properties page, click the RPC-HTTP tab, and then select the
option next to RPC-HTTP back-end server.
5. If you do not have a front-end server in your topology, you could receive a warning
message as shown in the following figure. Click OK and proceed to the next step to
configure the Exchange back-end servers.
7. If your back-end server is also a global catalog server, you could receive an additional
warning as shown in the following figure. Restart the back-end and global catalog server
if this warning message appears.
8. Perform this procedure on all Exchange Server 2003 SP1 back-end servers that RPC
proxy servers need to be able to access.
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1 (Front-
End/Back-End Scenario)
How to Upgrade an Exchange Server 2003 RPC over HTTP Deployment to Exchange
Server 2003 SP1
Procedure
To configure the RPC proxy server settings in Exchange System Manager
1. In Exchange System Manager, expand Administrative Groups, and then expand
the administrative group that contains your RPC proxy server.
2. Expand the Servers object, right-click the Exchange server that you have configured
168
3. On the Exchange Server Properties page, click the RPC-HTTP tab, and then select
the option next to RPC-HTTP front-end server.
4. Click OK.
5. A warning message will appear stating that Secure Sockets Layer (SSL) is required
for RPC over HTTP to work. Click OK. You must configure SSL on your Exchange
front-end server for RPC over HTTP to work. Alternatively, you can select to offload
SSL on another server. For information about how to do this, see How to Configure
the RPC Proxy Server to Allow for SSL Offloading on a Separate Server.
169
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003 SP1 (Front-
End/Back-End Scenario)
How to Upgrade an Exchange Server 2003 RPC over HTTP Deployment to Exchange
Server 2003 SP1
You have read System Requirements for RPC over HTTP on Exchange Server 2003.
Verify that your server is running Windows Small Business Server 2003 (Standard or
Premium).
Procedure
To deploy RPC over HTTP in a Small Business Server (Standard or Premium)
1. On the Windows Small Business Server 2003, run the Configure E-mail and Internet
Connection Wizard. Follow these steps to go through the wizard:
c. Continue through the wizard and enter the specific information about your
Internet connection type, your DNS server, and your router.
d. On the Web Services Configuration page, click to select the Outlook via the
Internet check box under the Allow access to only the following Web site
services from the Internet. Select any additional services, such as Outlook
170
e. Click Next.
f. On the Web Server Certificate page, select the Web server certificate type, and
then click Next. You can choose to either install a new Web server certificate or
locate a third-party certificate.
Note:
The wizard automatically configures Exchange, Internet Security and
Acceleration (ISA) Server, IIS, and the RPC proxy registry entries.
2. Configure an email profile for Outlook 2003 clients to use RPC over HTTP. For
detailed steps, see How to Create an Outlook Profile for Users to Use with RPC over
HTTP.
3. Test RPC virtual directory configuration from a Windows XP client. For detailed steps,
see How to Verify RPC Virtual Directory Configuration.
If you are deploying RPC over HTTP for the first time on Exchange Server 2003, and
have not installed Service Pack 1 on your Exchange servers, see one of the following
topics:
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, Front-
End/Back-End Scenario, Back End on Global Catalog Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No
Front-End Server
How to Deploy RPC over HTTP for the First Time on Exchange Server 2003, No
Front-End Server, Back-End on Global Catalog Server
If you have already deployed RPC over HTTP in an Exchange Server 2003 topology and
are upgrading that topology from Exchange Server 2003 to Exchange Server 2003 SP1,
see How to Upgrade an Exchange Server 2003 RPC over HTTP Deployment to
Exchange Server 2003 SP1.
If you want to add another Exchange Server 2003 back-end server to your topology after
you have deployed RPC over HTTP, see Adding a Back-End Server to an RPC over
HTTP Deployment.
171
If you want help with troubleshooting RPC over HTTP communications, see
Troubleshooting RPC over HTTP Communications.
For more information about how to configure a back-end server to act as a target for the RPC
proxy server, see How to Configure the Back-End Server to Act as a Target for the RPC
Proxy Server.
Verifying a successful connection to the RPC proxy server by using a Secure Sockets
Layer (SSL) connection.
These steps walk you through all parts of your configuration to help troubleshoot an
unsuccessful RPC over HTTP connection. Additionally, other troubleshooting information is
provided to help you determine if an Office Outlook 2003 Client RPC over HTTP connection
is working.
172
How to Verify That RPC Proxy Server Has Basic Authentication Configured
For information about Remote Procedure Calls that use RPC over HTTP, see Remote
Procedure Calls Using RPC over HTTP.
For information on configuring Outlook 2003 client for RPC over HTTP, see Configuring
Outlook 2003 for RPC over HTTP.
Procedure
To verify that RPC over HTTP support is installed
Make sure that the ValidPorts registry entry is configured correctly and that the RPC
over HTTP component is installed on the Exchange 2003 computer.
Note:
173
For more information on the ValidPorts registry key, see RPC over HTTP
Interactions on the RPC Proxy Server.
If the ValidPorts registry entry is configured incorrectly, the Rpcproxy.dll file will not
load when a client tries to access the RPC proxy server. In this scenario, the
following event is logged to indicate that the Rpcproxy.dll file did not load
successfully:
Event ID: 2
Date: date
Time: time
Type: Error
User: N/A
Computer: computername
computername: 100'5000. The RPC Proxy cannot load. The ValidPorts registry key
might have been configured incorrectly.
User Action: Verify that the ValidPorts registry value is set correctly. If the value is
not correct, edit the registry key to reflect the correct value.
Note:
This issue only occurs if the Data value for the ValidPorts registry entry is
incorrectly formatted. For example, this issue occurs if the value contains
incorrect characters or punctuation. This event is not logged in a scenario
where you have configured incorrect server names. Additionally, this event is
only logged the first time that you connect to the RPC HTTP server after you
restart the World Wide Web Publishing service.
For more information on troubleshooting RPC over HTTP communications, see the
following topics:
How to Verify That RPC Proxy Server Has Basic Authentication Configured
Procedure
To verify that the World Wide Web Publishing Service is running on Exchange
Server 2003
1. Type the following command at a command prompt, and then press ENTER:
2. Verify that you can resolve the name of the back-end Exchange Server 2003
computer from the RPC proxy server.
Note:
Do this to make sure that the RPC proxy server can communicate with the
back-end Exchange Server 2003 computers by using RPC communications.
For more information about troubleshooting RPC over HTTP communications, see the
following topics:
How to Verify That RPC Proxy Server Has Basic Authentication Configured
Procedure
To verify that an SSL certificate is installed on the RPC proxy server
1. On the RPC proxy server, start Internet Information Services (IIS) Manager.
3. Expand Web Sites, right-click the Web site where the RPC application is located,
and then click Properties.
4. Click the Directory Security tab, and then click View Certificate.
For more information about troubleshooting RPC over HTTP communications, see the
following topics:
How to Verify That RPC Proxy Server Has Basic Authentication Configured
In the task, a client computer running Windows XP Service Pack 1 (SP1) or later is used to
connect to the RPC virtual directory in IIS. The task uses Internet Explorer to test RPC and
Internet Information Services (IIS) connection to confirm that the RpcProxy.dll file on the RPC
proxy server is working correctly. To test that the RPC virtual directory is properly configured
in IIS, follow one of the following procedures that best suits your scenario.
Test RPC proxy server, IIS functionality where Exchange Server 2003 runs on Windows
Server 2003 or Windows Small Business Server 2003.
Test RPC proxy server, IIS functionality where Exchange Server 2003 runs on Windows
Server 2003 SP1.
Note:
You can also test RPC, IIS functionality by browsing directly to the DLL file in the
RPC Virtual Directory. Steps are included in the procedure below.
Procedure
Test RPC proxy server, IIS functionality where Exchange Server 2003 runs on
Windows Server 2003 or Windows Small Business Server 2003
1. On the client computer, start Internet Explorer, type the fully qualified domain name
(FQDN) address in Internet Explorer, and then click Go.
Note:
Substitute the FQDN of your RPC proxy server for mail.contoso.com.
177
Any information you exchange with this site cannot be viewed by anyone
else on the Web.
If you receive a message that states that the certificate was issued by a company
that you have not chosen to trust, make sure that the client computer trusts the
root certification authority that issued the certificate.
Note:
Typically, you receive this message when you do not configure the server
to use a third-party certificate. For more information about how to trust a
root certification authority, view the article in the Microsoft Knowledge
Base: This security certificate was issued by a company that you have
not chosen to trust.
3. When you are prompted for your credentials, type your user name in the Universal
Naming Convention (UNC) format, type your password, and then click OK.
For example, type your user name in the domain\username format. You receive the
following error message:
Note:
This error message is the expected behavior. This error message indicates that
the RPC virtual directory on the server is correctly configured. IIS returns this
error message because the client program does not have Read permissions to
the RPC application on the RPC proxy server, although you can successfully
access this application.
Procedure
Test RPC proxy server, IIS functionality where Exchange Server 2003 runs on
Windows Server 2003 SP1
Option 1: Test the RPC proxy server, IIS connection to the RPC application through
your Internet browser.
Note:
178
If you have applied Windows Server 2003 SP1, you will find a new Virtual
Directory in IIS. It is named RpcWithCertand is located under the Default Web
Site. This new Virtual Directory does not effect the current RPC over HTTP
configuration and you are not required to configure it.
1. On the client computer, start Internet Explorer, type the fully qualified domain name
(FQDN) address in Internet Explorer, and then click Go. For example, type
https://mail.contoso.com/rpc
Note:
Substitute the FQDN of your RPC proxy server for mail.contoso.com.
2. Enter your credentials at the first prompt, click OK on the second and third prompts.
Note:
You will receive a prompt to enter your credentials three times. After the first
prompt, you do not have to enter your credentials again.
After you click OK on the second and third prompts, you receive the following error
message:
You are not authorized to view this page. You do not have permission to view
this directory or page due to the access control list (ACL) that is configured for
this resource on the Web server.
HTTP Error 401.3 - Unauthorized: Access is denied due to an ACL set on the
requested resource.
This error message is the expected behavior. This error message indicates that the
RPC Virtual Directory on the server is correctly configured.
Option 2: You can test RPC, IIS functionality by browsing directly to the DLL file that
is being hosted in the RPC Virtual Directory through your browser.
a. On the client computer, start Internet Explorer, type the following FQDN address
in Internet Explorer, and then click Go:
https://mail.contoso.com/rpc/rpcproxy.dll
Note:
Substitute the FQDN of your RPC proxy server for mail.contoso.com.
b. When prompted for your credentials, type your user name by using the Universal
Naming Convention (UNC) format (domain\username), type your password, and
then click OK.
You will see a blank page in your browser and there will be a lock icon in the
Status Bar of your browser. This indicates that you have successfully established
179
a secured (SSL) connection with the server. Again, this is the expected behavior
and indicates that the RPC Virtual Directory is configured correctly on the server.
Note:
If you receive a message that states that the certificate was issued by a
company that you have not chosen to trust, your client computer is not
configured to trust the root certification authority that issued the
certificate. This behavior typically occurs when you do not configure the
RPC proxy server to use a third-party certificate. For more information
about how to trust a root certification authority, view the article in the
Microsoft Knowledge Base 297681, This security certificate was issued
by a company that you have not chosen to trust.
For information about verifying that the RPC Proxy Server Extension is loading properly,
see How to Verify Client Computer Configuration.
For more information about troubleshooting RPC over HTTP communications, see the
following topics:
How to Verify That RPC Proxy Server Has Basic Authentication Configured
If your clients are repeatedly prompted for their credentials, verify that the RPC proxy server
is configured to use basic authentication. Follow steps below.
180
Note:
It is recommended that you use Basic authentication over Windows Integrated
Authentication (NTLM) because of two reasons. First, RPC over HTTP currently
supports only NTLM – it doesn’t support Kerberos. Second, if there is an HTTP Proxy
or a firewall between the RPC over HTTP client and the RPC Proxy, which inserts the
via pragma in the HTTP header, NTLM authentication will not work. For more
information see, RPC over HTTP Deployment Recommendations.
Procedure
To verify that RPC proxy virtual server is configured to use basic authentication
1. Start the Internet Information Services (IIS) Manager.
2. Expand computername (local computer), expand Web Sites, expand the Web site
where the Rpc application is configured, right-click Rpc, and then click Properties.
3. Click the Directory Security tab, and then click Edit under Authentication and
access control.
5. Click to select the Basic authentication (password is sent in clear text) check
box. You receive the following message:
Note:
In this message, the word "HTTPS (orSSL)" is a misspelling for the words
"HTTPS (or SSL)."
Click Yes.
For information about deploying RPC over HTTP in different Exchange Server 2003
scenarios, see Deployment Scenarios for RPC over HTTP.
For more information on troubleshooting RPC over HTTP communications, see the
following topics:
If Outlook clients experience connection problems after you configure all the required settings
for RPC over HTTP on the server side, it may be because the RPC Proxy Server Extension
is not loading correctly. When clients experience this kind of connection problem in Outlook,
they receive an error message that is similar to the following:
To verify that the RPC Proxy Server Extension is loading correctly, follow the steps below.
Procedure
To verify that the RPC Proxy Server Extension is Loading Properly
1. On the Exchange Server, click Start, point to Administrative Tools, and then click
Internet Information Services (IIS) Manager on your RPC proxy server.
2. Under the icon for your RPC proxy server, click Web Service Extensions.
3. In the right pane, click RPC Proxy Server Extension, and then click Properties.
4. Confirm that the path of the Rpcproxy.dll file is correct. The correct location is the
182
following:
%systemroot%\system32\rpcproxy\rpcproxy.dll
c:\windows\system32\rpcproxy\rpcproxy.dll
Examine the path entry carefully because it could be incorrectly set to the following:
%systemroot%\system32\rpcproxy.dll
c:\windows\system32\rpcproxy.dll
This incorrect path can appear to be correct at a quick glance.
Note:
The Rpcproxy.dll file could be present in both locations; you do not have to
delete or modify that file in either of those locations. If you find that this path
entry is correctly set, then the Rpcproxy.dll file may be missing or corrupted.
If this is the case, the Rpcproxy.dll file may have to be replaced or re-
registered.
Additionally, if you experience this issue, the following 404 error is logged in the IIS
log on your RPC proxy server:
For more information on troubleshooting RPC over HTTP communications, see the
following topics:
How to Verify That RPC Proxy Server Has Basic Authentication Configured
Procedure
Client Computer Configuration Checklist
Make sure that the client computer is running Microsoft® Office Outlook 2003. To
verify your version of Outlook, start Outlook, and then click About Microsoft
Outlook on the Help menu. For detailed steps, see a video that shows you how to
verify that Outlook 2003 is running on a Windows XP client. The video is in Windows
Media Player format. If you have trouble viewing the video, see the Windows Media
Player support page.
Make sure that the client computer is running Microsoft Windows® XP together with
the latest service pack. The latest service pack for Windows XP at the time of this
writing is Windows XP Service Pack 1 (SP1). For detailed steps, see a video that
shows you how to verify that the Windows XP client is running Service Pack 1 or
later. The video is in Windows Media Player format. If you have trouble viewing the
video, see the Windows Media Player support page.
Make sure that the client computer has the update from Microsoft Knowledge Base
article 331320 installed if you are running Windows XP SP1. For more information,
see Microsoft Knowledge Base article 331320, Outlook 2003 performs slowly or
stops responding when connected to Exchange Server 2003 through HTTP.
This fix updates the Rpcrt4.dll file in Windows XP. You must be running Rpcrt4.dll
version 5.1.2600.1142 or later. For detailed steps, see a video that shows you how to
verify that Windows XP Service Pack 1 has hotfix 331320 installed. The video is in
Windows Media Player format. If you have trouble viewing the video, see the
Windows Media Player support page.
Verify that the Outlook 2003 client profile is configured properly to use RPC over
HTTP. For detailed steps, see How to Create an Outlook Profile for Users to Use with
RPC over HTTP.
184
Check the RPC over HTTP connection status on an Outlook 2003 client. For detailed
steps, see How to Check RPC over HTTP Connection Status on Outlook 2003 Client.
Make sure that on the client computer, you are able to connect to Exchange Server
2003 by specifying login credentials in user principal name (UPN) format. If unable to
connect using the UPN format, the client computer should install the hotfix that is
described in the following Microsoft Knowledge Base article, 830355: You cannot use
Outlook 2003 over the Internet by using your user principal name (UPN).
Verify that when configuring an Outlook 2003 client profile using the Email Accounts
wizard, the Exchange over the Internet area appears on the Connection tab of the
Microsoft Exchange Server dialog box. For detailed steps on enabling the
Exchange over the Internet area in Outlook 2003 Email Accounts wizard, see How
to Enable 'Exchange over the Internet' in Outlook 2003 E-mail Accounts Wizard.
Verify that the RPC Proxy Server Extension is loading correctly. If Outlook clients
experience connection problems after you configure all the required settings for RPC
over HTTP on the server side, it may be because the RPC Proxy Server Extension is
not loading correctly. For information on verifying that RPC Proxy Server Extension is
loading correctly, see How to Verify That RPC Proxy Server Extension Is Loading
Properly.
For more information about troubleshooting RPC over HTTP communications, see the
following topics:
How to Verify That RPC Proxy Server Has Basic Authentication Configured
Microsoft Knowledge Base Article 826486, You cannot use RPC over HTTP with a proxy
automatic configuration script
185
When configuring an Outlook 2003 client profile using the E-mail Accounts wizard, if the
Exchange over the Internet area does not appear on the Connection tab of the Microsoft
Exchange Server dialog box, make sure that your client computer meets the requirements to
configure RPC over HTTP. If you installed the service pack and the update package that are
required, and the Exchange over the Internet area still does not appear on the Connection
tab, edit the Windows registry. To edit the Windows registry, follow the steps below.
Procedure
To Edit Windows Registry
1. Start Registry Editor.
HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\RPC
Value data: 1
How to Verify That RPC Proxy Server Has Basic Authentication Configured
Procedure
To view active server connections on Outlook 2003 client
1. On the client computer, move the mouse pointer over the Microsoft Office Outlook
icon in the notification area that is located at the lower right of the desktop.
Note:
187
All active connections appear. You can use the Exchange Server
Connection Status window to determine if you are connected to the
Exchange Server 2003 computer by using an RPC over HTTP connection.
2. Type your credentials in the User name box and in the Password box, and then click
OK.
3. If HTTPS appears in the Conn column in the Exchange Server Connection Status
window, a service is connected by using RPC over HTTP.
Note:
The Exchange Server Connection Status window may appear directly
behind the Outlook program window.
How to Verify That RPC Proxy Server Has Basic Authentication Configured
Verify that the ports are set correctly on the Exchange Server 2003 computer.
Configure a Windows Server 2003 global catalog server to use specific ports for RPC
over HTTP when Exchange is deployed in a single-server environment.
188
Procedure
To verify that the ports are set correctly on the Exchange 2003 computer
1. On Exchange Server 2003, run the RPCDump tool (RPCDump.exe) to view the
Exchange 2003 port information.
Note:
The RPCDump tool.exe is included in the Windows Server 2003 Resource
Kit tools.
2. Use the RPCDump tool to verify all the following items for the ncacn_http protocol:
Verify that the Directory service proxy server is listening on port 6004.
Verify that the Directory Service Referral service is listening on port 6002.
3. If the Exchange back-end server is also a global catalog server, verify that the global
catalog port is set correctly. See procedure below for instructions.
Important:
This step is only required if you configure RPC over HTTP in a single-server
environment or if the Exchange back-end server is also a global catalog
server.
To configure a global catalog server to use specific ports for RPC over HTTP when
Exchange is deployed in a single-server environment
1. Start Registry Editor.
Caution:
Incorrectly editing the registry can cause serious problems that may require
you to reinstall your operating system. Problems resulting from editing the
registry incorrectly may not be able to be resolved. Before editing the registry,
back up any valuable data.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NTDS\Parameters
3. On the Edit menu, point to New, and then click Multi-String Value.
6. In the Value data box, type ncacn_http:6004, and then click OK.
For detailed information on RPC and HTTP protocols, see RPC over HTTP Protocol
Specifics.
For information about deploying RPC over HTTP in different Exchange Server 2003
scenarios, see Deployment Scenarios for RPC over HTTP.
For more information about troubleshooting RPC over HTTP communications, see the
following topics:
How to Verify That RPC Proxy Server Has Basic Authentication Configured
Copyright
The information contained in this document represents the current view of Microsoft
Corporation on the issues discussed as of the date of publication. Because Microsoft must
respond to changing market conditions, it should not be interpreted to be a commitment on
the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information
presented after the date of publication.
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
190
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.
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.
Microsoft, MS-DOS, Windows, Windows Server, Windows Vista, Active Directory, ActiveSync,
ActiveX, Entourage, Excel, FrontPage, Hotmail, JScript, Microsoft Press, MSDN, MSN,
Outlook, SharePoint, Visual Basic, Visual C++, Visual Studio, Win32, Windows Mobile,
Windows NT, and Windows Server System are either registered trademarks or trademarks of
Microsoft Corporation in the United States and/or other countries.