PRB: Access Denied Error Returned on Call to CreateStoreEntryID (181941)



The information in this article applies to:

  • Microsoft Exchange Development Kit (EDK) 4.0
  • Microsoft Exchange Development Kit (EDK) 5.0

This article was previously published under Q181941

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.

Modification Type:MinorLast Reviewed:3/4/2004
Keywords:kbAPI kbMsg kbprb KB181941