Server Management - Systems Insight Manager
1820587 Members
1781 Online
109626 Solutions
New Discussion юеВ

Re: Running event triggerd batch on SIM5.0SP4

 
SOLVED
Go to solution

Running event triggerd batch on SIM5.0SP4

I try to run a batch file from SIM 5.0 SP4 via the custom commands. There are no passed variables and the batch should run on the SIM host.When i try to run this batch by run now, i get the Error message "String index out of range:-1",see also attached picture.

Anyone have any advice ?
Thanks in advance
Roland
5 REPLIES 5
David Claypool
Honored Contributor

Re: Running event triggerd batch on SIM5.0SP4

What is your language set to? If I remember correctly, this can occur when HP SIM is not running in an English environment.

Re: Running event triggerd batch on SIM5.0SP4

Hello David,

the SIM runs on W2K3/SP1 engl.

Best Regards
Roland
David Claypool
Honored Contributor
Solution

Re: Running event triggerd batch on SIM5.0SP4

Oops, I misspoke. It's not language, it's regional settings. Workaround is to edit the file, globalsettings.props, and change CMSLocale=xx_XX (or whatever it is) to CMSLocale=en_US

Re: Running event triggerd batch on SIM5.0SP4

Hello David,

thank you, this was the solution !

Best regards
Roland

Re: Running event triggerd batch on SIM5.0SP4

Thanks you very much

Roland