Can't create row buffer

Discussion created by chrismeteu on Nov 10, 2010
Latest reply on Nov 11, 2010 by Hornbydd
Does anyone know of a reason why i'm getting the following error?

Error HRESULT E_FAIL has been returned from a call to a COM component.

I created an inMemory table using an inMemory workspace and am trying to add rows to that table. But i get the above error when i hit the following line of code (VB.NET).

Dim rowBuffer As ESRI.ArcGIS.Geodatabase.IRowBuffer = tempTable.CreateRowBuffer