Help with PublicationOutput API

I hope this is the correct location to ask questions as this is my first time in the forum.  

problem: I need to locate all of the publications where a specific object is used.  I am trying to call the PublicationOutput.Containing API, but all I get is an error 500 message.  Any guidance would be greatly appreciated.  here is what I have so far (hard coding logicalId (GUID-8F61DECF-11AF-4CF1-A860-7262C6D1AB51) and version (7)):

 

set oPublicationOutput = Server.CreateObject("ISAuthor.cPublicationOutput")
dim sReqMetadata 
sReqMetadata = "<ishfields><ishfield name='FTITLE' level='logical'/><ishfield name='VERSION' level='version'/></ishfields>"
dim sXmlOut
oPublicationOutput.Containing(sContext,"GUID-8F61DECF-11AF-4CF1-A860-7262C6D1AB51",7,sReqMetadata , sXmlOut)