Hi, All
our hfm system sometime get hanged suddenly, so we try to create a vbs script to check if the system working properly or not and send monitor emails.
the script is using HFMwApplications Library, and script is something like this:
Set cHFMManageApps = CreateObject("Hyperion.HFMwManageApplications")
cHFMManageApps.SetLogonInfoSSO sDomain, sUser, sToken, sPassword
Set g_cHFMSession = cHFMManageApps.OpenApplication (sCluster,sApp)
This vbs is working fine to open the application , however when we run the script every 5 minustes in the windows task , it will get error showing as below in Hsveventlog:
Error Reference Number: {F12E5691-44D5-4173-89B4-F2BAAF474A7B} Num: -2147023170; User: hfmstatus@Native Directory Type: 0; DTime: 2016-4-18 7:50:20; Svr: UATHFMPROD; Application:
Error list:
File: CHsxServerImpl.cpp Version: 11.1.1.3.0.2413 Line: 1676 Error: (-2147023170)(0x800706BE)(The remote procedure call failed.)
File: CHsxServerImpl.cpp Version: 11.1.1.3.0.2413 Line: 1865 Error: (-2147023170)(0x800706BE)(The remote procedure call failed.)
File: CHsxServerImpl.cpp Version: 11.1.1.3.0.2413 Line: 2176 Error: (-2147023170)(0x800706BE)(The remote procedure call failed.)
File: CHsxServerImpl.cpp Version: 11.1.1.3.0.2413 Line: 3876 Error: (-2147023170)(0x800706BE)(The remote procedure call failed.)
File: CHsxServer.cpp Version: 11.1.1.3.0.2413 Line: 1481 Error: (-2147023170)(0x800706BE)(The remote procedure call failed.)
File: CHsxClient.cpp Version: 11.1.1.3.0.2413 Line: 2373 Error: (-2147023170)(0x800706BE)(The remote procedure call failed.)
xml error string:
<?xml version="1.0" ?>
<EStr>
<Ref>{F12E5691-44D5-4173-89B4-F2BAAF474A7B}</Ref>
<User>hfmstatus@Native Directory</User>
<DBUpdate>71761688</DBUpdate>
<ESec>
<Num HEX=0x800706BE>-2147023170</Num>
<Description Src=HFM>The remote procedure call failed.</Description>
<Type>0</Type>
<DTime>2016-4-18 7:50:20</DTime>
<Svr>UATHFMPROD</Svr>
<File>CHsxServerImpl.cpp</File>
<Line>1676</Line>
<Ver>11.1.1.3.0.2413</Ver>
<DStr></DStr>
<ExErr></ExErr>
</ESec>
<ESec>
<Num HEX=0x800706BE>-2147023170</Num>
<Description Src=HFM>The remote procedure call failed.</Description>
<Type>0</Type>
<DTime>2016-4-18 7:50:21</DTime>
<Svr>UATHFMPROD</Svr>
<File>CHsxServerImpl.cpp</File>
<Line>1865</Line>
<Ver>11.1.1.3.0.2413</Ver>
<DStr></DStr>
<ExErr></ExErr>
</ESec>
<ESec>
<Num HEX=0x800706BE>-2147023170</Num>
<Description Src=HFM>The remote procedure call failed.</Description>
<Type>0</Type>
<DTime>2016-4-18 7:50:21</DTime>
<Svr>UATHFMPROD</Svr>
<File>CHsxServerImpl.cpp</File>
<Line>2176</Line>
<Ver>11.1.1.3.0.2413</Ver>
<DStr></DStr>
<ExErr></ExErr>
</ESec>
<ESec>
<Num HEX=0x800706BE>-2147023170</Num>
<Description Src=HFM>The remote procedure call failed.</Description>
<Type>0</Type>
<DTime>2016-4-18 7:50:21</DTime>
<Svr>UATHFMPROD</Svr>
<File>CHsxServerImpl.cpp</File>
<Line>3876</Line>
<Ver>11.1.1.3.0.2413</Ver>
<DStr></DStr>
<ExErr></ExErr>
</ESec>
<ESec>
<Num HEX=0x800706BE>-2147023170</Num>
<Description Src=HFM>The remote procedure call failed.</Description>
<Type>1</Type>
<DTime>2016-4-18 7:50:21</DTime>
<Svr>UATHFMPROD</Svr>
<File>CHsxServer.cpp</File>
<Line>1481</Line>
<Ver>11.1.1.3.0.2413</Ver>
<DStr>OpenApplication: MARCONSOL</DStr>
<ExErr></ExErr>
</ESec>
<ESec>
<Num HEX=0x800706BE>-2147023170</Num>
<Description Src=HFM>The remote procedure call failed.</Description>
<Type>0</Type>
<DTime>2016-4-18 7:50:21</DTime>
<Svr>UATHFMPROD</Svr>
<File>CHsxClient.cpp</File>
<Line>2373</Line>
<Ver>11.1.1.3.0.2413</Ver>
<DStr></DStr>
<ExErr></ExErr>
</ESec>
</EStr>
can someone help check and suggest how to fix this?
Regards!