OCIEnvCreate failed with return code-1 but error message text was not available

Asked By 250 points N/A Posted on -
qa-featured

Hi

I got a problem in Oracle. I was working in a project with my friends. He also found another error. I got: the Oracle client tries to create (and access) an Object in the Global namespace.

But he found a totally different error:

Error: OCIEnvCreate failed with return code-1 but error message text was not available

 

 

 

 

 

 

 

 

 

So, we need to solve this. Please help us.

Thanks.

SHARE
Best Answer by Amy Shum
Best Answer
Best Answer
Answered By 0 points N/A #141197

OCIEnvCreate failed with return code-1 but error message text was not available

qa-featured

You are facing up this error message because of incorrect Asp.Net permissions. Navigate to the Oracle home folder and locate Asp.Net permission settings, set it to be full control. Further, you also need to execute aspnet_regiis that you may find in the .NET 2.0 or whichever version you've installed. Thereafter, restart the computer system and start over using your application.

Answered By 0 points N/A #141198

OCIEnvCreate failed with return code-1 but error message text was not available

qa-featured

Hello Tamarajparnell,

In order to solve your problem go to the home folder of Oracle and locate the ASP.net permission setting.
Then set it to be full control. You may need to execute aspnet_regiis (that you can find in the .NET 2.0). After applying all this, restart the computer and lunch the application, normally it should be fine.

Login/Register to Answer

Related Questions