|
|
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
|
|