Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Leverage browser caching 2 55
Can not run ASP pages Windows 10 Edge browser. 5 74
Hide row when retrieving data from database 6 52
is this a cms? 8 33
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 demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

914 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

13 Experts available now in Live!

Get 1:1 Help Now