Hey Guys!
We are using SCCM 2012 SP1 for a while now, everything was ok. But now, I have at least one site (the rest I could not check up to now) where I can not import prestaged content. I use extractcontent.exe and I always get:
<![LOG[]LOG]!><time="16:15:35.675-120" date="08-29-2013" component="PrestageContent" context="" type="1" thread="5048" file="log.cpp:78">
<![LOG[Begin ====> Thu Aug 29 2013 16:15:35]LOG]!><time="16:15:35.745-120" date="08-29-2013" component="PrestageContent" context="" type="1" thread="5048" file="log.cpp:79">
<![LOG[The following parameters were passed on command line: ]LOG]!><time="16:15:35.745-120" date="08-29-2013" component="PrestageContent" context="" type="1" thread="5048" file="extract.cpp:263">
<![LOG[ /P - Full path to a prestaged file or to a folder containing one or more such files: 'D:\SOURCES\VORAB\20130821\OS_Windows_8_Enterprise_ohne_Hyper-V_LPZ0004B.pkgx']LOG]!><time="16:15:35.745-120" date="08-29-2013" component="PrestageContent" context="" type="1" thread="5048" file="extract.cpp:266">
<![LOG[ /F - Force prestaging of content even when it already exists on the site]LOG]!><time="16:15:35.745-120" date="08-29-2013" component="PrestageContent" context="" type="1" thread="5048" file="extract.cpp:285">
<![LOG[Detecting if a distribution point role exists on this machine]LOG]!><time="16:15:35.749-120" date="08-29-2013" component="PrestageContent" context="" type="1" thread="5048" file="archivefile.cpp:999">
<![LOG[Detected a co-located distribution point on this site server. Will register content for the distribution point..]LOG]!><time="16:15:35.749-120" date="08-29-2013" component="PrestageContent" context="" type="1" thread="5048" file="archivefile.cpp:1006">
<![LOG[Client is set to use HTTPS when available. The current state is 224.]LOG]!><time="16:15:35.837-120" date="08-29-2013" component="PrestageContent" context="" type="1" thread="5048" file="ccmutillib.cpp:405">
<![LOG[Set media certificate in transport]LOG]!><time="16:15:36.040-120" date="08-29-2013" component="PrestageContent" context="" type="0" thread="5048" file="libsmsmessaging.cpp:9484">
<![LOG[Set authenticator in transport]LOG]!><time="16:15:36.040-120" date="08-29-2013" component="PrestageContent" context="" type="0" thread="5048" file="libsmsmessaging.cpp:7751">
<![LOG[Default CSP is Microsoft Enhanced RSA and AES Cryptographic Provider]LOG]!><time="16:15:36.073-120" date="08-29-2013" component="PrestageContent" context="" type="0" thread="5048" file="libcrypt.cpp:1904">
<![LOG[Default CSP Type is 24]LOG]!><time="16:15:36.073-120" date="08-29-2013" component="PrestageContent" context="" type="0" thread="5048" file="libcrypt.cpp:1905">
<![LOG[Selected management point = 'http://HV-SCCM-MUC.schulung.ppedv']LOG]!><time="16:15:36.075-120" date="08-29-2013" component="PrestageContent" context="" type="1" thread="5048" file="archivefile.cpp:1300">
<![LOG[Checking content library on local DP]LOG]!><time="16:15:36.075-120" date="08-29-2013" component="PrestageContent" context="" type="1" thread="5048" file="tool.cpp:1277">
<![LOG[Content library: path='D:\SCCMContentLib', usable drives='D:\,C:\']LOG]!><time="16:15:36.075-120" date="08-29-2013" component="PrestageContent" context="" type="1" thread="5048" file="tool.cpp:1324">
<![LOG[============ Content meta data begin ===================]LOG]!><time="16:17:18.524-120" date="08-29-2013" component="PrestageContent" context="" type="1" thread="5048" file="contentmetadata.cpp:446">
<![LOG[File "D:\SOURCES\VORAB\20130821\OS_Windows_8_Enterprise_ohne_Hyper-V_LPZ0004B.pkgx"]LOG]!><time="16:17:18.524-120" date="08-29-2013" component="PrestageContent" context="" type="1" thread="5048" file="contentmetadata.cpp:450">
<![LOG[Content type: "Classic"]LOG]!><time="16:17:18.524-120" date="08-29-2013" component="PrestageContent" context="" type="1" thread="5048" file="contentmetadata.cpp:454">
<![LOG[Content modified: 16/08/2013 12:41:21]LOG]!><time="16:17:18.524-120" date="08-29-2013" component="PrestageContent" context="" type="1" thread="5048" file="contentmetadata.cpp:462">
<![LOG[Disk space required: 2745 MB]LOG]!><time="16:17:18.524-120" date="08-29-2013" component="PrestageContent" context="" type="1" thread="5048" file="contentmetadata.cpp:464">
<![LOG[Packages: ]LOG]!><time="16:17:18.524-120" date="08-29-2013" component="PrestageContent" context="" type="1" thread="5048" file="contentmetadata.cpp:489">
<![LOG[ Package=LPZ0004B.1, SMB=0]LOG]!><time="16:17:18.524-120" date="08-29-2013" component="PrestageContent" context="" type="1" thread="5048" file="contentmetadata.cpp:506">
<![LOG[Content Names:]LOG]!><time="16:17:18.524-120" date="08-29-2013" component="PrestageContent" context="" type="1" thread="5048" file="contentmetadata.cpp:532">
<![LOG[ "Windows 8 Enterprise ohne Hyper-V"]LOG]!><time="16:17:18.524-120" date="08-29-2013" component="PrestageContent" context="" type="1" thread="5048" file="contentmetadata.cpp:536">
<![LOG[============ Content meta data end =====================]LOG]!><time="16:17:18.524-120" date="08-29-2013" component="PrestageContent" context="" type="1" thread="5048" file="contentmetadata.cpp:538">
<![LOG[Content library already contains content LPZ0004B.1]LOG]!><time="16:17:18.644-120" date="08-29-2013" component="PrestageContent" context="" type="2" thread="5048" file="contentmetadata.cpp:276">
<![LOG[Free space on the content library drive is 109294 MB]LOG]!><time="16:17:18.644-120" date="08-29-2013" component="PrestageContent" context="" type="1" thread="5048" file="archivefile.cpp:2477">
<![LOG[The best drive on this remote DP is found to be D: (free space 109294 MB)]LOG]!><time="16:17:18.733-120" date="08-29-2013" component="PrestageContent" context="" type="1" thread="5048" file="archivefile.cpp:2497">
<![LOG[No branch cache registry entries found.]LOG]!><time="16:17:18.736-120" date="08-29-2013" component="PrestageContent" context="" type="1" thread="5048" file="contentbundle.cpp:1485">
<![LOG[Uncompressing D:\SOURCES\VORAB\20130821\OS_Windows_8_Enterprise_ohne_Hyper-V_LPZ0004B.pkgx to D:\SOURCES\VORAB\20130821\OS_Windows_8_Enterprise_ohne_Hyper-V_LPZ0004B.pkgx.temp]LOG]!><time="16:17:18.736-120" date="08-29-2013" component="PrestageContent" context="" type="1" thread="5048" file="contentbundle.cpp:857">
<![LOG[Content Library: D:\SCCMContentLib]LOG]!><time="16:24:05.745-120" date="08-29-2013" component="PrestageContent" context="" type="1" thread="5048" file="contentbundle.cpp:882">
<![LOG[Extracting from D:\SOURCES\VORAB\20130821\OS_Windows_8_Enterprise_ohne_Hyper-V_LPZ0004B.pkgx.temp]LOG]!><time="16:24:05.745-120" date="08-29-2013" component="PrestageContent" context="" type="1" thread="5048" file="contentbundle.cpp:883">
<![LOG[Extracting package LPZ0004B]LOG]!><time="16:24:05.912-120" date="08-29-2013" component="PrestageContent" context="" type="1" thread="5048" file="contentbundle.cpp:941">
<![LOG[Extracting content LPZ0004B.1]LOG]!><time="16:24:06.085-120" date="08-29-2013" component="PrestageContent" context="" type="1" thread="5048" file="contentbundle.cpp:1019">
<![LOG[Content definition already exists: \\?\D:\SCCMContentLib\DataLib\LPZ0004B.1]LOG]!><time="16:36:13.492-120" date="08-29-2013" component="PrestageContent" context="" type="2" thread="5048" file="contentlibrary.cpp:616">
<![LOG[Generating signature files to path \\?\D:\SMSPKGSIG]LOG]!><time="16:38:50.817-120" date="08-29-2013" component="PrestageContent" context="" type="1" thread="5048" file="archivefile.cpp:3245">
<![LOG[SQLServer=HV-SCCM-MUC.schulung.ppedv, DatabaseName=CM_MUC, SiteCode=MUC, SiteServer=HV-SCCM-MUC.schulung.ppedv]LOG]!><time="16:38:50.858-120" date="08-29-2013" component="PrestageContent" context="" type="1" thread="5048" file="archivefile.cpp:2265">
<![LOG[Failed to execute the query to register content of package LPZ0004B.1, SqlQuery="
BEGIN
IF NOT EXISTS (select ID from PkgStatus where ID='LPZ0004B' and Type=1 and SiteCode='MUC')
BEGIN
insert into PkgStatus (ID, Type, SiteCode, PkgServer, Personality, Status, SourceVersion, UpdateTime, State)
values ('LPZ0004B', 1, 'MUC', 'HV-SCCM-MUC.schulung.ppedv', 0, 2, 1, getdate(), 0)
END
ELSE
BEGIN
update PkgStatus set status=2, UpdateTime=getdate(), SourceVersion=1 where ID='LPZ0004B' and SiteCode='MUC' and Type=1
END
update SMSPackages_L set StoredPkgVersion=1 where PkgID='LPZ0004B'
END
"]LOG]!><time="16:39:09.321-120" date="08-29-2013" component="PrestageContent" context="" type="3" thread="5048" file="archivefile.cpp:2343">
<![LOG[ArchiveFile::RegisterPackagesOnSiteServer failed; 0x80040e2f]LOG]!><time="16:39:09.347-120" date="08-29-2013" component="PrestageContent" context="" type="3" thread="5048" file="archivefile.cpp:2362">
<![LOG[ArchiveFile::PostExtractProcessing failed; 0x80040e2f]LOG]!><time="16:39:09.347-120" date="08-29-2013" component="PrestageContent" context="" type="3" thread="5048" file="archivefile.cpp:1874">
<![LOG[ArchiveFile::ExtractContent failed; 0x80040e2f]LOG]!><time="16:39:09.600-120" date="08-29-2013" component="PrestageContent" context="" type="3" thread="5048" file="archivefile.cpp:2551">
<![LOG[End ====> Thu Aug 29 2013 16:39:09]LOG]!><time="16:39:09.616-120" date="08-29-2013" component="PrestageContent" context="" type="1" thread="5048" file="log.cpp:86">
Any ideas what this could be? Probably, main error in log is:
<![LOG[Failed to execute the query to register content of package LPZ0004B.1, SqlQuery="
BEGIN
IF NOT EXISTS (select ID from PkgStatus where ID='LPZ0004B' and Type=1 and SiteCode='MUC')
BEGIN
insert into PkgStatus (ID, Type, SiteCode, PkgServer, Personality, Status, SourceVersion, UpdateTime, State)
values ('LPZ0004B', 1, 'MUC', 'HV-SCCM-MUC.schulung.ppedv', 0, 2, 1, getdate(), 0)
END
ELSE
BEGIN
update PkgStatus set status=2, UpdateTime=getdate(), SourceVersion=1 where ID='LPZ0004B' and SiteCode='MUC' and Type=1
END
update SMSPackages_L set StoredPkgVersion=1 where PkgID='LPZ0004B'
END
"]LOG]!><time="16:39:09.321-120" date="08-29-2013" component="PrestageContent" context="" type="3" thread="5048" file="archivefile.cpp:2343">