ctype error

I upgrade a vb project in vb.net ,Connectivity is through oracle client
The error occurs are
1) [microsoft][odbc driver manager] drivers sql set connect attr failed
2)Invalid cast exception was handle
( dgListPatVisited.DataSource = CType(AdodcListPatVisited, msdatasrc.DataSource)
troubleshooting:When casting from a number the value must be number less then infinity
Can u suggest me what changes i need to do.
[438 byte] By [mili2_4] at [2007-11-19 6:35:40]