"Unable to add file to job -0x800704dd"

Goto the Miscellaneous Home Page

 
Does anyone know what the BitsAdmin error "Unable to add file to job -0x800704dd" means?

The error has not been seen on Windows XP but randomly on Windows 2000 servers with SP3. I'm logged in as the local administrator using Remote Desktop and the BITS job queue is empty.

* BitsAdmin commands: *

bitsadmin /create http://www.adp.dk/adpny/images/header/adp_logo.gif

BITSADMIN version 1.0 [ 5.1.2600.0 ]
BITS administration utility.
(C) Copyright 2000-2001 Microsoft Corp.

Created job {272EF3C9-967B-44A6-BA86-B5D7456D7168}.

bitsadmin /addfile http://www.adp.dk/adpny/images/header/adp_logo.gif
http://www.adp.dk/adpny/images/header/adp_logo.gif c:\testing.gif

BITSADMIN version 1.0 [ 5.1.2600.0 ]
BITS administration utility.
(C) Copyright 2000-2001 Microsoft Corp.

Unable to add file to job - 0x800704dd

The BITS error that I get in a .net application is "Error Adding File (The operation being requested was not performed because the user has not logged on to the network. The specified service does not exist.)."

Contributed By: Sudheer GN [MSFT]
BITS recognizes only certain types of logons. For most APIs, BITS requires that the user is recognized as logged on (AddFile is one such API).

BITS recognizes the following types of logons as documented in

http://msdn.microsoft.com/library/en-us/bits/bits/users_and_network_connections.asp?frame=true

For BITS to detect that a user is logged on, the user must use one of the following interactive log on options:

  1. Log on through the Welcome screen.
     
  2. Log on to a terminal service client. BITS only supports terminal service log on in Windows XP and Windows Server 2003 family; BITS does not support terminal service log on in Windows 2000.
     
  3. Use fast user switching.

Running an application as another user (using the RunAs command) is not an interactive log on; BITS will not run jobs associated with the specified user.

So, in your case, terminal service (TS) logons are not supported on Windows 2000. Hence the API fails with the error 0x800704dd. On Windows 2000, only console logons are recognized due to logon notification limitations in Windows 2000. Windows Server 2003 doesn’t have this limitation and BITS recognizes TS logons on Windows Server 2003.
 

© FAQShop.com 2003 - 2008

Goto the Miscellaneous Home Page

Email the Author