Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
|
ADO.NET For discussion about ADO.NET.  Topics such as question regarding the System.Data namespace are appropriate.  Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ADO.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 25th, 2003, 12:00 PM
Registered User
 
Join Date: Nov 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default OCIEnvCreate returned -1

Hello,

I am trying to connect to an Oracle database from an ASP.NET app. I am using System.Data.OracleClient. At connection.Open(), an exception is thrown before the app even tries to connect, that says, "System.Exception: Could not create an environment: OCIEnvCreate returned -1."

Help, please!

Thanks.
 
Old September 29th, 2004, 05:06 PM
Registered User
 
Join Date: Sep 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

try this link:
http://meandering-blog.com/archive/2004/07/02/287.aspx

or this one:
http://www.mcse.ms/archive112-2003-12-188115.html
 
Old June 9th, 2005, 03:52 AM
Registered User
 
Join Date: Jun 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am also facing the same problem have you find any solution for the problem

 
Old June 9th, 2005, 06:27 AM
Registered User
 
Join Date: Jun 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have sorted this problem in different way. I opened the file tnsnames and change DB.Domain.COM to DB only






Similar Threads
Thread Thread Starter Forum Replies Last Post
Modifying Date returned topshed Classic ASP Basics 0 April 16th, 2005 09:18 PM
Returned Error chuck BOOK: Beginning VB.NET Databases 6 February 13th, 2005 04:07 PM
Unable to find an entry point named OCIEnvCreate i Twinklestar ADO.NET 2 June 24th, 2004 05:44 AM
Records not returned with where clause Trojan_uk SQL Server 2000 2 December 4th, 2003 10:03 AM
Inserting Returned Records [email protected] SQL Language 2 November 4th, 2003 01:05 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.