Ask a questionAsk a question
 

AnswerSome APP-V packages not downloading

  • Monday, October 05, 2009 9:22 PMR_Early Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I have SCCM R2 installed, and am able to distribute all of my APP-V packages except for one, which will not download into the cache. It hangs at 0% in the download phase, but a few files in the cache show a file size instead of zero bytes. The virtual app has been resequenced several times, and I have also tried updating the DP. I have tried it on several different computers with the same result. The log files do not show any errors, just that the download has started but it does not make any progress.
      
    Last few lines in ContentTransferManager.log:
    CTM job {E6D3EB8D-FD93-4A12-9BEF-E098FB99CB86} (corresponding DTS job {EE6FA3FE-EB64-4D59-93A0-25A57584115B}) started download from 'http://NCMSMS01.CORPORATE.NCM/SMS_DP_SMSPKGD$/NCM00033' ContentTransferManager 10/5/2009 2:46:21 PM 3088 (0x0C10)
    CTM job {E6D3EB8D-FD93-4A12-9BEF-E098FB99CB86} entered phase CCM_DOWNLOADSTATUS_DOWNLOADING_DATA ContentTransferManager 10/5/2009 2:46:22 PM 1212 (0x04BC)
    CTM job {E6D3EB8D-FD93-4A12-9BEF-E098FB99CB86} entered phase CCM_DOWNLOADSTATUS_DOWNLOADING_DATA ContentTransferManager 10/5/2009 2:46:24 PM 1212 (0x04BC)
    CTM job {E6D3EB8D-FD93-4A12-9BEF-E098FB99CB86} entered phase CCM_DOWNLOADSTATUS_DOWNLOADING_DATA ContentTransferManager 10/5/2009 2:46:30 PM 1212 (0x04BC)

    CTM job {E6D3EB8D-FD93-4A12-9BEF-E098FB99CB86} entered phase CCM_DOWNLOADSTATUS_DOWNLOADING_DATA

    Last few lines in DataTransferServices.log:
    Job {EE6FA3FE-EB64-4D59-93A0-25A57584115B} reverted impersonation. DataTransferService 10/5/2009 2:46:24 PM 3248 (0x0CB0)
    DTSJob {EE6FA3FE-EB64-4D59-93A0-25A57584115B} in state 'RetrievedManifest'. DataTransferService 10/5/2009 2:46:30 PM 3248 (0x0CB0)
    DTSJob {EE6FA3FE-EB64-4D59-93A0-25A57584115B} in state 'PendingDownload'. DataTransferService 10/5/2009 2:46:30 PM 3248 (0x0CB0)
    DTSJob {EE6FA3FE-EB64-4D59-93A0-25A57584115B} in state 'DownloadingData'. DataTransferService 10/5/2009 2:47:07 PM 3248 (0x0CB0)

    So as a test, I took the directory where the Virtual Application package was installed and made it a regular SCCM package just to see if it would download into the cache. The result is the same; no progress past 0%.

    Has anyone ever seen this behavior before, or is there something that I am missing?

Answers

  • Monday, October 05, 2009 11:58 PMJohn MarcumMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    ;-) You beat me to my punchline.



    To modify the requestFiltering section on BITS-enabled distribution point computers:

    1. Open the applicationHost.config file located in the %windir%\System32\inetsrv\config\ directory on the BITS-enabled distribution point site system.

    2. Search for the <requestFiltering> section.

    3. Determine the file extensions that you will have in the packages on that distribution point. For each file extension that you require, change allowed to true.

      For example, if your package will contain a file with an .mdb extension, change the line <add fileExtension=".mdb" allowed="false" /> to <add fileExtension=".mdb" allowed="true" />.

      Allow only the file extensions required for your packages.

    4. Save and close the applicationHost.config file.


    John Marcum | http://www.TrueSec.com/en/Training.htm | http://myitforum.com/cs2/blogs/jmarcum

