PRB: IIS 4.0 Automatic Password Synchronization and CDO

Last reviewed: February 27, 1998
Article ID: Q181739
The information in this article applies to:
  • Collaboration Data Objects (CDO), versions 1.1, 1.2

SYMPTOMS

An error occurs when any or all of the following conditions are true:

  • Using Active Server Pages to access an Exchange Server.
  • Using Internet Information Server version 4.0.
  • You are attempting to use an Anonymous Exchange mailbox.
  • Internet Information Server (IIS) is set to "Allow Anonymous Access".
  • Anonymous Access is set to "Enable Automatic Password Synchronization".

The error that occurs is one of the following error messages:

   Collaboration Data Objects error '000004f9'
   The information store could not be opened.
   [MAPI 1.0 - [MAPI_E_LOGON_FAILED(80040111)]]

   -or-

   401.1 Unauthorized: Logon Failed


CAUSE

This happens when you are attempting to access an Exchange mailbox that has been set up to allow Anonymous access to Exchange. This is most frequently done to allow users to send mail from a Web application using Microsoft Exchange where you do not need to or are unable to authenticate the user with Windows NT Challenge\Response Authentication (also referred to as NTLM) or Basic Authentication.

Internet Information Server (IIS) version 4.0 has an additional feature that allows for password synchronization between IIS 4.0 and the computer user accounts. Password synchronization should only be used with anonymous user accounts defined on the local computer, not with anonymous accounts remote computers. This feature will not work to authenticate an anonymous user to a remote Exchange server.

RESOLUTION

You must turn "Automatic Password Synchronization" off. To accomplish this task follow these steps:

  1. Right-click the virtual server in question.

  2. Select Properties.

  3. Select Directory Security.

  4. Select "Allow Anonymous Access" to enable the "Edit" control.

  5. Select "Edit".

  6. Clear the "Enable Automatic Password Synchronization" option.

  7. Choose OK twice and click Apply to save the settings.

Keywords          : cdo
Version           : WINDOWS:1.1,1.2
Platform          : WINDOWS
Issue type        : kbprb


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 27, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.