Solved

Driver's SQLAllocHandle on SQL_HANDLE_ENV failed. URGENT !!!

Posted on 2004-10-14
3
12,172 Views
Last Modified: 2010-01-14
I'm trying to connect to oracle using the following syntax.

ConnStr = "driver={Microsoft ODBC for Oracle}; server=test.world; uid=dmsusr; pwd=dmspwd"
Set Conn   = Server.CreateObject("ADODB.Connection")
Conn.ConnectionString = ConnStr
Conn.Open

Its working in my dev server. The OS installed in this machine is, Windows XP Pro SP-1 and Oracle 9i Rel 2.

I moved the same code to my test server but its NOT working. Ths OS installed in this machine is Windows XP Pro SP-2 and Oracle 9i Rel 2. Im getting the following error.

Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed

I tried lot of different things but nothing worked. I need to resolve this issue imly. Thanks for all your help.
0
Comment
Question by:UU1
3 Comments
 
LVL 20

Accepted Solution

by:
jitganguly earned 125 total points
ID: 12319774
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question