0 Replies Latest reply: Jul 3, 2012 9:05 AM by 947213 RSS

    Error in vbs script using HFMClient Object

    947213
      I would like to make a VBS script to logout all users from a HFM application but I get this error:

      "Hyperion.HFMErrorHandler.1: <?xml version="1.0"?>
      <EStr><Ref>{0B24FBEE-81B4-4649-A84B-D106DCF5BD85}</Ref><AppName/><User/><DBUpdat
      e>1</DBUpdate><ESec><Num>-2147023174</Num><Type>0</Type><DTime>7/3/2012 3:56:46
      PM</DTime><Svr>LVZH11-DB</Svr><File>CHFMCASSecurity.cpp</File><Line>89</Line><Ve
      r>11.1.2.1.000.3082</Ver></ESec><ESec><Num>-2147023174</Num><Type>0</Type><DTime>
      7/3/2012 3:56:46 PM</DTime><Svr>LVZH11-DB</Svr><File>CHsxServer.cpp</File><Line>
      3446</Line><Ver>11.1.2.1.000.3082</Ver></ESec><ESec><Num>-2147023174</Num><Type>
      0</Type><DTime>7/3/2012 3:56:46 PM</DTime><Svr>LVZH11-DB</Svr><File>CHsxClient.
      cpp</File><Line>4081</Line><Ver>11.1.2.1.000.3082</Ver></ESec></EStr>"

      the code I used is:

      Sub killUs

      Dim hfmCl

           Set hfmCl = CreateObject("Hyperion.HfmClient")
           hfmCl.KillUsers "Cluster Name", False, "Application Name", True, ""

      End Sub