Home All Groups Group Topic Archive Search About

Driver's SQLAllocHandle on SQL_HANDLE_ENV failed

Author
12 Jul 2006 7:03 PM
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?

AddThis Social Bookmark Button