microsoft.public.windows.backgroundtransfer
[Top] [All Lists]

Disappearance act of BITS job

Subject: Disappearance act of BITS job
From: ""
Date: 31 Mar 2005 15:17:40 -0800
Newsgroups: microsoft.public.windows.backgroundtransfer
Hi,

I am stumped. After a few weeks of tackling with trying to use
SetCredentials() with BITS with no luck, I finally found a good use for
the BITSAdmin tool to help me debug my job's status and such as I step
through my VB .NET code.

Briefly, I created IBackgroundCopyJob2 in my BITSInterop.vb file, and
this interface inherits IBackgroundCopyJob. My only reason to use
IBackgroundCopyJob2 is so that I can implement the SetCredentials()
method.

Here's my dilema: after I created a new job (using IBackgroundCopyJob),
and cast it to IBackgroundCopyJob2, a new job is created and I can see
its "Suspended" status in BITSAdmin. However, after I set my job's
credentials via SetCredentials(), this job just disappear from my queue
(I checked that this does in fact happen in BITSAdmin)!! I am quite
puzzled by this.

Any light you can shed on me is greatly appreciated...

Thanks,
TD


<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy