GetPackage method does not return usable data
|Article:TECH199689|||||Created: 2012-11-13|||||Updated: 2014-04-15|||||Article URL http://www.symantec.com/docs/TECH199689|
Altiris.ASDK.Agent.PackageServerAgentLib Get Packages does not return data that can be used. Instead errors occur if you attempt to interrogate the data contained in the returned object.
If the sample script (Agent Package Server.vbs) is run on a package server the vbs error, "The remote procedure call failed" is returned. Other errors are returned in other situations but always when trying to read the object returned by the Packages method.
The underlying code on the Package Server object returns incorrectly formatted data.
This has been addressed in the package Server agent for 7.1 SP2 MP1 Rollup Version 9 (see http://www.symantec.com/docs/HOWTO81832 )
This has been addressed in the package server agent for 7.5.
Article URL http://www.symantec.com/docs/TECH199689