Solved

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

Posted on 2004-10-14
3
12,140 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
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…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

744 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now