Driver's SQLAllocHandle on SQL_HANDLE_ENV failed

  • Thread starter Thread starter daokfella
  • Start date Start date
D

daokfella

I'm trying to connect to an R:Base database on my machine. I created a
system DSN using the R:Base provider which connects fine. In my
project, I can browse the database by adding this connection in the
server explorer so I know it connects just fine. However, when trying
to use an ODBCConnection in my app, I get the following error when
using the open() method on the connection:

Driver's SQLAllocHandle on SQL_HANDLE_ENV failed

I was thinking that this was some sort of security error, but I gave
the ASPNET account security access to the *.RBx files and even the
*.dll provider files. Can anybody shed some light?
 
Back
Top