none
Failed to resolve the source for SMS PKGID=PS10009F, hr=0x80070002 RRS feed

  • Question

  • I cannot seem to find out why my OSD keeps failing. I keep getting the 0x80070002 failure, and the log seems to point the the fact that it cannot find the package for the MDT Toolkit package. What's strange is that it uses the same toolkit package just fine throughout the whole osd, up until close to the end. I'm not sure how much or how little of the log to attach, but here's a snippet of the SMSTS.log file:

    Downloaded file from http://sccm1.domain.com:80/SMS_DP_SMSPKG$/PS10009F/sccm?/Scripts/DeployWiz_SelectTS.xml to C:\_SMSTaskSequence\Packages\PS10009F\Scripts/DeployWiz_SelectTS.xml 	InstallSoftware	4/1/2014 10:14:38 AM	2340 (0x0924)
    WinHttpSendRequest (hRequest, pszAdditionalHeader != NULL ? pszAdditionalHeader : WINHTTP_NO_ADDITIONAL_HEADERS, (DWORD)-1, NULL, 0, 0, NULL), HRESULT=80072ee2 (e:\nts_sccm_release\sms\framework\tscore\downloadcontent.cpp,1193)	InstallSoftware	4/1/2014 10:14:59 AM	2340 (0x0924)
    WinHttpSendRequest failed.	InstallSoftware	4/1/2014 10:14:59 AM	2340 (0x0924)
    SendWinHttpRequest failed. 80072ee2.	InstallSoftware	4/1/2014 10:14:59 AM	2340 (0x0924)
    SendWinHttpRequest (hSession, hConnect, hRequest, pszSourcePath, sWinHttpRangeHeader.c_str(), bUseSSL, ullContentLength, LastGoodCredentialsType), HRESULT=80072ee2 (e:\nts_sccm_release\sms\framework\tscore\downloadcontent.cpp,1406)	InstallSoftware	4/1/2014 10:14:59 AM	2340 (0x0924)
    DownloadFileWithRanges() failed. 80072ee2.	InstallSoftware	4/1/2014 10:14:59 AM	2340 (0x0924)
    DownloadFileWithRanges (hSession, hConnect, sRequest, hFile, pszDestination, ullFileSize, ulPackageSize, ulDownLoaded, LastGoodCredentialsType, bUseSSL), HRESULT=80072ee2 (e:\nts_sccm_release\sms\framework\tscore\downloadcontent.cpp,1496)	InstallSoftware	4/1/2014 10:14:59 AM	2340 (0x0924)
    DownloadFile() failed for http://sccm1.domain.com:80/SMS_DP_SMSPKG$/PS10009F/sccm?/Scripts/DeployWiz_TimeZone.png, C:\_SMSTaskSequence\Packages\PS10009F\Scripts/DeployWiz_TimeZone.png. 80072ee2.	InstallSoftware	4/1/2014 10:14:59 AM	2340 (0x0924)
    DownloadFile (hSession, hConnect, sSourceFile.c_str(), sDestinationFile.c_str(), ulPackageSize, ulDownLoaded, LastGoodCredentialsType, bUseSSL), HRESULT=80072ee2 (e:\nts_sccm_release\sms\framework\tscore\downloadcontent.cpp,1572)	InstallSoftware	4/1/2014 10:14:59 AM	2340 (0x0924)
    Error downloading file from http://sccm1.domain.com:80/SMS_DP_SMSPKG$/PS10009F/sccm?/Scripts/DeployWiz_TimeZone.png to C:\_SMSTaskSequence\Packages\PS10009F\Scripts/DeployWiz_TimeZone.png 	InstallSoftware	4/1/2014 10:14:59 AM	2340 (0x0924)
    DownloadFiles() failed. 80072ee2.	InstallSoftware	4/1/2014 10:14:59 AM	2340 (0x0924)
    DownloadFiles (setDirs, setFiles, sDestination.c_str(), bUseSSL), HRESULT=80072ee2 (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,2529)	InstallSoftware	4/1/2014 10:14:59 AM	2340 (0x0924)
    Download() failed. 80072ee2.	InstallSoftware	4/1/2014 10:14:59 AM	2340 (0x0924)
    DownloadContentAndVerifyHash() failed. 80070002.	InstallSoftware	4/1/2014 10:14:59 AM	2340 (0x0924)
    DownloadContentAndVerifyHash ( pszPackageID, L"SMSPackage", saHttpContentSources, saSMBContentSources, saMulticastContentSources, sDestination, dwFlags, L"", 0, dwPackageFlags, mapNetworkAccess ), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,3052)	InstallSoftware	4/1/2014 10:14:59 AM	2340 (0x0924)
    DownloadContentLocally (pszSource, sSourceDirectory, dwFlags, hUserToken, mapNetworkAccess), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,3273)	InstallSoftware	4/1/2014 10:14:59 AM	2340 (0x0924)
    TS::Utility::ResolveSource (pszPkgID, sPath, 0, hUserToken, mapNetworkAccess), HRESULT=80070002 (e:\nts_sccm_release\sms\client\osdeployment\installsoftware\runcommandline.cpp,399)	InstallSoftware	4/1/2014 10:14:59 AM	2340 (0x0924)
    Failed to resolve the source for SMS PKGID=PS10009F, hr=0x80070002	InstallSoftware	4/1/2014 10:14:59 AM	2340 (0x0924)
    cmd.Execute(pszPkgID, sProgramName, dwCmdLineExitCode), HRESULT=80070002 (e:\nts_sccm_release\sms\client\osdeployment\installsoftware\main.cpp,372)	InstallSoftware	4/1/2014 10:14:59 AM	2340 (0x0924)
    Install Software failed to run command line, hr=0x80070002	InstallSoftware	4/1/2014 10:14:59 AM	2340 (0x0924)
    Process completed with exit code 2147942402	TSManager	4/1/2014 10:14:59 AM	1700 (0x06A4)
    !--------------------------------------------------------------------------------------------!	TSManager	4/1/2014 10:14:59 AM	1700 (0x06A4)
    Failed to run the action: Use Toolkit Package. 
    The system cannot find the file specified. (Error: 80070002; Source: Windows)	TSManager	4/1/2014 10:14:59 AM	1700 (0x06A4)

    Here is another log, same results, It doesn't seem to be failing on one particular script, like I originally thought:

    Downloaded file from http://sccm1.domain.com:80/SMS_DP_SMSPKG$/PS10009F/sccm?/Scripts/DeployWiz_SelectTS.xml to C:\_SMSTaskSequence\Packages\PS10009F\Scripts/DeployWiz_SelectTS.xml 	InstallSoftware	4/1/2014 10:14:38 AM	2340 (0x0924)
    WinHttpSendRequest (hRequest, pszAdditionalHeader != NULL ? pszAdditionalHeader : WINHTTP_NO_ADDITIONAL_HEADERS, (DWORD)-1, NULL, 0, 0, NULL), HRESULT=80072ee2 (e:\nts_sccm_release\sms\framework\tscore\downloadcontent.cpp,1193)	InstallSoftware	4/1/2014 10:14:59 AM	2340 (0x0924)
    WinHttpSendRequest failed.	InstallSoftware	4/1/2014 10:14:59 AM	2340 (0x0924)
    SendWinHttpRequest failed. 80072ee2.	InstallSoftware	4/1/2014 10:14:59 AM	2340 (0x0924)
    SendWinHttpRequest (hSession, hConnect, hRequest, pszSourcePath, sWinHttpRangeHeader.c_str(), bUseSSL, ullContentLength, LastGoodCredentialsType), HRESULT=80072ee2 (e:\nts_sccm_release\sms\framework\tscore\downloadcontent.cpp,1406)	InstallSoftware	4/1/2014 10:14:59 AM	2340 (0x0924)
    DownloadFileWithRanges() failed. 80072ee2.	InstallSoftware	4/1/2014 10:14:59 AM	2340 (0x0924)
    DownloadFileWithRanges (hSession, hConnect, sRequest, hFile, pszDestination, ullFileSize, ulPackageSize, ulDownLoaded, LastGoodCredentialsType, bUseSSL), HRESULT=80072ee2 (e:\nts_sccm_release\sms\framework\tscore\downloadcontent.cpp,1496)	InstallSoftware	4/1/2014 10:14:59 AM	2340 (0x0924)
    DownloadFile() failed for http://sccm1.domain.com:80/SMS_DP_SMSPKG$/PS10009F/sccm?/Scripts/DeployWiz_TimeZone.png, C:\_SMSTaskSequence\Packages\PS10009F\Scripts/DeployWiz_TimeZone.png. 80072ee2.	InstallSoftware	4/1/2014 10:14:59 AM	2340 (0x0924)
    DownloadFile (hSession, hConnect, sSourceFile.c_str(), sDestinationFile.c_str(), ulPackageSize, ulDownLoaded, LastGoodCredentialsType, bUseSSL), HRESULT=80072ee2 (e:\nts_sccm_release\sms\framework\tscore\downloadcontent.cpp,1572)	InstallSoftware	4/1/2014 10:14:59 AM	2340 (0x0924)
    Error downloading file from http://sccm1.domain.com:80/SMS_DP_SMSPKG$/PS10009F/sccm?/Scripts/DeployWiz_TimeZone.png to C:\_SMSTaskSequence\Packages\PS10009F\Scripts/DeployWiz_TimeZone.png 	InstallSoftware	4/1/2014 10:14:59 AM	2340 (0x0924)
    DownloadFiles() failed. 80072ee2.	InstallSoftware	4/1/2014 10:14:59 AM	2340 (0x0924)
    DownloadFiles (setDirs, setFiles, sDestination.c_str(), bUseSSL), HRESULT=80072ee2 (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,2529)	InstallSoftware	4/1/2014 10:14:59 AM	2340 (0x0924)
    Download() failed. 80072ee2.	InstallSoftware	4/1/2014 10:14:59 AM	2340 (0x0924)
    DownloadContentAndVerifyHash() failed. 80070002.	InstallSoftware	4/1/2014 10:14:59 AM	2340 (0x0924)
    DownloadContentAndVerifyHash ( pszPackageID, L"SMSPackage", saHttpContentSources, saSMBContentSources, saMulticastContentSources, sDestination, dwFlags, L"", 0, dwPackageFlags, mapNetworkAccess ), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,3052)	InstallSoftware	4/1/2014 10:14:59 AM	2340 (0x0924)
    DownloadContentLocally (pszSource, sSourceDirectory, dwFlags, hUserToken, mapNetworkAccess), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,3273)	InstallSoftware	4/1/2014 10:14:59 AM	2340 (0x0924)
    TS::Utility::ResolveSource (pszPkgID, sPath, 0, hUserToken, mapNetworkAccess), HRESULT=80070002 (e:\nts_sccm_release\sms\client\osdeployment\installsoftware\runcommandline.cpp,399)	InstallSoftware	4/1/2014 10:14:59 AM	2340 (0x0924)
    Failed to resolve the source for SMS PKGID=PS10009F, hr=0x80070002	InstallSoftware	4/1/2014 10:14:59 AM	2340 (0x0924)
    cmd.Execute(pszPkgID, sProgramName, dwCmdLineExitCode), HRESULT=80070002 (e:\nts_sccm_release\sms\client\osdeployment\installsoftware\main.cpp,372)	InstallSoftware	4/1/2014 10:14:59 AM	2340 (0x0924)
    Install Software failed to run command line, hr=0x80070002	InstallSoftware	4/1/2014 10:14:59 AM	2340 (0x0924)
    Process completed with exit code 2147942402	TSManager	4/1/2014 10:14:59 AM	1700 (0x06A4)
    !--------------------------------------------------------------------------------------------!	TSManager	4/1/2014 10:14:59 AM	1700 (0x06A4)
    Failed to run the action: Use Toolkit Package. 
    The system cannot find the file specified. (Error: 80070002; Source: Windows)	TSManager	4/1/2014 10:14:59 AM	1700 (0x06A4)

    Anyone have any idea what's going on?

    Tuesday, April 1, 2014 4:09 PM