All Replies

  • Monday, October 05, 2009 10:47 PMJohn MarcumMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Is the server running IIS Server 2008?


    John Marcum | http://www.TrueSec.com/en/Training.htm | http://myitforum.com/cs2/blogs/jmarcum
  • Monday, October 05, 2009 11:32 PMBhaskarK - MSFTModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    As John mentioned if you are running IIS on WIndows Server 2008 there are certain file extensions and directories that are inherently blocked by IIS. You should run the bitsadmin tool to see what jobs are running and what is the error associated with those jobs. Please take a look at the following thread for more troubleshooting details:

    http://social.technet.microsoft.com/Forums/en-US/configmgrswdist/thread/d1fb569e-4ffb-4730-9b29-d5bb12e70bd5

    Thanks,

    bhaskar

  • Monday, October 05, 2009 11:58 PMJohn MarcumMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    ;-) You beat me to my punchline.



    To modify the requestFiltering section on BITS-enabled distribution point computers:

    1. Open the applicationHost.config file located in the %windir%\System32\inetsrv\config\ directory on the BITS-enabled distribution point site system.

    2. Search for the <requestFiltering> section.

    3. Determine the file extensions that you will have in the packages on that distribution point. For each file extension that you require, change allowed to true.

      For example, if your package will contain a file with an .mdb extension, change the line <add fileExtension=".mdb" allowed="false" /> to <add fileExtension=".mdb" allowed="true" />.

      Allow only the file extensions required for your packages.

    4. Save and close the applicationHost.config file.


    John Marcum | http://www.TrueSec.com/en/Training.htm | http://myitforum.com/cs2/blogs/jmarcum
  • Tuesday, October 06, 2009 3:31 PMR_Early Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    The SCCM server is running on Server 2008, so this is probably the issue. I will test it this morning and let you know how it goes!

    Thanks! 
  • Tuesday, October 06, 2009 4:26 PMR_Early Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Yep, that's what the problem was. I removed <add segment="bin" /> from the applicationhost.config file and it started downloading.

    Thank you both for your help!!
  • Tuesday, October 06, 2009 8:39 PMR_Early Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    OK, I spoke too soon. I was able to get past a couple of files that were causing issues, but now I can't figure out why this one is blocked:
     
    ERROR FILE:    http://XXXXXX:80/SMS_DP_SMSPKGD$/NCM00034/Java/jre6/lib/zi/Etc/GMT+12 -> C:\WINDOWS\system32\CCM\Cache\ABC00034.2.S-1-5-21-1336516185-864474826-1564958905-17019\Java/jre6/lib/zi/Etc/GMT+12
    ERROR CODE:    0x80190194 - The requested URL does not exist on the server.
    ERROR CONTEXT: 0x00000005 - The error occurred while the remote file was being processed.

    In the applicationhost.config file, there are no restrictions for java, jre6, lib, zi, or etc. I am wondering if it has something to do with the plus in the file name?

    Also, I have Windows set to show protected operating system files and to not hide file extensions, and IIS is configured to allow any unspecified MIME types.

    I'm stumped on this one, any ideas?
  • Tuesday, October 06, 2009 11:26 PMBhaskarK - MSFTModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,

    Can you try running the following bitsadmin command directly to download that particular file and see if this also stalls with the same error?

    bitsadmin /transfer myDownloadJob /download /priority normal "http://[File Url]"/file c:\test

    Thanks,

    Bhaskar
  • Thursday, November 05, 2009 2:36 PMhemi74 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hi!

    Ive Got the same problems and if I did this command I will get an Access is denied error although I should have access to the URL as well as the local path.
     BITSADMIN version 2.0 [ 6.6.2600.2180 ]
    BITS administration utility.
    (C) Copyright 2000-2004 Microsoft Corp.

    Unable to add file - 0x80070005
    Access is denied.

    Thanks for any ideas....

    Thomas