Getting an Invalid Cursor state error in the forge process of an Endeca baseline

StackOverflow https://stackoverflow.com/questions/7226106

  •  15-01-2021
  •  | 
  •  

Question

Error in the forge log is Unable to determine the number of columns in the ODBC result: [Microsoft][SQL Native Client]Invalid cursor state

Endeca is a bit black-box, so I'm not sure exactly what sql call is causing this error

Was it helpful?

Solution

Glenn,

In SQLServer 2005 (and perhaps other SQLServer versions), calls to ODBC SQLNumResultCols have been known to return invalid column counts or throw errors when the query is a call to a non-trivial stored procedure. If your query calls a stored procedure, see if you derive the same outcome using direct table or view reads, perhaps combined with logic in Forge.

Brett

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top