Answers

  • RTM, SP1 or R2?  If pre-R2, have you tried setting TS variables for SMSTSDownloadRetryCount and SMSTSDownloadRetryDelay? (see here for more info: http://social.technet.microsoft.com/Forums/en-US/54458340-e50d-4144-af0d-33c768861e97/osd-ts-fails-during-package-download-sendwinhttprequest-failed-80072ee2?forum=configmanagerosd)
    Tuesday, April 1, 2014 6:02 PM

All replies

  • I can browse to:  http://sccm1.domain.com:80/SMS_DP_SMSPKG$/PS10009F and get a dir listing using the network access account, and it displays just fine.
    Tuesday, April 1, 2014 4:20 PM
  • RTM, SP1 or R2?  If pre-R2, have you tried setting TS variables for SMSTSDownloadRetryCount and SMSTSDownloadRetryDelay? (see here for more info: http://social.technet.microsoft.com/Forums/en-US/54458340-e50d-4144-af0d-33c768861e97/osd-ts-fails-during-package-download-sendwinhttprequest-failed-80072ee2?forum=configmanagerosd)
    Tuesday, April 1, 2014 6:02 PM
  • RTM, SP1 or R2?  If pre-R2, have you tried setting TS variables for SMSTSDownloadRetryCount and SMSTSDownloadRetryDelay? (see here for more info: http://social.technet.microsoft.com/Forums/en-US/54458340-e50d-4144-af0d-33c768861e97/osd-ts-fails-during-package-download-sendwinhttprequest-failed-80072ee2?forum=configmanagerosd)

    I'm on R2, and I just installed CU1 this weekend. I had not seen that thread, I never thought to search with those terms for the HTTPrequest failing. This problem was also happening on an SSD. However, it seems as though that was fixed in R2? I'll add the variables, and see if that solves the issue.

    Edit: I noticed others posting are on R2 as well, so I guess it wasn't fixed yet. I just finished a deployment with those variables, and it is now working.

    • Edited by therealjoshuad Tuesday, April 1, 2014 7:21 PM Content Edit
    Tuesday, April 1, 2014 6:14 PM
  • Same here, we went to R2 then CU1 last week, and we started experiencing the 80070002 errors... After adding the two task sequence variables, imaging is so far stable. Shouldnt have to set the retries... I wonder what is failing in the download process/communications that is causing is it to fail in the first place..

    Thursday, May 1, 2014 12:08 AM