Hi everyone, I've had some terrible issues with my SCCM 2012 SP1 SMP that I would say is a bit anoying.
I have two servers installed as sitesystems, the first one is a site server with MP, SUP, SMP, DP etc. and the second one is only a DP and SMP.
When the clients is requesting state store from the server that is _only_ a smp and a dp, the client gets no bad answers from it.
Sending SMP request to http://server2.domain.se:0. OSDSMPClient 2014-04-28 17:52:23 5020 (0x139C)
CLibSMSMessageWinHttpTransport::Send: URL: server2.domain.se:80 CCM_POST /SMSSMP/.sms_smp?op=restore OSDSMPClient 2014-04-28 17:52:23 5020 (0x139C)
Error. Status code 500 returned OSDSMPClient 2014-04-28 17:52:23 5020 (0x139C)
Received 4751 byte response. OSDSMPClient 2014-04-28 17:52:23 5020 (0x139C)
Found certificate context of the smp server OSDSMPClient 2014-04-28 17:52:23 5020 (0x139C)
Successfully decoded 208 byte response. OSDSMPClient 2014-04-28 17:52:23 5020 (0x139C)
SMP request to "http://server2.domain.se" failed with error: E_SMPERROR_MIGRATIONID_NOT_FOUND (204) OSDSMPClient 2014-04-28 17:52:23 5020 (0x139C)
0, HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\osdsmpclient\smpclient.cpp,2175) OSDSMPClient 2014-04-28 17:52:23 5020 (0x139C)
Request to SMP 'http://server2.domain.se' failed with error (Code 0x80004005). Trying next SMP. OSDSMPClient 2014-04-28 17:52:23 5020 (0x139C)
When looking in the ISAPI logfile on that particullary SMP server. This is what I can see in the logs.
<![LOG[========== BEGIN: HttpExtensionProc ==========]LOG]!><time="10:43:30.070-120" date="04-29-2014" component="smpisapi" context="" type="0" thread="4408" file="smpisapi.cpp:404">
<![LOG[Query string to parse: 'op=restore'.]LOG]!><time="10:43:30.070-120" date="04-29-2014" component="smpisapi" context="" type="1" thread="4408" file="smpisapi.cpp:139">
<![LOG[Client request is validated successfully.]LOG]!><time="10:43:30.085-120" date="04-29-2014" component="smpisapi" context="" type="0" thread="4408" file="smprequesthandler.cpp:1261">
<![LOG[Failed to find state store (0x800400cc)]LOG]!><time="10:43:30.085-120" date="04-29-2014" component="smpisapi" context="" type="3" thread="4408" file="smpstoremgr.cpp:752">
<![LOG[FindStateStore failed with error code (800400cc)]LOG]!><time="10:43:30.085-120" date="04-29-2014" component="smpisapi" context="" type="3" thread="4408" file="smprequesthandler.cpp:703">
<![LOG[Preparing client for restore request failed with errorcode (0x800400CC)]LOG]!><time="10:43:30.085-120" date="04-29-2014" component="smpisapi" context="" type="3" thread="4408" file="smprequesthandler.cpp:1830">
<![LOG[RestoreRequest::HandleMessage failed with errorcode (0x800400CC)]LOG]!><time="10:43:30.085-120" date="04-29-2014" component="smpisapi" context="" type="3" thread="4408" file="smprequesthandler.cpp:1786">
<![LOG[Failed to process RESTORE request for client GUID:4E616DFA-2856-40CB-A047-64270335E971]LOG]!><time="10:43:30.085-120" date="04-29-2014" component="smpisapi" context="" type="3" thread="4408"
file="smprequesthandler.cpp:314">
<![LOG[SMPRequestHandler::HandleMessage for StoreOp RESTORE failed with server errorcode 204]LOG]!><time="10:43:30.085-120" date="04-29-2014" component="smpisapi" context="" type="3" thread="4408"
file="smprequesthandler.cpp:322">
<![LOG[Returning status "500 Internal Server Error"]LOG]!><time="10:43:30.085-120" date="04-29-2014" component="smpisapi" context="" type="1" thread="4408" file="smpisapi.cpp:230">
<![LOG[========== END: HttpExtensionProc ==========]LOG]!><time="10:43:30.116-120" date="04-29-2014" component="smpisapi" context="" type="0" thread="4408" file="smpisapi.cpp:482">
But when running the request state store restore job from windows from a restore only tasksequence it is working just fine.