Microsoft KB Archive/926085

= Error message when you use Outlook Web Access in Exchange 2000 Server: &quot;The remote procedure call failed&quot; or &quot;The handle is invalid&quot; =

Article ID: 926085

Article Last Modified on 10/28/2006

-

APPLIES TO


 * Microsoft Exchange 2000 Enterprise Server
 * Microsoft Exchange 2000 Server Standard Edition

-



Important This article contains information about editing the metabase. Before you edit the metabase, verify that you have a backup copy that you can restore if a problem occurs. For information about how to do this, see the &quot;Configuration Backup/Restore&quot; Help topic in Microsoft Management Console (MMC).



SYMPTOMS
When you use Outlook Web Access in Microsoft Exchange 2000 Server, you receive an error message in the browser.

When the browser's Show friendly error messages option is disabled, the error message that you receive resembles one of the following error messages:

The remote procedure call failed.

The handle is invalid.

Note The Show friendly error messages option is located on the Advanced tab under Internet Options.

Additionally, the following events are logged in the Application log: Event ID: 2050

Event Type: Error

Event Source: MSExchangeDSAccess

Event Category: General

Date: Date

Time: Time

User: N/A

Computer:

Description: Process DLLHOST.EXE /PROCESSID:{3D14228D-FBE1-11D0-995D-00C04FD919C1} (PID=3124). The shared memory heap could not be created.

Event ID: 101

Event Type: Information

Event Source: DAVEX

Event Category: None

Date: Date

Time: Time

User: N/A

Computer:

Description: DAVEX to be shutdown. Version: 6.0.6249.0

Additionally, the following event is logged in the System log: Event ID: 37

Event Type: Warning

Event Source: W3SVC

Event Category: None

Date: Date

Time: Time

User: N/A

Computer:

Description: Out of process application '/LM/W3SVC/1/ROOT' terminated unexpectedly. For additional information specific to this message please visit the Microsoft Online Support site located at: .



CAUSE
This issue occurs when the Davex.dll and Exprox.dll files are not running in the Inetinfo.exe process.



RESOLUTION
To resolve this issue, you must add the Davex.dll and Exprox.dll files to the Inetinfo.exe process, and then restart the default Web site. To do this, follow these steps.

Warning If you edit the metabase incorrectly, you can cause serious problems that may require you to reinstall any product that uses the metabase. Microsoft cannot guarantee that problems that result if you incorrectly edit the metabase can be solved. Edit the metabase at your own risk.

Note Always back up the metabase before you edit it.

Step 1: Back up the metabase
 Start Internet Services Manager. Right-click  , and then click Backup/Restore Configuration. Click Create backup. In the Configuration backup name box, type an appropriate name, click OK, and then click Close. Exit Internet Services Manager.</ol>

Step 2: Add the Davex.dll and Exprox.dll files to the Inetinfo.exe process
<ol style="list-style-type: lower-alpha;"> Start the MetaEdit utility.

For more information about how to obtain the MetaEdit utility, click the following article number to view the article in the Microsoft Knowledge Base:

232068 How to download, install, and remove the IIS MetaEdit 2.2 utility

</li> Expand LM, and then click W3SVC.</li> In the right pane, click the Name column heading. Do this to sort by name.</li> Double-click InProcessIsapiApps.</li> Click Add. A new Data box appears.</li> In the Data box, type the path of the Davex.dll file.

For example, type :\Program Files\Exchsrvr\bin\davex.dll .</li> Repeat steps 2e to 2f for the Exprox.dll file.</li> Click OK, and then exit the MetaEdit utility.</li></ol>

Step 3: Restart the default Web site
<ol style="list-style-type: lower-alpha;"> In Internet Services Manager, expand  .</li> Right-click Default Web Site, and then click Stop.</li> After the default Web site is stopped, right-click Default Web Site, and then click Start.</li></ol>

<div class="workaround_section">

WORKAROUND
To work around this issue, you must configure the Exchange and Public virtual directories to run in the &quot;Low (IIS process)&quot; application protection level. To do this, follow these steps:
 * 1) Start Internet Services Manager.
 * 2) Expand  , and then expand Default Web Site.
 * 3) Right-click Exchange, and then click Properties.
 * 4) On the Virtual Directory tab, view the Application Name box under Application Settings.

If the Application Name box appears to be dimmed, go to step 5.

If the Application Name box is populated with the legend &quot;Exchange,&quot; go to step 6.
 * 1) Click Create. The Application Name box is now populated with the legend Exchange.
 * 2) In the Application Protection box, click Low (IIS process), and then click OK.
 * 3) Right-click public, and then click Properties.
 * 4) On the Virtual Directory tab, view the Application Name box under Application Settings.

If the Application Name box appears to be dimmed, go to step 9.

If the Application Name box is populated with the legend &quot;public,&quot; go to step 10.
 * 1) Click Create. The Application Name box is now populated with the legend &quot;public.&quot;
 * 2) In the Application Protection box, click Low (IIS process), and then click OK.
 * 3) Exit Internet Services Manager.

<div class="moreinformation_section">

MORE INFORMATION
When you install Microsoft Exchange Server, the Davex.dll and Exprox.dll files are added to the InProcessIsapiApps entry in the metabase. This entry is a global entry. The entry forces Davex.dll and Exprox.dll to run together with Inetinfo.exe as InProcess programs.

If the Davex.dll and Exprox.dll files are missing from the InProcessIsapiApps entry, Outlook Web Access functions only when the Exchange and Public virtual directories are also run as InProcess programs.

Note When a program is run as an InProcess program, it is run inside another program. Additionally, the program that is run as an InProcess program does not appear as a separate process in a process monitor such as Windows Task Manager.

Additional query words: XCCC

Keywords: kbtshoot kbprb KB926085

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.