469,600 Members | 2,367 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,600 developers. It's quick & easy.

Vb6 object returning ADO Recordset - Error in .NET

Hi,

My C#, ASP.NET application uses com-interop to call a vb6 method which
returns a ADO 2.6 recordset. I can successfully call the COM component and
even retrieve the recordset. When I try to use the OleDbDataAdapter to
change the ADO recordset into a dataset (So I can use it in a datagrid), I
get the error below:

OleDbDataAdapter myDA = new OleDbDataAdapter();

DataSet myDS = new DataSet();

myDA.Fill(myDS, myADO, "TEST");

"The provider could not determine the Object value. For example, the row was
just created, the default for the Object column was not available, and the
consumer had not yet set a new Object value. "

Any ideas? I can call other vb6 components that return recordsets and they
work fine?

Thanks, Scott

Nov 15 '05 #1
0 1474

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by JayBrahms | last post: by
3 posts views Thread by scottallenmccullough | last post: by
reply views Thread by Developer | last post: by
5 posts views Thread by Robert Fitzpatrick | last post: by
9 posts views Thread by =?Utf-8?B?VCBNY0RvbmFsZA==?= | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.