Background Intelligent Transfer Services - error 0x80190191
Hi, I use BITS to upload files to my server. I queue jobs at regular intervals. The authentication type on the BITS server is set as NTLM I do the following in my code(C++ app) 1. Create upload job 2. Add file to the job 3. Set Credentials on the job 4. Set command line notification on the job (to invoke my application on completion/error) 5. Resume the job. Intermittently my upload jobs fails with the error code 0x80190191. The description says. 401. Resource required authentication. I have verified that the job has the valid credentials. At times just another 'Resume' on the job successfully uploads the file. On the server when i looked at the iis logs, i find entries like the following FAILED ENTRIEs 2011-02-06 08:29:39 W3SVC15 <serverip> BITS_POST upload-2011-02-01_11-21-26-819.txt - 443 - <clientip> HTTP/1.1 Microsoft+BITS/6.6 - <hostname> 401 1 3221225581 1534 621 296 2011-02-06 08:29:49 W3SVC15 <serverip> BITS_POST upload-2011-01-27_22-55-25-514.txt - 443 - <clientip> HTTP/1.1 Microsoft+BITS/7.5 - <hostname> 401 2 5 1541 236 15 2011-02-06 08:29:49 W3SVC15 <serverip> BITS_POST upload-2011-01-27_22-55-25-514.txt - 443 - <clientip> HTTP/1.1 Microsoft+BITS/7.5 - <hostname> 401 1 3221226036 1541 962 15 2011-02-06 08:29:49 W3SVC15 <serverip> BITS_POST upload-2011-01-27_22-55-25-514.txt - 443 - <clientip> HTTP/1.1 Microsoft+BITS/7.5 - <hostname> 401 1 3221226036 1541 962 31 SUCCESSENTRIES 2011-02-06 08:07:31 W3SVC15 <serverip> BITS_POST upload-2011-01-27_22-09-58-889.rrf - 443 MyMachine\uploaduser <clientip> HTTP/1.1 Microsoft+BITS/7.5 - <hostname> 200 0 0 197 236 31 2011-02-06 08:07:31 W3SVC15 <serverip> BITS_POST upload-2011-01-27_22-24-29-067.rrf - 443 MyMachine\uploaduser <clientip> HTTP/1.1 Microsoft+BITS/7.5 - <hostname> 200 0 0 197 236 15 2011-02-06 08:07:31 W3SVC15 <serverip> BITS_POST upload-2011-02-04_01-15-58-103.rrf - 443 MyMachine\uploaduser <clientip> HTTP/1.1 Microsoft+BITS/7.5 - <hostname> 200 0 0 197 236 15 Also i notice a pattern that after for 30 minutes the upload requests are successful and then for the next 30 minutes, all request fail with 401 error. Agian for 30 minutes they go through fine and again for 30 minutes uploads fail. All this without changing any configuration / modifying the queued job. Why would this happen.? Could someone throw some light on this. Thx Geetha.
February 9th, 2011 4:00pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics