PRB: Access Denied Error Returned on Call to CreateStoreEntryID

Last reviewed: March 3, 1998
Article ID: Q181941
The information in this article applies to:
  • Exchange Development Kit (EDK), versions 4.0, 5.0

SYMPTOMS

Calling the function IExchangeManageStore::CreateStoreEntryID can cause an "Access Denied" error to occur.

CAUSE

This can be caused by incorrectly identifying the container to connect to.

RESOLUTION

One of the parameters of the CreateStoreEntryID is the Distinguished Name (DN) for the information store. The DN should include the full path to the information store.

For example, the path might look like the following (as one continuous line):

   /o=ORG/ou=SITE/cn=Configuration/cn=Servers/cn=ThisServer
   /cn=Microsoft Private MDB

NOTE: The path must include the "/cn=Microsoft Private MDB" in order for the call to complete successfully.

STATUS

This behavior is by design.

Keywords          : EDKAPI
Version           : WINDOWS:4.0,5.0
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: March 3, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.