PRB: ERR: "Access Denied" Trying to Use HrBackupPrepare()

Last reviewed: August 14, 1997
Article ID: Q172715
The information in this article applies to:
  • Exchange Development Kit (EDK)
  • Microsoft Exchange Server, versions 4.0, 5.0

SYMPTOMS

The HrBackupPrepare() function returns the error "Access Denied" (error number 5) if the Windows NT account of the caller is a member of the Backup Operators, but has a different ID from the Exchange Service "Log On As" account.

RESOLUTION

The user should back up Exchange remotely. If the Windows NT account has to log on to the same machine where Exchange Server resides (local), the ID should be the same as the Exchange Service.

STATUS

Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

BackTest is an EDK sample that uses HrBackupPrepare(), where the problem can be reproduced.


Additional query words: back test
Keywords : EDKAPI kbprb
Version : WINDOWS; WINDOWS NT:4.0,5.0
Platform : NT WINDOWS
Hardware : x86
Issue type : kbprb
Solution Type : kbworkaround


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: August 14, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.