.NET Questions and Solutions

As a software engineer, I focus on .NET, especially asp.net, C#, WCF and so on, and I am also very interested in Search Engine Optimization.

Entries for August, 2011

A data transfer process does not automatically resume after you re-enable the disk drive

Symptoms
A data transferprocess does not automatically resume after you re-enable the disk drive. You experience this problem when the following conditions are true: You disable the disk drive during the data transfer process.Your computer is running one of the operating systems that are listed in the “Applies to” section.Note This problem also occurs when you use a removable storage device such as a floppy disk.
Resolution
This problem occurs because the Background Intelligent Transfer Service (BITS) performs the following functions:BITS changes the state of the data transfer to theERROR state.BITS generates a BG_E_VOLUME_CHANGED error return value.Then, when you re-enable the disk drive and BITS resumes the data transfer job, BITS changes the state of the data transfer from the ERROR state to the TRANSIENT_ERROR state. BITS also generates the BG_E_DESTINATION_LOCKED error return value again. The data transfer remains in the same state and does not automatically resume.
MORE INFORMATION
The BG_E_DESTINATION_LOCKED error return value translates to the following:The destination file system volume, specified in the local file name, is locked.
BITS is a Windows component that performs the following functions:BITS asynchronously transfers files in the foreground or the background.BITS preserves the responsiveness of other network programs.BITS automatically resumes file transfers after the network disconnects and the computer restarts.

A 0xC0AA0007 error is returned when an application uses IMAPI v2 to burn some data to a recordable disc on a computer that is running Windows Vista or Windows Server 2008

Symptoms
Assume that an application uses Image Mastering API version 2.0 (IMAPI v2) to burn some data onto a recordable DVD or CD on a computer that is running Windows Vista or Windows Server 2008. However, a 0xC0AA0007 error is returned.
This problem typically occurs with backup applications that use IMAPI v2. For example, this problem occurs when you try to create a system repair disc by using the Backup and Restore tool in the operating system. The job fails and you receive the following error message:

Fail to create system repair disc. (0xC0AA0007)
Resolution
In certain scenarios, the time that a device takes to close a session on a disc exceeds the time-out value in IMAPI. This behavior causes the image verification to fail. This hotfix increases the time-out value.