Windows 7 - Errorr connecting to oracle database from a .net application on Window

Asked By Rahul Kumar on 06-Mar-12 07:10 AM

I get this error when I run my .Net application tries to Oracle database on a 64-bit Windows 7 machine.
 "OCIEnvCreate failed with return code -1 but error message text was not available."
Note: I use System.Data.OracleClient.dll to connect to Oracle . db

Could you please advise?

Thanks.

Somesh Yadav replied to Rahul Kumar on 06-Mar-12 07:19 AM
plz check out listner configured properly or not. What is the version of oracle. Plz reply me so that i can check out and i will give u the answer
Rahul Kumar replied to Somesh Yadav on 06-Mar-12 08:49 AM
How do I check the listener configuration.Am using Oracle 11i.

Thanks.