stevejones
Programmer
Hi all,
We have recently decided to swith from VB 6 to .net and I am having a problem when opening an OLEDB connection.
My connection string includes "PROVIDER= MSDASQL", but this generates the following error.
An unhandled exception of type 'System.ArgumentException' occurred in system.data.dll
Additional information: The .Net Data OLE DB Provider(System.Data.OleDb) does not support the MSDASQL Provider, Microsoft OLE DB Provider for ODBC Drivers.
The same odbc connection works in VB 6. Am I missing something?
TIA
Steve
We have recently decided to swith from VB 6 to .net and I am having a problem when opening an OLEDB connection.
My connection string includes "PROVIDER= MSDASQL", but this generates the following error.
An unhandled exception of type 'System.ArgumentException' occurred in system.data.dll
Additional information: The .Net Data OLE DB Provider(System.Data.OleDb) does not support the MSDASQL Provider, Microsoft OLE DB Provider for ODBC Drivers.
The same odbc connection works in VB 6. Am I missing something?
TIA
Steve