WIM file gets pulled from primary site instead of secondary
Hi Guys,
I am deploying windows 7 via SCCM OSD, everything seems to be working fine, however i noticed that my WIM file download was taking longer than expected, so i investigated the log files, and i see that it attempts twice to download from my secondary (local)
site, fails both times with an http 405 error, and then attempts to get it from the primary site, which succeeds. I have looked up this 405 error and people talk about adding a line in the applicationHost.config to allow for the PROPFIND, but my SCCM
servers are all win 2008 R2, and as i understand it R2 doesn't require these changes (i had a look in the above file on my server and the line you're supposed to enter appears to be already there anyway).
i just noticed there's an http 207 error at the bottom as well.. is 207 ever an error? or some kind of success..?
Here's the logs, hope you can help!
DownloadOnDemand flag is true. Attempting to download content locally for Package CEN00041..
Package Flags: 0x4000000
GetDirectoryListing() entered
Initializing HTTP transport.
Setting URL = http://nsapwiin001.corp.bayadv/SMS_DP_SMSPKGD$/CEN00041/.
Address = nsapwiin001.corp.bayadv, Object = /SMS_DP_SMSPKGD$/CEN00041/, Port = 80.
WinHttp credentials set
CLibSMSMessageWinHttpTransport::Send: URL: nsapwiin001.corp.bayadv:80 PROPFIND /SMS_DP_SMSPKGD$/CEN00041/
Error. Status code 405 returned
dwHttpResultCode>=200 && dwHttpResultCode<=299, HRESULT=80004005 (e:\nts_sms_fre\sms\framework\tscore\downloadcontent.cpp,590)
Http result: 405
SendResourceRequest() failed with 0x80004005
SendResourceRequest(), HRESULT=80004005 (e:\nts_sms_fre\sms\framework\tscore\downloadcontent.cpp,371)
oDavRequest.GetDirectoryListing(setDirs, setFiles), HRESULT=80004005 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,2421)
Retrying download...
GetDirectoryListing() entered
Initializing HTTP transport.
Setting URL = http://nsapwiin001.corp.bayadv/SMS_DP_SMSPKGD$/CEN00041/.
Address = nsapwiin001.corp.bayadv, Object = /SMS_DP_SMSPKGD$/CEN00041/, Port = 80.
WinHttp credentials set
CLibSMSMessageWinHttpTransport::Send: URL: nsapwiin001.corp.bayadv:80 PROPFIND /SMS_DP_SMSPKGD$/CEN00041/
Error. Status code 405 returned
dwHttpResultCode>=200 && dwHttpResultCode<=299, HRESULT=80004005 (e:\nts_sms_fre\sms\framework\tscore\downloadcontent.cpp,590)
Http result: 405
SendResourceRequest() failed with 0x80004005
SendResourceRequest(), HRESULT=80004005 (e:\nts_sms_fre\sms\framework\tscore\downloadcontent.cpp,371)
oDavRequest.GetDirectoryListing(setDirs, setFiles), HRESULT=80004005 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,2421)
Retrying download...
GetDirectoryListing() entered
Initializing HTTP transport.
Setting URL = http://asdpwiin013.corp.bayadv/SMS_DP_SMSPKGD$/CEN00041/.
Address = asdpwiin013.corp.bayadv, Object = /SMS_DP_SMSPKGD$/CEN00041/, Port = 80.
WinHttp credentials set
CLibSMSMessageWinHttpTransport::Send: URL: asdpwiin013.corp.bayadv:80 PROPFIND /SMS_DP_SMSPKGD$/CEN00041/
Error. Status code 207 returned
List of files to be downloaded
Directory: http://asdpwiin013.corp.bayadv:80/SMS_DP_SMSPKGD%24/CEN00041/
File: http://asdpwiin013.corp.bayadv:80/SMS_DP_SMSPKGD%24/CEN00041/Veda2.wim
GetDirectoryListing() successfully completed
January 25th, 2011 2:12am
did you verify that
webdav was working correctly on your windows 2008 R2 servers ? any MP errors on the server ?
My step by step
SCCM Guides
I'm on Twitter > ncbrady
Free Windows Admin Tool Kit Click here and download it now
January 25th, 2011 2:59am
Hello - Also, you can check out the below technet article
How to Configure Windows Server 2008 for Site Systems
http://technet.microsoft.com/en-us/library/cc431377.aspxAnoop C Nair
January 25th, 2011 3:07am
yep you're completely correct, i had actually completed the webdav configuration after my first attempt of a build off the new site server, somehow it hadn't occurred to me to try again.. when i did it worked perfectly.
Free Windows Admin Tool Kit Click here and download it now
January 26th, 2011 5:56pm