Steve R
7/30/2002 2:18:00 AM
I've looked on all the documentation, message boards etc.
Here's what I've got so far:
Imports Microsoft.Data.Odbc
Public Class Licensing
Inherits System.Web.UI.Page
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Dim oConnection As Microsoft.Data.Odbc.OdbcConnection
oConnection = New OdbcConnection()
oConnection.ConnectionString = "Driver={PostgreSQL}"
oConnection.Open()
End Sub
End Class
This generates the following error:
Exception Details: Microsoft.Data.Odbc.OdbcException: ERROR [01000]
[Microsoft][ODBC Driver Manager] The driver doesn't support the version of
ODBC behavior that the application requested (see SQLSetEnvAttr).