The following is the list of errors returned by the BITS Client responsible for downloads on Windows.

 

Error NameWin32 Error CodeDescription
BG_S_PARTIAL_COMPLETE0x00200017A subset of the job’s files transferred successfully before the IBackgroundCopyJob::Complete method was called. Those that were not complete were deleted.
BG_S_UNABLE_TO_DELETE_FILES0x0020001AUnable to delete all temporary files associated with the job.
BG_S_OVERRIDDEN_BY_POLICY0x00200055The configuration preference has been saved successfully, but the preference will not be used because a configured Group Policy setting overrides the preference.
BG_E_NOT_FOUND0x80200001The requested job was not found.
BG_E_INVALID_STATE0x80200002The requested action is not allowed in the current job state.
BG_E_EMPTY0x80200003The job must contain one or more files before you can resume the job.
BG_E_FILE_NOT_AVAILABLE0x80200004File information is not available because the error is not associated with a local or remote file.
BG_E_PROTOCOL_NOT_AVAILABLE0x80200005Protocol information is not available because the error is not associated with the specified transfer protocol.
BG_E_DESTINATION_LOCKED0x8020000DThe destination file system volume, specified in the local file name, is locked
BG_E_VOLUME_CHANGED0x8020000EThe destination volume, specified in the local file name, has changed. For example, the original floppy disk has been replaced with a different floppy disk.
BG_E_ERROR_INFORMATION_UNAVAILABLE0x8020000FError information is only available when the state of the job is BG_JOB_STATE_ERROR. The error information is not available after BITS begins transferring the job’s data or the client exits.
BG_E_NETWORK_DISCONNECTED0x80200010The network adapter is inactive or disconnected. All jobs are placed in the BG_JOB_STATE_TRANSIENT_ERROR state.
BG_E_MISSING_FILE_SIZE0x80200011The server did not return the file size. BITS only transfers static content and requires the HTTP server to return the Content-Length header. The transfer request fails if the URL points to dynamic content.
BG_E_INSUFFICIENT_HTTP_SUPPORT0x80200012The server does not support the HTTP/1.1 protocol
BG_E_INSUFFICIENT_RANGE_SUPPORT0x80200013The server does not support the Content-Range header. Typically, you receive this error when you try to download dynamic content. You can also receive this error if an intermediate proxy is removing the Content-Range or Content-Length header.
BG_E_REMOTE_NOT_SUPPORTED0x80200014Remote use of BITS is not supported.
BG_E_NEW_OWNER_DIFF_MAPPING0x80200015The network drive mapping for the local file is different for the current owner than for the previous owner.
BG_E_NEW_OWNER_NO_FILE_ACCESS0x80200016The new owner has insufficient permissions to the temporary job files.
BG_E_PROXY_LIST_TOO_LARGE0x80200018The HTTP proxy list is too long. The list must not exceed 32 KB.
BG_E_PROXY_BYPASS_LIST_TOO_LARGE0x80200019The HTTP proxy bypass list is too long. The list must not exceed 32 KB.
BG_E_TOO_MANY_FILES0x8020001CYou cannot add more than one file to an upload job.
BG_E_LOCAL_FILE_CHANGED0x8020001DThe contents of the local file changed after the transfer process began. The contents of the local file cannot change after the transfer process begins on an upload or upload-reply job.
BG_E_TOO_LARGE0x80200020The size of the upload file exceeds the maximum allowed upload size specified on the server.
BG_E_STRING_TOO_LONG0x80200021The specified string is too long.
BG_E_CLIENT_SERVER_PROTOCOL_MISMATCH0x80200022The client and server were unable to negotiate a protocol to use for the upload job.
BG_E_SERVER_EXECUTE_ENABLED0x80200023Scripting or execute permissions are enabled on the IIS virtual directory associated with the job. To upload files to the virtual directory, disable the scripting and execute permissions on the virtual directory.
BG_E_USERNAME_TOO_LARGE0x80200025The user name cannot exceed 300 characters.
BG_E_PASSWORD_TOO_LARGE0x80200026The password cannot exceed 65535 characters.
BG_E_INVALID_AUTH_TARGET0x80200027The specified authentication target is not valid.
BG_E_INVALID_AUTH_SCHEME0x80200028The specified authentication scheme is not valid.
BG_E_INVALID_RANGE0x8020002BThe specified byte range is invalid. The byte range must exist within the specified remote file.
BG_E_OVERLAPPING_RANGES0x8020002CThe list of byte ranges contains overlapping or duplicate ranges, which are not supported.
BG_E_BLOCKED_BY_POLICY0x8020003EGroup Policy MaxInternetBandwidth settings prevent background jobs from running at this time.
BG_E_INVALID_PROXY_INFO0x8020003FRun-time error that indicates the proxy list or proxy bypass list specified is invalid.
BG_E_INVALID_CREDENTIALS0x80200040The format of the supplied security credentials is not valid.
BG_E_RECORD_DELETED0x80200042The cache record has been deleted. The attempt to update it has been abandoned.
BG_E_UPNP_ERROR0x80200045A Universal Plug and Play (UPnP) error has occurred. Please check your Internet Gateway Device.
BG_E_PEERCACHING_DISABLED0x80200047Peer-caching is disabled.
BG_E_BUSYCACHERECORD0x80200048The cache record is in use and cannot be changed or deleted. Try again after a few seconds.
BG_E_TOO_MANY_JOBS_PER_USER0x80200049The job count for the user has exceeded the per user job limit set by the MaxJobsPerUser Group Policy setting.
BG_E_TOO_MANY_JOBS_PER_MACHINE0x80200050The job count for the computer has exceeded the per computer job limit set by the MaxJobsPerMachine Group Policy setting.
BG_E_TOO_MANY_FILES_IN_JOB0x80200051The file count for the job has exceeded the per job file limit set by the MaxFilesPerJob Group Policy setting.
BG_E_TOO_MANY_RANGES_IN_FILE0x80200052The range count for the file has exceeded the per file range limit set by the MaxRangesPerFile Group Policy setting.
BG_E_VALIDATION_FAILED0x80200053The application requested data from a website, but the response was not valid.
BG_E_MAXDOWNLOAD_TIMEOUT0x80200054BITS timed out downloading the job. The download did not complete within the maximum download time set on the job or the MaxDownloadTime Group Policy setting.
BG_E_HTTP_ERROR_4000x80190190The server could not process the transfer request because the syntax of the remote file name is invalid.
BG_E_HTTP_ERROR_4010x80190191The user does not have permission to access the remote file. The requested resource requires user authentication.
BG_E_HTTP_ERROR_4040x80190194The requested URL does not exist on the server.
In IIS 7, this error can indicate
– That BITS uploads are not enabled on the virtual directory (vdir) on the server.
-That the upload size exceeds the maximum upload limit, BITSMaximumUploadSize IIS extension property.
BG_E_HTTP_ERROR_4070x80190197The user does not have permission to access the proxy. The proxy requires user authentication.
BG_E_HTTP_ERROR_4140x8019019EThe server cannot process the transfer request. The Uniform Resource Identifier (URI) in the remote file name is longer than the server can interpret.
BG_E_HTTP_ERROR_4150x8019019FThe server’s response was not valid. The server was not following the defined protocol. Resume the job, and then Background Intelligent Transfer Service (BITS) will try again.
BG_E_HTTP_ERROR_4170x801901A1The server could not meet the expectation given in an Expect request-header field.
BG_E_HTTP_ERROR_4490x801901C1The server’s response was not valid. The server was not following the defined protocol. Resume the job, and then Background Intelligent Transfer Service (BITS) will try again.
BG_E_HTTP_ERROR_5000x801901F4The server encountered an unexpected condition that prevented it from fulfilling the request.
BG_E_HTTP_ERROR_5010x801901F5The server does not support the functionality required to fulfill the request. In IIS 6, this error indicates that BITS uploads are not enabled on the virtual directory (vdir) on the server.
BG_E_HTTP_ERROR_5030x801901F7The service is temporarily overloaded and cannot process the request. Resume the job at a later time.
BG_E_HTTP_ERROR_5040x801901F8The transfer request timed out while waiting for a gateway. Resume the job at a later time.
BG_E_HTTP_ERROR_5050x801901F9The server does not support the HTTP protocol version specified in the remote file name.