Config Mgr download from DP error "Hash does not match expected"

Ambiente: SCCM 2007 Sp2 R2 installato su Windows 2008 R2 - Site System roles abilitati Distribution Point (DP) con BITS abilitato, Management Point (MP)

Nel distribuire qualche software (non tutti) con un advertisement programmato per il download in cache locale del client, può capitare che sul Client Agent SCCM si veda comparire un errore di integrità nel download del pacchetto. Il Cliente lamenta altresì che questo errore scompare se si lancia il programma dal DP (non download in cache locale) o se si utilizza uno Standard DP (non BITS enabled).

L'errore lo troviamo nel file CAS.log (path %systemvolume%\admin$\ccm\logs) con la seguente indicazione:

<![LOG[Download location found 1 - \\xxx\xx\xx]LOG]!><time="09:12:50.254+-120" date="10-06-2010" component="ContentAccess" context="" type="1" thread="3420" file="downloadcontentrequest.cpp:977">
<![LOG[Download request only, ignoring location update]LOG]!><time="09:12:50.254+-120" date="10-06-2010" component="ContentAccess" context="" type="1" thread="3420" file="downloadcontentrequest.cpp:983">
<![LOG[Download completed for content BOC0002A.5 under context System]LOG]!><time="09:17:24.186+-120" date="10-06-2010" component="ContentAccess" context="" type="1" thread="168" file="contentaccessservice.cpp:1680">
<![LOG[Hash does not match expected 32780:1:DC37732825538F989CFA9FF59DA5149FD76C41212EEC162AA4B4346424465EDC, actual BD257B85B1E973EE5F22C50168A1AE12F71CF27030EEAA8DE32C25E006672737]LOG]!><time="09:17:28.139+-120" date="10-06-2010" component="ContentAccess" context="" type="3" thread="168" file="contentaccessservice.cpp:1881">

L'errore in questo specifico caso è rimandato ad una configurazione mancante del Cliente su IIS 7.5 di Windows 2008 R2 e specificatamente sul WEBDAV Settings - Webdav Behaviour "Allow hidden files to be listed da impostare a True". Questo perchè in un DP con BITS abilitato (Allow clients to transfer content from this distribution point using BITS, HTTP, and HTTPS, nelle impostazioni del DP) è il BITS / IIS a "comandare il download"; i pacchetti con errore di integrità erano (guarda caso) quelli contenenti file nascosti (Office 2007 e altri Software customizzati dal cliente).

Rimandiamo alla corretta configurazione di IIS Windows 2008 per un Site System ConfigMgr:

http://technet.microsoft.com/en-us/library/cc431377.aspx#Config_WebDAV

Altre fonti di questo errore possono essere le seguenti:

http://aditan.wordpress.com/2009/11/16/sccm-2007-clients-may-report-a-hash-mismatch-when-we-run-a-package-that-has-been-configured-to-download-and-run/

Buona Giornata!

Simone.