PRB: HrBackupClose in an Online Backup Becomes Unresponsive

Last reviewed: March 11, 1998
Article ID: Q182237
The information in this article applies to:
  • Exchange Development Kit (EDK), version 5.0

SYMPTOMS

When you perform an online backup of a local Exchange Server, HrBackupRead preceded by HrBackupClose causes the program to become unresponsive.

RESOLUTION

Perform the online backup from a remote computer.

STATUS

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

MORE INFORMATION

Steps to Reproduce Behavior

The Backtest.c sample (part of the Exchange Software Development Kit [SDK]) demonstrates the problem if we change the EcBackupFile function to quit the backup routine before a full store as shown in the example below:

   EcBackupFile(HBC hbcBackupContext,SZ szFile,HANDLE hBackupFile)
   {
     ...
     //  Read the next chunk from the database.
     hrStatus = HrBackupRead(hbcBackupContext,pvBuffer,cbToRead,&cbRead);
     // Close file - call becomes unresponsive if performed locally.
     HrBackupClose(hbcBackupContext);
     //HrBackupEnd(hbcBackupContext);
     if (hrStatus == ERROR_SUCCESS)
     {
       liBytesRead.QuadPart += cbRead;
     }
      ...
   }

Keywords          : EDKAPI EMAPI XGEN
Version           : WINDOWS: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 11, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.