03-10-2011 08:12 AM
I'm using the SDK in C# and everything works just fine. However, when I want to retrieve a large (+/- 800) group of companies using Act.Framework.Companies.GetCompaniesById(null, guids) where guids is an array of Guid object I get the following Exception:
Act.Framework.Companies.CompanyManagerDB+CompanyManagerDBException: Error retrieving company keys ---> Act.Data.ProcessorException: The Command GetCompanyIDs contained invalid parameters. Execution aborted. Parameter [@Parameter] USERID(String) is declared as non-nullable but contained no value.
This is odd, since it does not happen to smaller groups or when obtaining them one-by-one. Anyone knows what the problem is here?