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
Article Type
Technical Solution


Issue



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.


Error



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.


Cause



The underlying code on the Package Server object returns incorrectly formatted data.


Solution



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.


Supplemental Materials

SourceETrack
Value2990830


Article URL http://www.symantec.com/docs/TECH199689


Terms of use for this information are found in Legal Notices