Community
Showing results for 
Search instead for 
Do you mean 
Reply

[ACT2008 SDK] CompanyManager throws Exception

New Member
Posts: 1
Country: USA

[ACT2008 SDK] CompanyManager throws Exception

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?

Bronze Super Contributor
Posts: 1,231
Country: USA

Re: [ACT2008 SDK] CompanyManager throws Exception

Have you checked if one of your GUIDs in the array is blank?

 

-- Jim Durkin