Tuesday, 5 June 2012

Could not create an environment: OCIEnvCreate returned -1.

When you got the above error message while running the application. 

You have to make sure the installed ODP.NET version supports the framework which you using with the  application because some ODP.NET version doesn't support framework 1.1.4322.2407.