Knowledge Base

PRB: HrBackupClose in an Online Backup Becomes Unresponsive

PSS ID Number: 182237

Article Last Modified on 11/11/1999


The information in this article applies to:


This article was previously published under Q182237

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: kbAPI kbMsg kbprb KB182237
Technology: kbAudDeveloper kbEDK500 kbEDKsearch kbExchangeSearch