Microsoft KB Archive/327843

= Troubleshooting Outlook Web Access logon failures in Exchange 2000 and in Exchange 2003 =

Article ID: 327843

Article Last Modified on 12/3/2007

-

APPLIES TO


 * Microsoft Exchange Server 2003 Enterprise Edition
 * Microsoft Exchange Server 2003 Standard Edition
 * Microsoft Exchange 2000 Server Standard Edition
 * Microsoft Windows Small Business Server 2003 Premium Edition
 * Microsoft Windows Small Business Server 2003 Standard Edition

-



This article was previously published under Q327843





SYMPTOMS
When you try to log on to your Microsoft Exchange 2000 Server mailbox or your Microsoft Exchange Server 2003 mailbox by using Microsoft Outlook Web Access (OWA), you may experience one or more of the following symptoms:  You receive one of the following error messages:

Error Message 1

You are not authorized to view this page. You do not have permission to view this directory or page using the credentials you supplied.

HTTP 401.1 - Unauthorized: Logon Failed

Error Message 2

Error: Access is denied.

Error Message 3

Page Cannot be Displayed.

 You can log on successfully, but you are prompted for your credentials again. If you do not type your user name in the \  format, or if you click Cancel, you receive the following error message:

Login failed or cancelled.

 You can log on to Outlook Web Access by using some browsers, such as Netscape, but you cannot log on by using other browsers. After you type the correct credentials, the Outlook Web Access page does not load.



CAUSE
These issues typically occur when you use incorrect authentication methods or when users have not been granted the correct permissions.



RESOLUTION
To resolve these issues, make sure that you are using the correct authentication methods and that you have the correct permissions to the Exchange folders. To do this, follow these steps.

Important Because of a change in Microsoft Internet Information Services (IIS) 6.0, if Exchange 2003 is installed on a computer that is running Microsoft Windows Server 2003, you may have to enter your username in the format of \, even if you entered a backslash as the default domain. To work around this issue, you may either enter the network basic input/output system (NetBIOS) name of your domain as the default domain or you can apply the hotfix that is discussed in Microsoft Knowledge Base (KB) article 827991. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

827991 FIX: &quot;HTTP Error 401.1 - Unauthorized: Access is denied due to invalid credentials&quot; error message if the Basic authentication Default Domain property is set to a backward slash character (\) in IIS

Additionally, you must use a backslash as the default domain when Exchange 2003 is installed on a computer that is running Windows Server 2003 and forms-based authentication is enabled on that computer. When you modify the authentication method of Outlook Web Access, you should do so in Exchange System Manager. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

240105 General information on Directory Service/Metabase Synchronization in Exchange 2000 Server

 Modify the authentication methods for the Exchange virtual directory and for the Public virtual directory in Exchange System Manager. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Click Start, point to Programs, point to Microsoft Exchange, and then click System Manager.</li> Expand Servers, expand  , expand Protocols, expand HTTP, and then expand Exchange Virtual Server.</li> Under Exchange Virtual Server, right-click Exchange, and then click Properties.</li> Click the Access tab, and then click Authentication.</li> Click to select the Basic authentication check box if it is not already selected.</li> In the Default domain box, type the network basic input/output system (NetBIOS) name of your domain, or type a backslash if it is not already there.</li> Click OK two times to close the property windows.</li> Right-click the Public virtual directory, and then click Properties.</li> Click the Access tab, and then click Authentication.</li> Click to select the Basic authentication check box if it is not already selected.</li> In the Default domain box, type the NetBIOS name of your domain, or type a backslash if it is not already there.</li> Click OK two times, and then quit Exchange System Manager.</li></ol>

Note The default domain that is specified for basic authentication on the Exchange virtual directory and on the Public virtual directory must match. If the default domains do not match, you will continue to be prompted for credentials after you log on to Outlook Web Access.

For additional information about how to configure authentication methods for Exchange 2000 Outlook Web Access, click the following article number to view the article in the Microsoft Knowledge Base:

290341 Configuring authentication methods in an Exchange 2000 OWA virtual directory

</li> Modify the authentication method for the Exchweb virtual directory in Microsoft Internet Information Services (IIS). To do this, follow these steps.  Microsoft Windows 2000 Server (IIS 5) <ol style="list-style-type: lower-alpha;"> <li>Click Start, point to Programs, point to Administrative Tools, and then click Internet Services Manager.</li> <li>Expand Default Web Site.</li> <li>Right-click Exchweb, and then click Properties.</li> <li>Click the Directory Security tab, and then click Edit under Anonymous access and authentication control.</li> <li>Make sure that the Basic Authentication check box and the Integrated Windows Authentication check box are not checked, and then click to select the Anonymous access check box if it is not already selected.</li> <li>Click OK two times.</li> <li>Right-click Default Web Site, click Stop, and then click Start.</li></ol> </li> <li>Microsoft Windows Server 2003 (IIS 6) <ol style="list-style-type: lower-alpha;"> <li>Click Start, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.</li> <li>Expand Web Sites, and then expand Default Web Site.</li> <li>Right-click Exchweb, and then click Properties.</li> <li>Click the Directory Security tab, and then click Edit under Authentication and access control.</li> <li>Make sure that the Basic Authentication and Integrated Windows Authentication check boxes are not checked, and then click to select the Enable anonymous access check box if it is not already selected.</li> <li>Click OK two times.</li> <li>Right-click Default Web Site, click Stop, and then click Start.</li></ol> </li></ul> </li> <li>Grant the Authenticated Users group a minimum of Read and Execute permissions, Read permissions, and List Folder Contents permissions on the appropriate Exchange and Microsoft Windows directories.</li> <li>To assign the correct permissions, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>In Windows Explorer, locate and right-click the Exchsrvr\Exchweb folder, and then click Properties.</li> <li>Click the Security tab, and then make sure that the Authenticated Users group has the following permissions: <ul> <li>Read and Execute</li> <li>List Folder Contents</li> <li>Read</li></ul> </li> <li>Verify that the system account has the Full Control permission on the Exchweb directory.</li> <li>Repeat step a through step c for the following directories: <ul> <li>Winnt\System32</li> <li>Winnt\System32\Inetsrv</li> <li>Winnt\System32\Wbem</li> <li>Exchsrvr\Bin</li> <li>Exchsrvr\RES

