all groups > dotnet odbc.net > may 2004 >
You're in the

dotnet odbc.net

group:

ERROR [IM003] Specified driver could not be loaded due to system error 5 (Oracle in OraHome92).


ERROR [IM003] Specified driver could not be loaded due to system error 5 (Oracle in OraHome92). XuChunming
5/3/2004 11:00:23 PM
dotnet odbc.net:
Hi ,
I use ODBC DSN to connect Oracle.

string newConnString ="DSN=OracleTest;UID=tt;PWD=pp";
OdbcConnection m_connection = new OdbcConnection(newConnString);
m_connection.Open();

when I setup the DSN in windows ODBC Datasource manager, the test
connection successfully, but when use in asp.net code,
I got the following errors:
'ERROR [IM003] Specified driver could not be loaded due to system error
5 (Oracle in OraHome92)."

Does anyone have some idea about this error?
Re: ERROR [IM003] Specified driver could not be loaded due to system error 5 (Oracle in OraHome92). Paul Clement
5/4/2004 9:24:27 AM
[quoted text, click to view]

¤ Hi ,
¤ I use ODBC DSN to connect Oracle.
¤
¤ string newConnString ="DSN=OracleTest;UID=tt;PWD=pp";
¤ OdbcConnection m_connection = new OdbcConnection(newConnString);
¤ m_connection.Open();
¤
¤ when I setup the DSN in windows ODBC Datasource manager, the test
¤ connection successfully, but when use in asp.net code,
¤ I got the following errors:
¤ 'ERROR [IM003] Specified driver could not be loaded due to system error
¤ 5 (Oracle in OraHome92)."
¤

Can you connect through SQL Plus? Is this an ASP.NET application?

This may be a permissions issue with respect to your Oracle folders. The following Oracle Metalink
article has more information on this:

http://metalink.oracle.com/metalink/plsql/ml2_documents.showNOT?p_id=215255.1&p_showHeader=1&p_showHelp=1

If you need to create a login ID for Metalink:

http://www.oracle.com/support/metalink/index.html


Paul ~~~ pclement@ameritech.net
Re: ERROR [IM003] Specified driver could not be loaded due to system error 5 (Oracle in OraHome92). Paul Clement
5/5/2004 8:35:17 AM
[quoted text, click to view]
¤ >
¤ > ¤ Hi ,
¤ > ¤ I use ODBC DSN to connect Oracle.
¤ > ¤
¤ > ¤ string newConnString ="DSN=OracleTest;UID=tt;PWD=pp";
¤ > ¤ OdbcConnection m_connection = new OdbcConnection(newConnString);
¤ > ¤ m_connection.Open();
¤ > ¤
¤ > ¤ when I setup the DSN in windows ODBC Datasource manager, the test
¤ > ¤ connection successfully, but when use in asp.net code,
¤ > ¤ I got the following errors:
¤ > ¤ 'ERROR [IM003] Specified driver could not be loaded due to system error
¤ > ¤ 5 (Oracle in OraHome92)."
¤ > ¤
¤ >
¤ > Can you connect through SQL Plus? Is this an ASP.NET application?
¤ >
¤ > This may be a permissions issue with respect to your Oracle folders. The following Oracle Metalink
¤ > article has more information on this:
¤ >
¤ > http://metalink.oracle.com/metalink/plsql/ml2_documents.showNOT?p_id=215255.1&p_showHeader=1&p_showHelp=1
¤ >
¤ > If you need to create a login ID for Metalink:
¤ >
¤ > http://www.oracle.com/support/metalink/index.html
¤ >
¤ >
¤ > Paul ~~~ pclement@ameritech.net
¤ > Microsoft MVP (Visual Basic)
¤
¤
¤ Thanks for you reply.
¤ I can connect through SQL Plus, and I can also connect this DSN with C++.
¤ when with ASP.NET, it doesn't work .
¤
¤ I use Oracle Personal Edition, I don't have Support Identifier (CSI),
¤ then I can't register Metalink ?
¤ Can you then copy the content of that document ?
¤ Thanks a lot!

Problem Description
-------------------

When running an application using the Oracle9i Release 2 (9.2.0.1.0) install
of client software and that attempts to connect to an Oracle database with the
Authenticated User privilege (such as when you use Microsoft's Internet
Information Server (IIS)) through any of the following programmatic interfaces

1. Oracle Provider for OLE DB
2. Microsoft OLE DB Provider for Oracle
3. Oracle ODBC Driver
4. Microsoft ODBC for Oracle
5. Oracle Objects for OLE (OO4O)
6. Microsoft .NET Framework Data Provider for Oracle


you may receive one of the following errors:


(1) Oracle Provider for OLE DB

(a) Error Type: Microsoft OLE DB Service Components (0x80070005)

Access is denied.


(b) OraOLEDB.Oracle Provider is not registered on the local machine


(2) Microsoft OLE DB Provider for Oracle

(a) Error Type: Microsoft OLE DB Provider for Oracle (0x80004005)

Oracle client and networking components were not found. These
components are supplied by Oracle Corporation and are part of the
Oracle Version 7.3.3 or later client software installation. Provider
is unable to function until these components are installed.


(b) Error Type: Microsoft OLE DB Provider for Oracle (0x80004005)

Oracle error occurred, but error message could not be retrieved
from Oracle.


(3) Oracle ODBC Driver

(a) Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80004005)

Specified driver could not be loaded due to system error 5 (Oracle
in OraHome92).


(4) Microsoft ODBC for Oracle

(a) The Oracle(tm) client and networking components were not found.
These components are supplied by Oracle Corporation and are part
of the Oracle Version 7.3 (or greater) client software installation.

