D
Dave
I've run across a strange error when creating a simple ADO.Net
connection in VB.Net 2003
To replicate an error:
Create an Access database (2002) with table named "Student" and fields
SID (Autofill), FirstName and LastName.
Put some dummy data in table.
Start a new VB.Net application, create a new connection to your
database, drag fields on to form, complete wizard steps...no problem!
Close VB.Net, go back to Access, add field called "Section" (text
field), add some dummy data (i.e., A, B, C, etc)
Create a new VB.Net project, follow steps above, come up with the
following error:
The wizard detected the following problems when configuring the data
adapter
"OleDbDataAdapter1".
Details:
Generated SELECT statement.
IErrorInfo.GetDescription failed with E_FAIL(0x80004005).
For some reason, it seems that ADO.Net (or at least the wizard)
doesn't like a field named Section.
Any ideas on this?
Thanks,
Dave
connection in VB.Net 2003
To replicate an error:
Create an Access database (2002) with table named "Student" and fields
SID (Autofill), FirstName and LastName.
Put some dummy data in table.
Start a new VB.Net application, create a new connection to your
database, drag fields on to form, complete wizard steps...no problem!
Close VB.Net, go back to Access, add field called "Section" (text
field), add some dummy data (i.e., A, B, C, etc)
Create a new VB.Net project, follow steps above, come up with the
following error:
The wizard detected the following problems when configuring the data
adapter
"OleDbDataAdapter1".
Details:
Generated SELECT statement.
IErrorInfo.GetDescription failed with E_FAIL(0x80004005).
For some reason, it seems that ADO.Net (or at least the wizard)
doesn't like a field named Section.
Any ideas on this?
Thanks,
Dave