DAPIStart fails within COM object instantiated from ASP (194644)



The information in this article applies to:

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

This article was previously published under Q194644

SYMPTOMS

When DAPIStart runs from within a Component Object Model (COM) object called from an .asp page, it may fail with error code C000000B5 and the message
Access Denied.

CAUSE

The context under which DAPIStart is running does not have rights to the Exchange Server Directory.

RESOLUTION

To resolve this problem, you need to run DAPIStart under the context of a privileged account. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

184291 COM objects fail to print when called from ASP


Modification Type:MajorLast Reviewed:5/2/2005
Keywords:kbprb KB194644