OleDbConnection using system DSN problem

  • Thread starter Thread starter rob merritt
  • Start date Start date
R

rob merritt

I am trying to use a system DSN "__finance"

OleDbConnection m_cnADONetConnection.ConnectionString ="DSN=__finance;"

but i get and error is this possible in .NET?
 
On 6 Mar 2005 22:03:17 -0800, (e-mail address removed) (rob merritt) wrote:

¤ I am trying to use a system DSN "__finance"
¤
¤ OleDbConnection m_cnADONetConnection.ConnectionString ="DSN=__finance;"
¤
¤ but i get and error is this possible in .NET?

DSNs are not typically used for OLEDB but for ODBC. What kind of database are you connecting to?


Paul ~~~ (e-mail address removed)
Microsoft MVP (Visual Basic)
 
You can use DSNs with OleDb if you use Microsoft OLE DB Provider for ODBC
drivers. Anyway, this OleDb provider is not supported in the .NET framework.
You must use the .Net Framework Data Provider for ODBC.

Dumitru
 
Its a 3rd party provider trifox vortex to connect to ISAM files on a
OpenVMS server so how do i use the ".Net Framework Data Provider for
ODBC."?
 
Back
Top