C
Cip
Hi I am using the Microsoft .NET Provider for Oracle found in
System.Data.OracleClient.
For some reason OracleDataAdapter.Fill NEVER works (I tried it with
many different queries), it always throws an exception.
code snippet:
Dim comm As OracleCommand = Connection.CreateCommand
Dim tbl As New DataTable
Dim adapter As New OracleDataAdapter
comm.CommandText = "Select * from Test"
adapter.SelectCommand = comm
Connection.Open()
adapter.Fill(tbl)
Connection.Close()
"An unhandled exception of type
'System.Data.OracleClient.OracleException' occurred in system.data.dll
Additional information: System error."
not much help. if i add a watch on the exception, here is ex.message:
"OCI-22053: overflow error"
There is no other useful help, no other inner exceptions.
Note that this error message occurs with ANY SQL Statement I try.
Using the other objects in System.Data.OracleClient have given me no
problems; I have used DataReaders, Command.ExecuteNonQuery without
issues.
FYI: I have VS2003, .NET FW 1.1, OraClient 8.1.7.
System.Data.OracleClient.
For some reason OracleDataAdapter.Fill NEVER works (I tried it with
many different queries), it always throws an exception.
code snippet:
Dim comm As OracleCommand = Connection.CreateCommand
Dim tbl As New DataTable
Dim adapter As New OracleDataAdapter
comm.CommandText = "Select * from Test"
adapter.SelectCommand = comm
Connection.Open()
adapter.Fill(tbl)
Connection.Close()
"An unhandled exception of type
'System.Data.OracleClient.OracleException' occurred in system.data.dll
Additional information: System error."
not much help. if i add a watch on the exception, here is ex.message:
"OCI-22053: overflow error"
There is no other useful help, no other inner exceptions.
Note that this error message occurs with ANY SQL Statement I try.
Using the other objects in System.Data.OracleClient have given me no
problems; I have used DataReaders, Command.ExecuteNonQuery without
issues.
FYI: I have VS2003, .NET FW 1.1, OraClient 8.1.7.