Solved

Oracle 9.2 Client errors / sqlplus "The application failed to initialize properly (0xc0000022)"

Posted on 2006-07-17
10
2,019 Views
Last Modified: 2012-08-13
PC: XP Pro SP2 (+ patches using wsus), MS .NET Framework 1.1 & 2.0

Oracle 9.2 Client (Full install) and Oracle data provider for .Net

When using as an administrator level all works correctly, when using as a power user I get the following errors.

SQLPLUS The application failed to initialize properly (0xc0000022).
APPS using .net client Unable to load DLL (OraOps9.dll) - this is odd as we have other PC's the same just using ODP.net and all works fine - problem only with client installed.

I have tried the following:

fix:

1) Stop any virus scanning software
2) Grant read access on the HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE key to the OS
user using regedt32
- Open the registry with regedt32
- Got to HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE
- Select Permissions from the Security main menu
- Ensure that the SYSTEM account has Full Control
- Ensure that the OS users trying to launch the applications have read
privileges
- Choose OK
- Exit the registry
3) Follow the workaround in <<Bug:2498880>>:
- Log on to Windows with administrator privileges.
- Launch Windows Explorer from the Start Menu.
- Navigate to the ORACLE_HOME directory and right click on the ORACLE_HOME
folder icon.
- Select the "Properties" option from the drop down list.
- Click on the "Security" tab on the "Properties"
window.
- Click on Authenticated Users in the "Name" list.
- Uncheck the "Read and Execute" box in the "Permissions&
quot; list. This box will be under the "Allow" column.
- Check the "Read and Execute" box. This is the box you just
unchecked.
- Click the "Apply" button.
- Click the "OK" button.
4) Deinstall the software, then reinstall ensuring you're connected as the
local administrator (or the domain administrator if the box is a domain
controller)


this has not worked and the problem is still the same, I did see that this could be the .NET framework, but why just this PC - the only difference from others is the Oracle Client.

Thanks

Mike
0
Comment
Question by:mikesjn
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
10 Comments
 
LVL 18

Expert Comment

by:rbrooker
ID: 17125408
Hi,

from what i have found in the past, this is due to permissions on you <ORACLE_HOME> folder and those folders contained within it.
if i remember correctly, i had to go a step further than what you mentioned in step 3.
Going back to the security tab of the <ORACLE_HOME> folder properties, click on advanced and then on the owner tab.
In all the oracle in stalls i have ever done, to make it work i had to set the owner to local administrator RECURSIVELY DOWN THE DIRECTORY STRUCTURE ( no point doing the root folder only, the dll is further down the tree. )

to check what permissions you have on the file / folder in question, navigate to the dll file, go through the same steps to get to the advanced security properties and click the effective permissions tab.  click select and enter the username of the account trying to run the oracle software and see what you get.

probably not much use, but its been a while, and this is all i can remember.

you can refer to oracle metalink note : 215255.1 as well for some more information.
0
 

Author Comment

by:mikesjn
ID: 17131252
Thanks, but still the same, I had a look at metalink note and still not working.

Mike
0
 
LVL 18

Expert Comment

by:rbrooker
ID: 17133982
hi,

you could try adding the power users group to the permissions, with the same permissions as the administrators...
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:mikesjn
ID: 17136499
I have tried adding user to permissions, I am just downloading latest patch set and see what happens

Thanks
Mike
0
 
LVL 18

Expert Comment

by:rbrooker
ID: 17143218
ok, im stuck now.
0
 

Author Comment

by:mikesjn
ID: 17144773
I tried on a PC without MS .net installed and changing permissions worked. I then did same on another PC with .net and it failed, I added the latest oracle patch set and hey presto it worked. Tried patch on the original machine and that just started working. I read a couple of times on newsgroups that this was caused by .net and that Oracle was working on it (2004 posts).
Mike
0
 
LVL 18

Expert Comment

by:rbrooker
ID: 17149064
cool.  i will keep this one around for my reference as well.

:)
0
 
LVL 1

Accepted Solution

by:
DarthMod earned 0 total points
ID: 17586639
PAQed with points refunded (500)

DarthMod
Community Support Moderator
0
 

Expert Comment

by:rubendlg
ID: 33205543
I added full control to the Authenticated User account for the entire Oracle folder and it worked.
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question