Note You may have to restart the World Wide Web Publishing service for these settings to take effect.</li></ul> </li></ol> </li></ol>

<div class="moreinformation_section">

MORE INFORMATION
If you install or reinstall Microsoft Exchange 2000 Server Service Pack 3, Integrated Windows Authentication is re-enabled on the Outlook Web Access folders.

Reasons to use basic authentication
<ul> <li>When a proxy server exists between the client browser and the Web server, Integrated Windows Authentication between the client browser and the Web server does not function.</li> <li>Integrated Windows Authentication does not support double-hop impersonation.</li> <li>Integrated Windows Authentication may fail if there is a time difference between the client and the server.</li> <li>Web Proxy clients that use secure network address translation (SecureNAT) in Microsoft Internet Security and Acceleration Server may also experience issues when the Web Proxy clients try to authenticate to Outlook Web Access. When the Outlook Web Access client is hosted internally, and the SecureNAT Web Proxy clients are accessing the site either by using the fully qualified domain name (FQDN) or by using the Internet Protocol (IP) address, the Outlook Web Access client sends the request through the Web Proxy to the Internet Security and Acceleration Server computer. The IP address is interpreted as an FQDN because of the periods in the name.

To work around this issue, use one of the following methods: <ul> <li>Access the Web server by using the NetBIOS (single-label) name.</li> <li>Remove Integrated Windows Authentication from the Outlook Web Access site.</li> <li>Add the FQDN, the IP address of the Outlook Web Access server, or both to the Do not use proxy server for addresses beginning with list in the advanced proxy settings of the LAN settings in the Internet Explorer options.</li> <li>Install the Internet Security and Acceleration Server firewall client, and then add the FQDN of the Outlook Web Access site to the local domain table in Internet Security and Acceleration Server.

For additional information about how to configure Internet Security and Acceleration Server to publish an internal Microsoft Exchange Server that is running Microsoft Internet Information Server and Outlook Web Access, click the following article numbers to view the articles in the Microsoft Knowledge Base:

308599 How to configure Internet Security and Acceleration Server to publish an internal Exchange server

290113 How to publish Outlook Web Access behind Internet Security and Acceleration Server

</li></ul> </li></ul>

<div class="moreinformation_section">

For additional information about how to use Microsoft Internet Security and Acceleration Server 2004 to publish a Microsoft Exchange server for Outlook Web Access client access, click the following article number to view the article in the Microsoft Knowledge Base:

837354 How to publish a Microsoft Exchange server for Outlook Web Access in ISA Server 2004

For additional information about logon failures that occur when you use a Netscape browser, click the following article number to view the article in the Microsoft Knowledge Base:

300512 Cannot log on to OWA through Netscape Communicator

For additional information about the Directory Service/Metabase Synchronization process in Exchange 2000 Server, click the following article number to view the article in the Microsoft Knowledge Base:

240105 General information on Directory Service/Metabase Synchronization in Exchange 2000 Server

Cautions about basic authentication
We recommend that you use Secure Sockets Layer (SSL) on Web pages for Outlook Web Access when you use basic authentication.

For additional information about how to install and use SSL with Exchange 2000 Server and Exchange Server 2003, click the following article numbers to view the articles in the Microsoft Knowledge Base:

319574 How to use certificates with virtual servers in Exchange 2000 Server

823024 How to use certificates with virtual servers in Exchange Server 2003

Additional items to consider
<ol> <li>If you cannot log on to a mailbox by using a proprietary program that uses Web Distributed Authoring and Versioning (WebDAV), click the following article number to view the article in the Microsoft Knowledge Base:

839422 When you try to log on to an Exchange 2000 or an Exchange 2003 mailbox by using a WebDAV program, you receive a 401 status code in Internet Explorer

</li> <li>If users receive a 401 (&quot;Access is denied&quot;) error message when they log on implicitly, but they receive a 404 error when they log on explicitly, the user accounts may not be stamped with the appropriate SMTP address. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

293386 HTTP 401 or 404 error messages when you access OWA implicitly or explicitly

</li> <li>If domain users can log on to Outlook Web Access internally, but they receive a 401 error when they try to connect remotely through a proxy server, confirm that the users are assigned the following rights on the proxy server: <ul> <li>Log on locally</li> <li>Access this computer from the network</li></ul> </li> <li>This problem may also occur if you have a topology that contains multiple forests.</li></ol>

Additional query words: XCCC owa isa publish 403 credentials prompt sp3 stop iis ssl

Keywords: kberrmsg kbprb KB327843

-

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

© Microsoft Corporation. All rights reserved.