Microsoft KB Archive/939321

= Error message when you use Outlook 2007 in Windows Vista to try to connect to a computer that is running Exchange Server 2003: &quot;Task reported error 0x8004011D. The server is not available&quot; =

Article ID: 939321

Article Last Modified on 10/25/2007

-

APPLIES TO

 Windows Vista Home Basic Windows Vista Home Premium Windows Vista Ultimate Windows Vista Business Windows Vista Enterprise Windows Vista Home Basic 64-bit Edition Windows Vista Home Premium 64-bit Edition Windows Vista Ultimate 64-bit Edition</li> Windows Vista Business 64-bit Edition</li> Windows Vista Enterprise 64-bit Edition, when used with: <ul> Microsoft Exchange Server 2003 Standard Edition</li></ul>

<ul> Microsoft Exchange Server 2003 Enterprise Edition</li></ul>

<ul> Microsoft Office Outlook 2007</li></ul> </li></ul>

-

<div class="notice_section">

Important This article contains information that shows you how to help lower security settings or how to turn off security features on a computer. You can make these changes to work around a specific problem. Before you make these changes, we recommend that you evaluate the risks that are associated with implementing this workaround in your particular environment. If you implement this workaround, take any appropriate additional steps to help protect the computer.

<div class="symptoms_section">

SYMPTOMS
You use Microsoft Office Outlook 2007 on a computer that is running Windows Vista. When you try to connect to a computer that is running Microsoft Exchange Server 2003, you receive the following error message:

Task reported error 0x8004011D. The server is not available. Contact your administrator if this condition persists.

Task ' @example.com - Sending' reported error (0x80040115) : 'The connection to Microsoft Exchange is unavailable. Outlook must be online or connected to complete this action.'

<div class="cause_section">

CAUSE
This problem occurs if the destination port to which Outlook 2007 connects is TCP port 1723. For example, this problem occurs if the Microsoft Exchange Information Store service is configured to listen on port 1723.

In Windows Vista, client programs may be unable to connect to server services that listen on TCP port 1723. This problem occurs because Windows Vista determines that all outgoing traffic on TCP port 1723 is traffic for a point-to-point tunneling protocol (PPTP) VPN connection. The Windows Firewall service includes a stateful PPTP protocol analyzer which can reject traffic over TCP port 1723 under certain conditions.

<div class="workaround_section">

WORKAROUND
Warning This workaround may make a computer or a network more vulnerable to attack by malicious users or by malicious software such as viruses. We do not recommend this workaround but are providing this information so that you can implement this workaround at your own discretion. Use this workaround at your own risk.

To work around this problem, follow these steps: <ol> Start an elevated command prompt. To do this, click Start, type cmd in the Start Search box, right-click cmd in the Programs list, and then click Run as administrator.

If you are prompted for an administrator password or confirmation, type the password or click Continue.</li> At the command prompt, type the following command, and then press ENTER:

netsh advfirewall set global statefulpptp disable

</li> Exit Outlook 2007 if it is running, and then restart Outlook 2007.

Note If you are still unable to connect to Exchange Server 2003, restart the Windows Vista-based computer, and then start Outlook 2007.</li></ol>

You can also use Group Policy to configure this setting on Windows Vista-based client computers. To do this, follow these steps:
 * 1) On a Windows Vista-based client computer, start an elevated command prompt.
 * 2) At the command prompt, type netsh, and then press ENTER.
 * 3) Type advfirewall, and then press ENTER.
 * 4) Type set store=, and then press ENTER.

This action sets the context to the Group Policy object that you want to modify by using the new firewall settings.
 * 1) Type netsh advfirewall set global statefulpptp disable, and then press ENTER.

This action creates a Registry.pol file in the SYSVOL shared folder on one domain controller. This policy file is then replicated to all other domain controllers during the next replication cycle.

Note For the new policy to be applied, the client computers must be restarted.

Keywords: kbtshoot kbprb kbexpertiseinter KB939321

-

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

© Microsoft Corporation. All rights reserved.