MetastormOperation..::.GetListEx Method problem

when I'm using sample code from "SZK Enterprise Component Libraries",
to get "Custom List" :

IMetastormOperation metastormSession = new MetastormOperation();

IFormField[] loginData = new FormField[] {
new TextField() { Name = "username", Value = "sysadmin", Culture = CultureInfo.InvariantCulture.ToString() },
new TextField() { Name = "password", Value = PasswordEncrypt("metastorm"), Culture = CultureInfo.InvariantCulture.ToString() }
};
metastormSession.Login("WEB;", 0, "", loginData);

IListFilter lf = new ListFilter();
lf.FilterType = BusinessObjectFilterType.AndGroup;

IListFilter lf1 = new ListFilter();
lf1.FilterType = BusinessObjectFilterType.LessThan;
lf1.Args = new object[] { "test" };
lf1.ColumnName = "Column1";

lf.Args = new object[] { lf1 };
KeyValuePair<string, SortDirection>[] sortDir = new KeyValuePair<string, SortDirection>[1];
KeyValuePair<string, SortDirection> sort = new KeyValuePair<string, SortDirection>("Column1", SortDirection.Ascending);
sortDir[0] = sort;
DataSet ds = new DataSet();

IListResult clientData = metaOper.GetListEx("TestList", lf, sortDir, 0, 0);

ds = clientData.Data;
client.Logout();

I get the the following error:

An error has occurred. Please report the problem to your administrator.
No Engines are available in the "Metastorm BPM Server" service.

When we set the parameter "filter" to null, error does not appear
IListResult clientData = metaOper.GetListEx("TestList", null, sortDir, 0, 0);

What is the cause of this error message: No Engines are available in the "Metastorm BPM Server" service.

MBPM 9.x
Metastorm.ECL.Client 9.0.0.0
Windows Srv 2008

Tagged: