[unixODBC-dev] SQL_HANDLE_HENV failed

Yousuf Basit yousuf at mainstream-i.com
Thu Aug 26 17:20:10 BST 2004


Hi,

 

I hope if you can help me or guide me where I can get more info. I am a
complete nubee here.  I have tried everything, but I keep getting this error
when I run 'isql' for my DSN:

 

[root at javlin2 mssql]# isql -v snewnt NAME PASSWORD

[IM004][unixODBC][Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_HENV
failed

[ISQL]ERROR: Could not SQLConnect

 

My DSN (system) is:

[snewnt]

Driver=TDS

Description=Northwind sample database

Trace=No

Server=snewnt

Database=Northwind

 

My DSN driver is:

[TDS]

Description=v.0.62.4 with protocol v4.2

Driver=/usr/local/lib/libtds.so

UsageCount=1

 

 

My Server contains the following:

            Linux 2.4.20-31.9

            FreeTDS 0.62.4

            unixODBC ver 2.2.9-1

            php 4.2.2-17

 

Do please let me know if you need any help.  I am trying to connect to MS
SQL 7.

Any and all help will be most appreciated.  Thanks for your help in advance.

 

 

Regards,

 

Yousuf Basit

 

GlobalWare Solutions (S) Pte Ltd

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-dev/attachments/20040827/6e22f154/attachment.html>


More information about the unixODBC-dev mailing list