When attempting to use deployanywhere within our image deployment task we recieve the below error in the dstasks.log file.
2015/08/05 12:18:42.741 1208:2040 2] ..\ClientImageDeploy\Tcube_ClientImageDeploy.cpp@505 Call CopyAnswerFileToProduction() function to copy answerfile to target machine.
[2015/08/05 12:18:42.741 1208:2040 2] ..\ClientImageDeploy\Tcube_ClientImageDeploy.cpp@1352::CopyAnswerFileToProduction()
[2015/08/05 12:18:42.804 1208:2040 2] Function Name is util::CSMPPackage::getNearestPackageInfoXML(),file name is SMPPackage.cpp and Line no 329.Reuest XML is /Deployment/Agent/GetNearestPackageServerInfo.aspx?xml=<request><GetNearestPackageServerInfo><siteType>packageserver</siteType><resourceGuidString>{AC2151C5-0269-42A4-AB49-B539F291C9A7}</resourceGuidString><clientIPAddress>ClientIP</clientIPAddress><packageGuid>{ABD668D6-E76D-4313-B50C-3309D75D7012}</packageGuid></GetNearestPackageServerInfo></request>
[2015/08/05 12:18:43.288 1208:2040 2] Function Name is util::CSMPPackage::getNearestPackageInfoXML(),file name is SMPPackage.cpp and Line no 339. Response of getNearestPackageInfoXML = <Response><PackageServers><PackageServerFound>true</PackageServerFound><PackageServer><Name>TaskServer9</Name><IPAddress>TaskServer9IP</IPAddress><ResourceGuid>dbfb6cad-4582-4b13-84a2-948df863c554</ResourceGuid><IsHTTP>true</IsHTTP><SharePathList></SharePathList><UNCPath>\\TaskServer9\PkgSvrHostI$\{ABD668D6-E76D-4313-B50C-3309D75D7012}\cache</UNCPath><HTTPPath>http://TaskServer9/Altiris/PS/Share/pkggroup_{25f6750e-c3fa-4e8a-a1ab-094237f5b05d}/{ABD668D6-E76D-4313-B50C-3309D75D7012}/cache</HTTPPath><HTTPSPath></HTTPSPath><CEMPath></CEMPath></PackageServer></PackageServers></Response>
[2015/08/05 12:18:43.288 1208:2040 2] Function Name is util::CSMPPackage::ParsePackageInfoXML(),file name is SMPPackage.cpp and Line no 354. Return XML is =<Response><PackageServers><PackageServerFound>true</PackageServerFound><PackageServer><Name>TaskServer9</Name><IPAddress>TaskServer9IP</IPAddress><ResourceGuid>dbfb6cad-4582-4b13-84a2-948df863c554</ResourceGuid><IsHTTP>true</IsHTTP><SharePathList></SharePathList><UNCPath>\\TaskServer9\PkgSvrHostI$\{ABD668D6-E76D-4313-B50C-3309D75D7012}\cache</UNCPath><HTTPPath>http://TaskServer9/Altiris/PS/Share/pkggroup_{25f6750e-c3fa-4e8a-a1ab-094237f5b05d}/{ABD668D6-E76D-4313-B50C-3309D75D7012}/cache</HTTPPath><HTTPSPath></HTTPSPath><CEMPath></CEMPath></PackageServer></PackageServers></Response>
[2015/08/05 12:18:43.288 1208:2040 2] Function:util::CSMPPackage::Initialiaze(),File:SMPPackage.cpp and Line:109.TaskServer9 have selected as a PS
[2015/08/05 12:18:43.804 1208:2040 0] SMPPackage.cpp@644: Error in downloading file from HTTP.source :http://TaskServer9/Altiris/PS/Share/pkggroup_{25f6750e-c3fa-4e8a-a1ab-094237f5b05d}/{ABD668D6-E76D-4313-B50C-3309D75D7012}/cache/Ghost/x64/DeployAnywhere64.exe and dest :X:\Program Files\Symantec\Deployment\Ghost\DeployAnywhere64.exe.Error return code from GetFile() is -2147024784
[2015/08/05 12:18:43.804 1208:2040 0] File:ExecuteCommand.cpp,Line:4373 ERROR: Exception has occured in function SMPPackage.cpp() at Line No 645. Type of exception is GeneralError. Error is Default Message: Exception in CSMPPackageException. Error Description is "util::CSMPPackage::GetFileFromHTTP". Value of Windows error code = 6 and message is " The handle is invalid.
"
[2015/08/05 12:18:43.804 1208:2040 2] ExecuteCommand.cpp@4425 ExecuteClass::SetResult() - StopTaskCmdReceived = 0
[2015/08/05 12:18:43.804 1208:2040 2] ExecuteCommand.cpp:util::ExecuteClass::SetResult():4443. Value of nResult(@ReturnValue) = 1, Value of bResult(@Success) = 0
[2015/08/05 12:18:43.804 1208:2040 2] ExecuteCommand.cpp@4462 Output @errorMessage=Exception has occured in function SMPPackage.cpp() at Line No 645. Type of exception is GeneralError. Error is Default Message: Exception in CSMPPackageException. Error Description is "util::CSMPPackage::GetFileFromHTTP". Value of Windows error code = 6 and message is " The handle is invalid.
"
[2015/08/05 12:18:43.804 1208:2040 2] ExecuteCommand.cpp@4471 Task have completed. Failure return!!
[2015/08/05 12:18:43.804 1208:2040 1] ****** ExecuteClass:: In ExecuteCommandNoUser ******
[2015/08/05 12:18:43.804 1208:2040 1] ExecuteClass::Module Name = X:\Program Files\Symantec\Deployment\Ghost\GhConfig64.exe
[2015/08/05 12:18:43.804 1208:2040 1] ExecuteClass::Commandline = /findactivewindows
[2015/08/05 12:18:43.804 1208:2040 2] ExecuteCommand.cpp@1899 calling ExecuteClass::ExecuteCommandNoUser().
[2015/08/05 12:18:43.804 1208:2040 2] ExecuteClass::@1932 Application Name is NOT NULL.
[2015/08/05 12:18:43.804 1208:2040 2] ExecuteClass::@1945 Command line is NOT NULL.
[2015/08/05 12:18:43.804 1208:2040 2] ExecuteCommand.cpp@1949 ExecuteClass::ExecuteCommandNoUser() - StopTaskCmdReceived = 0
[2015/08/05 12:18:43.804 1208:2040 1] ExecuteCommandNoUser()Successfully created process. nResult =1
[2015/08/05 12:18:43.804 1208:2040 1] Calling ExecuteClass::ProcessAfterCreate()
[2015/08/05 12:18:43.991 1208:2040 2] ExecuteCommand.cpp@2023 ExecuteClass::ProcessAftercreate() - StopTaskCmdReceived = 0
[2015/08/05 12:18:43.991 1208:2040 2] ExecuteCommand.cpp@2060 ProcessAfterCreate:: dwExitCode=0
[2015/08/05 12:18:44.101 1208:2040 1]
********** End of Task : ClientImageDeploy **********