Saturday, January 19, 2013

SCCM 2012 - App stuck at downloading 0%

I was testing SCCM 2012 Application Management in the lab and there was an issue in the beginning where any app I tried were hanging at 0% downloading. I tried packages and Applications both.

It looked like it was content downloading issue.. It’s true. It was not able to find any DPs in the network.

The hierarchy is with a CAS and two primaries under it. For the primaries DP and MP are remote servers.

The CAS.log showed the below errors.  



And the Locationservices.log showed as below.  



In the software center I saw this error code.

The software change returned error code 0x87D00607 (-2016410105)

It’s definitely because of client can’t find the content. But the content was available in the DP, but it can’t find the DP. I went back and forth with all the settings and permissions. All looked perfect. Reinstalled roles and IIS and breaking my head for couple of days with no success.

Then suddenly when I was going through the boundary groups properties I just saw that, In references tab under Content Location all the site servers are listed.



I added that, not knowing this would cause any issue. I overlooked it although it was clearly mentioned that only DP and SMP must be added.

So I removed all other site systems except the DP, then software deployment started working fine.


12 comments:

  1. Thanks a lot.. That worked perfect for me...

    ReplyDelete
  2. thx....here the same :)

    ReplyDelete
  3. Go to IIS on server.
    Select Server and open ISAPI and CGI Restrictions
    If there is not an entry for SMS_DP add it with this path "C:\Windows\system3\inetsrv\smsfileisapi.dll

    ReplyDelete
  4. Thanks for informing about App stuck at downloading. We are providing also updates with download software full version blogspot

    ReplyDelete
  5. software center stuck in downloading 0% complete (SCCM Server 2012 R2).

    It would be Great..!! If anyone help me to fix the subjected issue. please find the separated error codes below.

    DataTransferServiceLog:

    Successfully sent location services HTTP failure message. DataTransferService 5/11/2017 12:13:57 PM 3800 (0x0ED8)
    Error sending DAV request. HTTP code 500, status 'Internal Server Error' DataTransferService 5/11/2017 12:13:57 PM 3800 (0x0ED8)
    GetDirectoryList_HTTP('http://SCCM2012-SERVER.ITTESTER.local:80/SMS_DP_SMSPKG$/Content_735015e4-defe-42cf-9481-0fb1acd3a4bd.1') failed with code 0x87d0027e. DataTransferService 5/11/2017 12:13:57 PM 3800 (0x0ED8)
    Error retrieving manifest (0x87d0027e). Will attempt retry 1 in 30 seconds. DataTransferService 5/11/2017 12:13:57 PM 3800 (0x0ED8)
    Successfully sent location services HTTP failure message. DataTransferService 5/11/2017 12:13:57 PM 7976 (0x1F28)
    Error sending DAV request. HTTP code 500, status 'Internal Server Error' DataTransferService 5/11/2017 12:13:57 PM 7976 (0x1F28)
    GetDirectoryList_HTTP('http://SCCM2012-SERVER.ITTESTER.local:80/SMS_DP_SMSPKG$/Content_4eaf1884-a4fa-40ca-9643-549ffd421ff0.1') failed with code 0x87d0027e. DataTransferService 5/11/2017 12:13:57 PM 7976 (0x1F28)
    Error retrieving manifest (0x87d0027e). Will attempt retry 1 in 30 seconds. DataTransferService 5/11/2017 12:13:57 PM 7976 (0x1F28)
    Successfully sent location services HTTP failure message. DataTransferService 5/11/2017 12:13:57 PM 784 (0x0310)
    Error sending DAV request. HTTP code 500, status 'Internal Server Error' DataTransferService 5/11/2017 12:13:57 PM 784 (0x0310)

    ReplyDelete
  6. LocationServiceLog:

    Calling back with empty distribution points list LocationServices 5/11/2017 2:19:00 PM 3552 (0x0DE0)
    Calling back with empty distribution points list LocationServices 5/11/2017 2:19:00 PM 3580 (0x0DFC)
    1 assigned MP errors in the last 10 minutes, threshold is 5. LocationServices 5/11/2017 2:55:06 PM 7892 (0x1ED4)
    2 assigned MP errors in the last 10 minutes, threshold is 5. LocationServices 5/11/2017 2:55:36 PM 5996 (0x176C)
    Calling back with empty distribution points list LocationServices 5/11/2017 3:19:00 PM 8116 (0x1FB4)
    Calling back with empty distribution points list LocationServices 5/11/2017 3:19:00 PM 3920 (0x0F50)
    Calling back with empty distribution points list LocationServices 5/11/2017 3:19:00 PM 6152 (0x1808)
    1 assigned MP errors in the last 10 minutes, threshold is 5. LocationServices 5/11/2017 3:19:00 PM 7552 (0x1D80)
    1 assigned MP errors in the last 10 minutes, threshold is 5. LocationServices 5/11/2017 3:19:30 PM 7552 (0x1D80)
    1 assigned MP errors in the last 10 minutes, threshold is 5. LocationServices 5/11/2017 3:55:06 PM 3824 (0x0EF0)
    2 assigned MP errors in the last 10 minutes, threshold is 5. LocationServices 5/11/2017 3:55:36 PM 3824 (0x0EF0)
    Calling back with empty distribution points list LocationServices 5/11/2017 4:19:00 PM 4668 (0x123C)
    Calling back with empty distribution points list LocationServices 5/11/2017 4:19:00 PM 7448 (0x1D18)
    1 assigned MP errors in the last 10 minutes, threshold is 5. LocationServices 5/11/2017 4:19:00 PM 2460 (0x099C)
    Calling back with empty distribution points list LocationServices 5/11/2017 4:19:00 PM 6256 (0x1870)
    1 assigned MP errors in the last 10 minutes, threshold is 5. LocationServices 5/11/2017 4:19:30 PM 7448 (0x1D18)
    1 assigned MP errors in the last 10 minutes, threshold is 5. LocationServices 5/11/2017 4:55:06 PM 4608 (0x1200)
    2 assigned MP errors in the last 10 minutes, threshold is 5. LocationServices 5/11/2017 4:55:36 PM 7176 (0x1C08)

    ReplyDelete
  7. smstsLog:


    Failed to restore logs from cache. Execution history may be lost. TSManager 4/27/2017 9:38:13 AM 1956 (0x07A4)
    Failed to locate the local data path. The files needed to resume the task sequence are missing. This could be because the task sequence finished while in Windows PE. Please check the largest available partition for SMSTSLog\smsts.log file for more information.
    The system cannot find the file specified. (Error: 80070002; Source: Windows) TSManager 4/27/2017 9:38:13 AM 1956 (0x07A4)
    Task Sequence Manager could not initialize Task Sequence Environment. code 80070002 TSManager 4/27/2017 9:38:13 AM 1956 (0x07A4)
    Task sequence execution failed with error code 80070002 TSManager 4/27/2017 9:38:13 AM 1956 (0x07A4)
    CreateProcess failed. Code(0x80070002) TSManager 4/27/2017 9:38:13 AM 1956 (0x07A4)
    Command line execution failed (80070002) TSManager 4/27/2017 9:38:13 AM 1956 (0x07A4)
    Error setting HKEY_LOCAL_MACHINE\Software\Microsoft\SMS\Task Sequence\Program. code 80070002 TSManager 4/27/2017 9:38:13 AM 1956 (0x07A4)
    Error - could not get package and program IDs. code 80070002 TSManager 4/27/2017 9:38:13 AM 1956 (0x07A4)
    Failed to delete registry value HKLM\Software\Microsoft\SMS\Task Sequence\Package. Error code 0x80070002 TSManager 4/27/2017 9:38:13 AM 1956 (0x07A4)
    RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram TSManager 4/27/2017 9:38:13 AM 1956 (0x07A4)
    GetTsRegValue() is unsuccessful. 0x80070002. TSManager 4/27/2017 9:38:13 AM 1956 (0x07A4)
    Error executing Task Sequence Manager service. Code 0x80070002 TSManager 4/27/2017 9:38:13 AM 1956 (0x07A4)
    MP name must be set in an environment variable TSManager 4/27/2017 9:38:13 AM 1956 (0x07A4)
    Non fatal error 0x80004005 in sending task sequence execution status message to MP TSManager 4/27/2017 9:38:13 AM 1956 (0x07A4)
    Failed to restore logs from cache. Execution history may be lost. TSManager 4/27/2017 11:33:30 AM 1496 (0x05D8)
    Failed to locate the local data path. The files needed to resume the task sequence are missing. This could be because the task sequence finished while in Windows PE. Please check the largest available partition for SMSTSLog\smsts.log file for more information.
    The system cannot find the file specified. (Error: 80070002; Source: Windows) TSManager 4/27/2017 11:33:30 AM 1496 (0x05D8)
    Task Sequence Manager could not initialize Task Sequence Environment. code 80070002 TSManager 4/27/2017 11:33:30 AM 1496 (0x05D8)
    Task sequence execution failed with error code 80070002 TSManager 4/27/2017 11:33:30 AM 1496 (0x05D8)
    CreateProcess failed. Code(0x80070002) TSManager 4/27/2017 11:33:30 AM 1496 (0x05D8)
    Command line execution failed (80070002) TSManager 4/27/2017 11:33:30 AM 1496 (0x05D8)
    Error setting HKEY_LOCAL_MACHINE\Software\Microsoft\SMS\Task Sequence\Program. code 80070002 TSManager 4/27/2017 11:33:30 AM 1496 (0x05D8)
    Error - could not get package and program IDs. code 80070002 TSManager 4/27/2017 11:33:30 AM 1496 (0x05D8)
    Failed to delete registry value HKLM\Software\Microsoft\SMS\Task Sequence\Package. Error code 0x80070002 TSManager 4/27/2017 11:33:30 AM 1496 (0x05D8)
    RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram TSManager

    ReplyDelete
  8. StatusAgentLog:

    Registration failed with error 0x80041010 StatusAgent 5/11/2017 12:13:55 PM 4508 (0x119C)
    Failed to add event forwarder for CCM_EVENTFORWARDER_CONFIGURATION.INSTANCEID="SMSBRANCHDP.INSTANCE0",NAME="SMSEVENTLOGFORWARDER" StatusAgent 5/11/2017 12:13:55 PM 4508 (0x119C)
    Successfully sent location services on HTTP failure switching to success message for MP 'SCCM2012-SERVER.ITTESTER.local'. StatusAgent 5/11/2017 12:14:09 PM 2592 (0x0A20)
    Registration failed with error 0x80041010 StatusAgent 5/11/2017 12:18:34 PM 6912 (0x1B00)
    Failed to add event forwarder for CCM_EVENTFORWARDER_CONFIGURATION.INSTANCEID="SMSBRANCHDP.INSTANCE0",NAME="SMSEVENTLOGFORWARDER" StatusAgent 5/11/2017 12:18:34 PM 6912 (0x1B00)
    Successfully sent location services on HTTP failure switching to success message for MP 'SCCM2012-SERVER.ITTESTER.local'. StatusAgent 5/11/2017 12:19:00 PM 8088 (0x1F98)
    Successfully sent location services on HTTP failure switching to success message for MP 'SCCM2012-SERVER.ITTESTER.local'. StatusAgent 5/11/2017 12:26:48 PM 8188 (0x1FFC)
    Successfully sent location services on HTTP failure switching to success message for MP 'SCCM2012-SERVER.ITTESTER.local'. StatusAgent 5/11/2017 2:58:01 PM 7968 (0x1F20)
    Successfully sent location services on HTTP failure switching to success message for MP 'SCCM2012-SERVER.ITTESTER.local'. StatusAgent 5/11/2017 3:19:00 PM 3712 (0x0E80)
    Successfully sent location services on HTTP failure switching to success message for MP 'SCCM2012-SERVER.ITTESTER.local'. StatusAgent 5/11/2017 3:34:01 PM 7984 (0x1F30)
    Successfully sent location services on HTTP failure switching to success message for MP 'SCCM2012-SERVER.ITTESTER.local'. StatusAgent 5/11/2017 3:58:01 PM 4368 (0x1110)
    Successfully sent location services on HTTP failure switching to success message for MP 'SCCM2012-SERVER.ITTESTER.local'. StatusAgent 5/11/2017 4:19:01 PM 4464 (0x1170)
    Successfully sent location services on HTTP failure switching to success message for MP 'SCCM2012-SERVER.ITTESTER.local'. StatusAgent 5/11/2017 4:34:02 PM 7840 (0x1EA0)
    Successfully sent location services on HTTP failure switching to success message for MP 'SCCM2012-SERVER.ITTESTER.local'. StatusAgent 5/11/2017 4:58:01 PM 6324 (0x18B4)
    Successfully raised 1 event(s) StatusAgent 5/11/2017 4:58:01 PM 4608 (0x1200)

    ReplyDelete
  9. CCMEvalLog:

    Result: Not Applicable, ResultCode: 0, ResultType: 0, ResultDetail: CcmEval 5/11/2017 12:26:48 PM 4444 (0x115C)
    Result: Not Applicable, ResultCode: 0, ResultType: 0, ResultDetail: CcmEval 5/11/2017 12:26:48 PM 4444 (0x115C)
    Result: Not Applicable, ResultCode: 0, ResultType: 0, ResultDetail: CcmEval 5/11/2017 12:26:48 PM 4444 (0x115C)
    Result: Not Applicable, ResultCode: 0, ResultType: 0, ResultDetail: CcmEval 5/11/2017 12:26:48 PM 4444 (0x115C)
    Failed to get SOFTWARE\Policies\Microsoft\Microsoft Antimalware\Real-Time Protection\DisableIntrusionPreventionSystem CcmEval 5/11/2017 12:26:48 PM 4444 (0x115C)
    Result: Not Applicable, ResultCode: 0, ResultType: 0, ResultDetail: CcmEval 5/11/2017 12:26:48 PM 4444 (0x115C)
    Result: Not Applicable, ResultCode: 0, ResultType: 0, ResultDetail: CcmEval 5/11/2017 12:26:48 PM 4444 (0x115C)
    Result: Not Applicable, ResultCode: 0, ResultType: 0, ResultDetail: CcmEval 5/11/2017 12:26:48 PM 4444 (0x115C)
    Result: Not Applicable, ResultCode: 0, ResultType: 0, ResultDetail: CcmEval 5/11/2017 12:26:48 PM 4444 (0x115C)
    Result: Not Applicable, ResultCode: 0, ResultType: 0, ResultDetail: CcmEval 5/11/2017 12:26:48 PM 4444 (0x115C)
    Result: Not Applicable, ResultCode: 0, ResultType: 0, ResultDetail: CcmEval 5/11/2017 12:26:48 PM 4444 (0x115C)
    Result: Not Applicable, ResultCode: 0, ResultType: 0, ResultDetail: CcmEval 5/11/2017 12:26:48 PM 4444 (0x115C)

    ReplyDelete
  10. CCmExecLog:

    Could not load logging configuration for component CcmProfiler. Using default values. CcmExec 5/11/2017 12:13:53 PM 8008 (0x1F48)
    Could not load logging configuration for component CcmProfiler. Using default values. CcmExec 5/11/2017 12:13:57 PM 3908 (0x0F44)
    Could not load logging configuration for component CcmTask. Using default values. CcmExec 5/11/2017 12:13:57 PM 3908 (0x0F44)
    Could not load logging configuration for component CcmProfiler. Using default values. CcmExec 5/11/2017 12:18:28 PM 2356 (0x0934)
    Could not load logging configuration for component CcmProfiler. Using default values. CcmExec 5/11/2017 12:18:43 PM 7428 (0x1D04)
    Could not load logging configuration for component CcmTask. Using default values. CcmExec 5/11/2017 12:18:43 PM 7428 (0x1D04)

    ReplyDelete
  11. ContentTransferManagerLog:

    CCTMJob::UpdateLocations - Received empty location update for CTM Job {FD4CBB2C-155C-4FAE-8375-680F47387CB7} ContentTransferManager 5/11/2017 12:14:09 PM 6632 (0x19E8)
    CCTMJob::UpdateLocations - Received empty location update for CTM Job {1C4B4DFB-E922-4089-A2C5-61CEEFDC428D} ContentTransferManager 5/11/2017 12:14:09 PM 2948 (0x0B84)
    CCTMJob::UpdateLocations - Received empty location update for CTM Job {81F1C8E2-D256-4AB7-ACF7-D421A2BA4A94} ContentTransferManager 5/11/2017 12:14:09 PM 8008 (0x1F48)
    CCTMJob::UpdateLocations - Received empty location update for CTM Job {FD4CBB2C-155C-4FAE-8375-680F47387CB7} ContentTransferManager 5/11/2017 12:19:02 PM 2356 (0x0934)
    CCTMJob::UpdateLocations - Received empty location update for CTM Job {1C4B4DFB-E922-4089-A2C5-61CEEFDC428D} ContentTransferManager 5/11/2017 12:19:02 PM 8068 (0x1F84)
    CCTMJob::UpdateLocations - Received empty location update for CTM Job {81F1C8E2-D256-4AB7-ACF7-D421A2BA4A94} ContentTransferManager 5/11/2017 12:19:03 PM 7424 (0x1D00)
    CCTMJob::UpdateLocations - Received empty location update for CTM Job {FD4CBB2C-155C-4FAE-8375-680F47387CB7} ContentTransferManager 5/11/2017 1:19:00 PM 6840 (0x1AB8)
    CCTMJob::UpdateLocations - Received empty location update for CTM Job {1C4B4DFB-E922-4089-A2C5-61CEEFDC428D} ContentTransferManager 5/11/2017 1:19:00 PM 3780 (0x0EC4)
    CCTMJob::UpdateLocations - Received empty location update for CTM Job {81F1C8E2-D256-4AB7-ACF7-D421A2BA4A94} ContentTransferManager 5/11/2017 1:19:00 PM 7812 (0x1E84)
    CCTMJob::UpdateLocations - Received empty location update for CTM Job {FD4CBB2C-155C-4FAE-8375-680F47387CB7} ContentTransferManager 5/11/2017 2:19:00 PM 6996 (0x1B54)
    CCTMJob::UpdateLocations - Received empty location update for CTM Job {1C4B4DFB-E922-4089-A2C5-61CEEFDC428D} ContentTransferManager 5/11/2017 2:19:00 PM 3552 (0x0DE0)
    CCTMJob::UpdateLocations - Received empty location update for CTM Job {81F1C8E2-D256-4AB7-ACF7-D421A2BA4A94} ContentTransferManager 5/11/2017 2:19:00 PM 3580 (0x0DFC)
    CCTMJob::UpdateLocations - Received empty location update for CTM Job {FD4CBB2C-155C-4FAE-8375-680F47387CB7} ContentTransferManager 5/11/2017 3:19:00 PM 8116 (0x1FB4)
    CCTMJob::UpdateLocations - Received empty location update for CTM Job {1C4B4DFB-E922-4089-A2C5-61CEEFDC428D} ContentTransferManager 5/11/2017 3:19:00 PM 3920 (0x0F50)
    CCTMJob::UpdateLocations - Received empty location update for CTM Job {81F1C8E2-D256-4AB7-ACF7-D421A2BA4A94} ContentTransferManager 5/11/2017 3:19:00 PM 6152 (0x1808)
    CCTMJob::UpdateLocations - Received empty location update for CTM Job {FD4CBB2C-155C-4FAE-8375-680F47387CB7} ContentTransferManager 5/11/2017 4:19:00 PM 4668 (0x123C)
    CCTMJob::UpdateLocations - Received empty location update for CTM Job {1C4B4DFB-E922-4089-A2C5-61CEEFDC428D} ContentTransferManager 5/11/2017 4:19:00 PM 7448 (0x1D18)
    CCTMJob::UpdateLocations - Received empty location update for CTM Job {81F1C8E2-D256-4AB7-ACF7-D421A2BA4A94} ContentTransferManager 5/11/2017 4:19:00 PM 6256 (0x1870)


    ReplyDelete
  12. Thanks, this cleared some things up!

    ReplyDelete