You will be unable to use this driver until these components have
been installed.


(b) Error number: -2147467259

Error Description: [Microsoft][ODBC Driver Manager] Driver's
SQLAllocHandle on SQL_HANDLE_ENV failed


(5) Oracle Objects for OLE

(a) while using a GLOBAL.ASA file

Error Type: Active Server Pages (0x0)

An error occurred while creating object 'OraSession'.


(b) not using a GLOBAL.ASA file

Error Type: Microsoft VBScript runtime (0x800A0046)

Permission denied: 'CreateObject'


(6) Microsoft .NET Framework Data Provider for Oracle

(a) System.DllNotFoundException: Unable to load DLL (oci.dll).
at System.Data.OracleClient.DBObjectPool.GetObject(Boolean&
isInTransaction)
at System.Data.OracleClient.OracleConnectionPoolManager.
GetPooledConnection(String encryptedConnectionString,
OracleConnectionString options, Boolean& isInTransaction)
at System.Data.OracleClient.OracleConnection.OpenInternal
(OracleConnectionString parsedConnectionString, Object transact)
at System.Data.OracleClient.OracleConnection.Open()
at WCWSItemAvailability.ETAAvailability.SingleAvailability(String
ItemNumber, String BusinessUnit, Int32 OrderQty, Int32&
AvailableQty, Int32& OnHandQty, String& ETADate, Int32& Error)
at WCWSItemAvailability.ETAAvailability.XMLAvailability(String
XMLInput)


(7) Other miscellaneous errors

(a) The Specified Module Could Not Be Found

(b) ORA-00604: error occurred at recursive SQL level 1
ORA-12705: invalid or unknown NLS parameter value specified

(c) Unable to load DLL (OraOps9.dll):
...
[DllNotFoundException: Unable to load DLL (OraOps9.dll).]

(d) System Error 998 trying to run ASP page


Solution Description
--------------------

Oracle 9.2 Client software requires that you give the Authenticated User
privilege to the Oracle Home by following these steps:

1. Log on to Windows as a user with Administrator privileges.

2. Launch Windows Explorer from the Start Menu and and navigate to the
ORACLE_HOME folder. This is typically the "Ora92" folder under the
"Oracle" folder (i.e. D:\Oracle\Ora92).

3. Right-click on the ORACLE_HOME folder and choose the "Properties" option
from the drop down list. A "Properties" window should appear.

4. Click on the "Security" tab of the "Properties" window.

5. Click on "Authenticated Users" item in the "Name" list (on Windows XP
the "Name" list is called "Group or user names").

6. Uncheck the "Read and Execute" box in the "Permissions" list under the
"Allow" column (on Windows XP the "Permissions" list is called
"Permissions for Authenticated Users").

7. Re-check the "Read and Execute" box under the "Allow" column (this is
the box you just unchecked).

8. Click the "Advanced" button and in the "Permission Entries" list make
Re: ERROR [IM003] Specified driver could not be loaded due to system error 5 (Oracle in OraHome92). XuChunming
5/5/2004 10:15:16 AM
[quoted text, click to view]


Thanks for you reply.
I can connect through SQL Plus, and I can also connect this DSN with C++.
when with ASP.NET, it doesn't work .

I use Oracle Personal Edition, I don't have Support Identifier (CSI),
then I can't register Metalink ?
Can you then copy the content of that document ?
Re: ERROR [IM003] Specified driver could not be loaded due to system error 5 (Oracle in OraHome92). Sandi Barter
5/26/2004 1:26:48 PM
I have been looking at this discussion with keen interest since I am
having experiencing this problem...
"ORA-00604: error occurred at recursive SQL level 1
ORA-12705: invalid or unknown NLS parameter value specified"

I would like to try the solution suggested but the entire solion has not
been posted. I cannot seem to create a MetaLink account and do not have
access to the solution.

Thanks



*** Sent via Developersdex http://www.developersdex.com ***
Re: ERROR [IM003] Specified driver could not be loaded due to system error 5 (Oracle in OraHome92). Sandi Barter
5/26/2004 1:44:32 PM

Does anyone have the last part of this solution...I do not have access
to metalik either.

Thanks
Sandi


*** Sent via Developersdex http://www.developersdex.com ***
Re: ERROR [IM003] Specified driver could not be loaded due to system error 5 (Oracle in OraHome92). clarkc NO[at]SPAM missouri.edu
5/27/2004 12:03:36 PM
Paul,

I just posted a note and *then* found this message.

It solved my problem for 'Oracle client and networking components were not found'.

Many thanks,
HankC

[quoted text, click to view]
Re: ERROR [IM003] Specified driver could not be loaded due to system error 5 (Oracle in OraHome92). Paul Clement
5/28/2004 11:35:54 AM
[quoted text, click to view]

¤
¤ Does anyone have the last part of this solution...I do not have access
¤ to metalik either.
¤

I posted the complete solution in its entirety.


Paul ~~~ pclement@ameritech.net
Re: ERROR [IM003] Specified driver could not be loaded due to system error 5 (Oracle in OraHome92). Roy Sinclair
6/29/2004 11:22:06 AM

Unfortunately, many companies don't allow actual newsgroup access within
their networks so we are forced to use secondary solutions like
Developersdex and the software they use truncates messages.

In this case your message with the full solution was trucated partway
through step 8 where it was telling how to adjust the security. If you
would be so kind as to repost the rest of the solution from just step 8
on it would be a great help to those of us who are banned from the
newsgroups.




*** Sent via Devdex http://www.devdex.com ***
AddThis Social Bookmark Button