?
Solved

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

Posted on 2004-10-14
3
Medium Priority
?
12,228 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 20

Accepted Solution

by:
jitganguly earned 500 total points
ID: 12319774
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

770 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