PRB: Access Denied Error Returned on Call to CreateStoreEntryID

ID: Q181941

The information in this article applies to:

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          : kbAPI kbEDK kbMsg 
Version           : WINDOWS:4.0,5.0
Platform          : WINDOWS
Issue type        : kbprb

Last Reviewed: March 5, 1998