I am trying to connect to an Oracle database from a Windows App created with VB.Net. I am using System.Data.OracleClient. At connection.Open(), an exception is thrown that says, "System.Exception: Could not create an environment: OCIEnvCreate returned -1." What does this mean and...
I am using the following code in both a windows app and an ASP.Net app:
Private m_cmd As System.Data.OleDb.OleDbCommand
Private m_con As System.Data.OleDb.OleDbConnection
dim connectionString as String
connectionString = "Provider=MSDAORA.1;User ID=myId;Data Source=PRD1;"
Try...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.