Re: SQLAllocHandle Errort

From: Bernard (qbernard_at_hotmail.com.discuss)
Date: 03/17/04


Date: Wed, 17 Mar 2004 17:02:10 +0800

Not sure but,

a) try update latest driver
b) try not to use DSN, refer
http://www.aspfaq.com/show.asp?id=2009

-- 
Regards,
Bernard Cheah
http://support.microsoft.com/
http://www.msmvps.com/bernard/
"karan" <kabi_240@hotmail.com> wrote in message
news:72d090e3.0403162043.2d058283@posting.google.com...
> Hi I am trying to make a simple connection in an asp page
> Dim DConnect
> Set DConnect = Server.CreateObject("ADODB.Connection")
> DConnect.Open "dsn=mydata;uid =xyz;pwd=xyz"
> DConnect.Close
> Set DConnect = nothing
>
> I am getting this error.
> Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
> [Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on
> SQL_HANDLE_ENV failed
> I have made the dsn using Microsoft ODBC for Oracle 2.573.9030
> I am running windows 200 server, I have tested the dsn using 'oracle
> odbc test' utility. i can connect to the database and can run the
> queries.
>
> But gives the above error from my asp page,Please suggest any
> solution.
> Thanks.


Relevant Pages

  • Re: Excel cant find FileMaker Pro Files
    ... Excel) as a front end to other databases via ODBC. ... product for using FMP as a data source, mainly because FileMaker Inc ... makes their own driver available for free. ... DSN parameter values, since the driver doesn't include a DSN setup ...
    (microsoft.public.mac.office.excel)
  • ODBC Data Source Administrator error
    ... I am getting an error any time I try to adjust my Data Soucre (ODBC) settings. ... Actually I am unable to open any of the DSN connections under User DSN and ... Driver ODBC driver could not be found. ... How do I reinstall these drivers? ...
    (microsoft.public.data.odbc)
  • Re: Configuring FM 9.0 Adv. as ODBC Datasource on Leopard?
    ... in Leopard) to set up a DSN to access FM through SQL? ... that the Sequelink driver is only tested with 1.0.1, ... I have also been unsuccessful in my attempts to setup a DSN to an ODBC ...
    (comp.databases.filemaker)
  • Re: Help with Insertdatabase command
    ... Interbase ODBC driver here)except that judging from your original connect ... Just to be on the safe side, try locating the .dsn on a path that doesn't ... everything you need to connect to your data source. ...
    (microsoft.public.word.vba.general)
  • Re: SSIS package Informix to SS 2005
    ... I am using Avaya Openlink driver 4.2 and after much trial and error I have ... picking data from ODBC and pushing it to SS 2005 Database through SSIS ... Multi-tier ODBC Driver forInformix. ...
    (microsoft.public.sqlserver.odbc)