Oracle odbc dll-pointing wrong
I just moved to windows 7 from xp. I have a query that uses an ODBC driver for oracle. He seeks the msorcl32.dll in \windows\system32 and it isn't there anymore, but it is in \windows\sysWOW32\ how to change the path for the data sources work correctly. I see the incorrect path in the registry, but I was hoping that there is an easier way.
Hello William,.
The question you posted would be better suited in the MSDN Forums. I would recommend posting your query in the link below.
http://social.msdn.Microsoft.com/forums/en-us/categories/
Hope this information helps.
Tags: Windows
Similar Questions
-
Only 32-bit Oracle.DataAccess.dll
Hello
I have the Oracle Client 11.2.0 32bits and 64bits installed side-by-side. When I run CORFLAGS. EXE on the Oracle.DataAccess.dll located in the 32 bit folder Bin of ODP NET and then run it on the dll, which is located in the Bin folder of 64 bit, here are the results:
Oracle.DataAccess.dll (from folder for 32-bit)
CorFlags Microsoft(r) .NET Framework Conversion tool. Version 4.0.30319.1
Copyright (c) Microsoft Corporation. All rights reserved.Version: v4.0.30319
CLR header: 2.5
PE: PE32
CorFlags: 24
ILONLY: 0
32 BITS: 0
Signed: 1
Oracle.DataAccess.dll (from 64-bit folder)CorFlags Microsoft(r) .NET Framework Conversion tool. Version 4.0.30319.1
Copyright (c) Microsoft Corporation. All rights reserved.Version: v4.0.30319
CLR header: 2.5
PE: PE32
CorFlags: 24
ILONLY: 0
32 BITS: 0
Signed: 1Are these 2 files 'AnyCPU' which, in .NET, would make the binary 32 bits? Is there a 64-bit version of this DLL?
Thanks in advance,
Richard
Sorry, I correct myself... DLLs are correct. I have a batch file that executes corflags on about 15 dll from a project that gives me an BadFormatImage exception, and I had made a mistake in the batch file. That made me believe that there is something wrong with my OClient. The corflags results now display correctly:
32-bit Oracle.DataAccess.dll
CLR header: 2.5
PE: PE32
CorFlags: 11
ILONLY: 1
32 BIT: 1
Signed: 1Oracle.DataAccess.dll 64-bit
CLR header: 2.5
PE: PE32 +.
CorFlags: 9
ILONLY: 1
32 BITS: 0
Signed: 1Thank you Alex
-
How to refer to 64-bit Oracle.DataAccess.dll in VS2010?
Hello!
We installed the ODAC 64-bit 4.112.2.0 on our new developer computers. With the 32-bit version of the ODAC, we would do this option to add the oracle references: Add reference-> tab .NET and add Oracle.Web.dll and Oracle.DataAccess.dll. But after our transition to 64-bit files exist no more. We could do something like make a local reference (include the bin folder in project and place the files and point of reference to them for an example) but this does not seem like a good solution. Has anyone else experienced this problem and solved?
/regardsYou need not reference on x 64 version. You can add the reference on x 86 version. If you want to run the VS project, you need x 86 version customer Oracle VS x 86 application.
The two DLLS ODAC (x 86 and x 64) has the same signature. If you build the project with the option "any cpu" then right what ODP.NET version is used for execution.
-
Oracle.Dataaccess.dll using unmanaged for 32 and 64 bit Winform application.
Hello
I am new to oracle ODP.
I have a few questions about her.
1. If I give the reference only and do not include gac Oracle.Dataaccess.dll (suppose 2.11.3.XX) in my project and the client system has the access.dll of oracle version 2.11.2.XX(or autres) then what happens?
Be it use the 2.11.2.xx DLL to GAC or error.
2. I need to create some app for 32 and 64-bit client then should I develop a version for two separate, or are there other alternatives (I can't use the managed oracle DLLS due to .net 2.0).
I've already lost two days on managing versions of oracle as oci.dll ddll, oraop11s.dll etc.
Please suggest any other alternative if you have
Thank you
I think that if you run an application on machine Win x 64 with AnyCPU, 64-bit .NET will be always charged. I don't think you can change this even if you try to load a 32-bit DLL. There may be a way, but I do not know myself.
If you ODP.NET 11.2.0.3 on your system, I don't see why you need to install an earlier version of ODP.NET, such as 11.2.x
-
Using Oracle ODBC connection to a remote Oracle database gateway
Oracle 11 g 2
RHEL 6.4
Someone at - it use the Oracle ODBC gateway to connect to a different Oracle database? Problems with this configuration? Where can I get the drivers for Linux ODBC?
(I know, "why not use a dblink?" -Well that would be against the strategies of enterprise security)
Thanks for your reply. What I wanted was 'just' a dblink of 1 db Oracle to another Oracle db w/o the use of the ODBC bridge.
-
Using Oracle ODBC HS to Sybase get cursors exceeded max
Oracle 11 g 2
Linux RHEL 6.5
-----------------------
When you use Oracle ODBC HS to connect to Sybase via dblink SYB get the following error:
ORA-01000: cursors open maximum exceeded
ORA-02063: preceding line of SYB
When you run the same SQL locally, getting no error. (The same tables in Sybase are replicated in Oracle).
Increased the max sliders and even restarted Oracle - no difference. SQL on system tables do not show more than 250 sliders in use yet max cursors defined at 2500.
This error above suggests a problem of cursor max with Sybase? Or something else?
It can also be a problem with the HS_OPEn_CURSORS. By default, the gateway allows only 50 open cursors will be open to the foreign database. What happens when you set in the gateway HS_OPEN_CURSORS init file = 200?
If it fails again, could you upload to a public file share a gateway (HS_FDS_TRACE_LEVEL = DEBUG) DEBUG trace level?
-Klaus
-
Has anyone else noticed that ODAC version 4 and 5 have the same 4.112.3.0 AssemblyVersion?
Oracle (ODAC) for Windows data access components
It took me a while to spot the problem. I use Entity Framework 5 and hitting a machine with version 4. He threw a completely misleading exception on the laundry.
System.Reflection.TargetInvocationException: Exception was thrown by the target of a call. -> System.TypeInitializationException: the initializer for type for 'Oracle.DataAccess.Client.OracleConnectionStringBuilder' threw an exception. -> System.TypeInitializationException: the initializer for type for 'Oracle.DataAccess.Client.RegAndConfigRdr' threw an exception. ---> System.Configuration.ConfigurationErrorsException: MySchema.MyPackage.MyProcedure.RefCursorMetaData.CUROUT.Column.1 is not valid
at Oracle.DataAccess.Client.RegAndConfigRdr.AddMetadataForRefCursor (String refCursorKey, String metadataInfo, Hashtable & schemaTable)
to Oracle.DataAccess.Client.RegAndConfigRdr.RetrieveInfoFromConfig (NameValueCollection nvc, Hashtable & schemaTable, Boolean bIsCallFromODT)
to Oracle.DataAccess.Client.RegAndConfigRdr... cctor()
Since version 4 ODAC has been installed, the machine had Oracle.DataAccess.dll (4.112.3.0) in the GAC. So, my application could not use my local copy of Oracle.DataAccess.dll (4.112.3.0) of version 5.
There are problems with having the AssemblyVersion similarly for version 4 and 5. Can we get an extra release with an updated version?
There are two questions in your last post:
(1) Oracle.DataAccess.dll versioning
(2) DLL's Client Oracle unmanaged referenced by Oracle.DataAccess.dll
The forum post you quote refers to the #2 problem.
Problem #1, preferred the ODP.NET team is at version every single Oracle.DataAccess.dll version. We can not due to a conflict with the policy of general correction of Oracle. With the help of AssemblyInformationalVersionAttribute is the best compromise.
If you have already downloaded an Oracle patch, you will notice the files share the same version number as other patches within a family group of patches Oracle. With each new group of patches or major version, Oracle.DataAccess, dll can then increase its version, just like every other DLL of Oracle.
-
Not able to see the 64-bit oracle.dataaccess.dll of GAC
Hello
I installed the client of 11g oracle 64-bit with ODP.net and deployed Oracle.DataAccess.dll in the GAC (it is deployed on C:\Windows\Microsoft.NET\assembly\GAC_64\Oracle.DataAccess). But I'm not able to return this dll to a project in Visual Studio, it does not appear in the window "Add reference". Please help me solve this problem. My system is a 64-bit computer.
I did not submit this problem in the 32-bit computer. In 32-bit computer, I installed the client 32-bit oracle 11g and deployed Oracle.DataAccess.dll in the GAC (it is deployed on C:\Windows\Microsoft.NET\assembly\GAC_32\Oracle.DataAccess). I could see this dll to the project in visual studio.
Kind regards
Kiran.Hello
Do you mean the .net tab? I think the problem is u cant reference 64-bit dll like that, since the studio is a 32-bit application. We had the same problem and our solution was to install 32-bit odp.net on our 64-bit machines, and refer instead.
-
When importing data from SQL Server 2005 to Oracle 11 g Release2 gateway, I get following error:
insert into CSDescr select * from CSDescr@sqlserver
*
ERROR on line 1:
ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:
[Oracle] [ODBC SQL Server driver] string data, right truncation + {01004} +.
ORA-02063: preceding 2 lines from SQLSERVER
Oracle database characterset is AL32UTF8
SQLServer database characterset is SQL_Latin1_General_CP1_CI_AS
Here is the configuration file for the gateway settings:
HS_KEEP_REMOTE_COLUMN_SIZE = LOCAL
HS_NLS_LENGTH_SEMANTICS = CHAR
I think that the definition of the parameter HS_LANGUAGE must correct the error, but I want to know what should be the value of this setting?HS_LANGUAGE must be set to a character set used by the foreign database
Try: HS_LANGUAGE = american_america. WE8MSWIN1252
Also specify HS_NLS_NCHAR = UCS2 nvarchars of SQl Server are stored in the UCS2 character set -
Cannot create new Data Source - Oracle ODBC doesn't show any system DSN
On Windows 7 x 64, installed Oracle 10 g using ODBC to connect to the Oracle database, but I am not able to create a new data source as Oracle ODBC doesn't show... illustrious system DSN only SQL server etc etc...If you have installed the 32-bit database Client, try the 32-bit ODBC administration tool: C:\Windows\SysWOW64\odbcad32.exe
Note that 10.2.0.5 is the oldest version of "10g" supported on Windows 7.
http://download.Oracle.com/docs/CD/B19306_01/Relnotes.102/b15680/TOC.htm#BABEBBJFAs an alternative, try the customer Instant 11.2.
For 32-bit applications: http://www.oracle.com/technetwork/topics/winsoft-085727.html
64-bit / x 64: http://www.oracle.com/technetwork/topics/winx64soft-089540.html -
Hi Experts/gurus,
I am trying to create a new data source with Oracle 11 g driver with the details below:
Name of the data source: PeopleSoft
Description:
The TNS Service name: HR91PEN
User ID: sysadm
Password: SysAdm1n
When I click on connect Test I got this error below:
Error:
Unable to connect
SQLState = 08004
[Oracle] [ODBC] [Ora] ORA-12154: TNS: could not resolve the connect identifier specified
Help, please.
Thank you very much...
JPHello
try to use the tnsping to see if you have the connection to the database of tehe.
Let me know.
Kind regards
Gianluca -
Intermediate language of the oracle.dataaccess.dll version
Is there an intermediate version of the oracle.dataaccess.dll that we can use to compile 64-bit applications using 32-bit computers?
We develop our applications on x 32 and deploy on x 64 (it is strictly enforced by our Organization. This means that there is no option for execution of x 32 code on an x 64 server).
The oracle.dataaccess.dll only comes in 2 versions from what I can tell; x 32 or x 64. This forces us to use x 64 build servers. We need the x 32 ODP installed on our machines to dev for the development and the x 64 ODP installed on the servers of x 64 compilation. Dev of 32-bit machines cannot compile an application with an x 64 native dll.
Example:
1. create a new class library.
2. Add the oracle.dataaccess reference.
3. change the platform target in the properties of the project to x 64.
4 compile the application.
5 examine the dll in the bin directory. (I used the reflector, but you can use the corflags util)
The target platform for the class library is x 64. The target platform for the oracle.dataaccess.dll is x 86. Application will not work when you run it as x 64.
ODP.NET is the only 3rd-party product .NET we use which doesn't seem to have an intermediate language dll, and so the only reason why we allocate and maintain separate x 64 build servers to compile our code for x 64 deployment.
It's been a while since I looked into that, so I was wondering if there is a solution now.I guess the poster is after a fully managed version of the provider, but maybe not.
-
I use the oracle gateway (11.1) to sqlserver on Linux platform with the Oracle 10 g server.
I'm getting following error when I run a select query:
ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:
[Oracle] [ODBC SQL Server driver] [libssclient22] General network error. Check your network documentation. [Oracle] [ODBC SQL Server driver] [libssclient22] ConnectionOpen(connect()) (connect()). [Oracle] [ODBC SQL Server driver] Invalid connection string attribute
ORA-02063: preceding 2 lines from SQLSERVER
Another thing is, I've created an ODBC DSN named "sqlserver" as well. This configuration works well when the parameter "program" dg4odbc in Listener.ora. But with dg4msql, it gives an error.
Here are the configuration files:
-----------------
initsqlserver.ora
-----------------
#
# HS init parameters
#
HS_FDS_CONNECT_INFO = database_machine:1433 / / test_master
HS_FDS_TRACE_LEVEL = OFF
HS_FDS_RECOVERY_ACCOUNT = RECOVERY
HS_FDS_RECOVERY_PWD = RECOVERY
------------
Listener.ora
------------
SID_LIST_sqlserver =
(SID_LIST =
(SID_DESC =
(SID_NAME = sqlserver)
(ORACLE_HOME = u01/app/oracle/product/11.1.0.6.0/gateway)
(PROGRAM = dg4msql)
)
)
SqlServer =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = Server_Machine)(PORT = 1522))
(ADDRESS = (PROTOCOL = CIP)(KEY = PNPKEY))
)
)
------------
tnsnames.ora
------------
SQLSERVER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = Server_Machine)(PORT = 1522))
(CONNECT_DATA =
(SID = sqlserver)
)
(HS = OK)
)Hello
The error you are getting is because your HS_FDS_CONNECT_STRING is not correct:
Don't forget you can ping the SQL SERVER name of the Oracle server command, or use the TCP/IP address
Check the port, it is not necessary 1433.
You can use the name of the instance instead of the port:
HS_FDS_CONNECT_STRING = server_ip_address/instance_name/database_nameBe careful, in the LISTENER. ORA, you must specify the gateway machine and not the SQL SERVER machine:
SqlServer =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = Gateway_Machine)(PORT = 1522))<====you must="" specify="" oracle="" gateway="">====you>
(ADDRESS = (PROTOCOL = CIP)(KEY = PNPKEY))
)
)Ditto for TNSNAMES. ORA:
SQLSERVER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = Gateway_Machine)(PORT = 1522))
(CONNECT_DATA =
(SID = sqlserver)
)
(HS = OK)
)Concerning
Mireille
-
We test 12.1.0.2 Oracle and ODBC see problems with the stored procedure being cut output parameter values and Associates when we use the 12.1.0.2 driver (we use the 32-bit version). We see a function sequence error every time that happens, too.
For example, a stored procedure takes a NVARCHAR2 name and it out as a separate NVARCHAR2 output parameter. Using the 12.1.0.2 of the ODBC driver, if we "Basketball", the output can be "Basketball" (with a function sequence error).
What is happening to many of our stored procedures. We do not get the errors of sequence of function or output truncated if parameters we use the 12.1.0.1 version of the ODBC driver to connect to our 12.1.0.2 database, or if we use the version 11.2.0.4 or 11.2.0.2 ODBC driver.
Is this a known problem in the 12.1.0.2 ODBC driver?
Thank you
Daniel Meyer
to submit a bug report to MOS
-
License for the Oracle ODBC database gateway
Hello world!
I am using Oracle Database Gateway for ODBC (Oracle 11 g Gateway) to create dblink Oracle 10.2.0.4
According to this price list, I do not see the price details for the database gateway for ODBC Oracle
http://www.Oracle.com/us/corporate/pricing/technology-price-list-070617.PDF
Please refer to page 3 and 4
and according to the guidelines of it, I don't need a separate license. Could someone shed some light. I have the database and the gateway in the same machine
http://download.Oracle.com/docs/CD/E11882_01/license.112/e10594.PDF
Please refer to page 1-7, which says
Gateway for ODBC Oracle database
Database gateway for ODBC Oracle can be installed and used on a different machine
the machine where the database Oracle is installed and used. Should not be
to obtain a separate license for the machine running Oracle Gateway for ODBC
Please shed some light.
Thanks in advance.Hello
As it is said, as long as you have a license of RDBMS, you need not a separate license for DG4ODBC. If confusion is where it says "Oracle Database Gateway for ODBC can be installed and used on a different machine," then it is just to clarify that you run the gateway on a machine completely separated from the performer the RDBMS under license, but you can also run DG4ODBC on the same machine where the RDBMS is installed.
If you install 11g DG4ODBC on the same machine where you have a 10g RDBMS then it must be installed in an another ORACLE_HOME.If this still isn't clear, so please come back and let us know exactly what you need to clarify.
Kind regards
Mike
Maybe you are looking for
-
Basic: how to move left/right areas within the track?
Hello I have a selected area that I want to move to the left or right within its own track and LPX leaves me no move at all. I selected the pointer tool and I try to click on and drag the box left or right, and it does not move. When I'm clicking,
-
Control options seems to be disabled. Default search must change.
Went to see if I could change the default search, as I don't like yahoo. The box options appears in white. Discussed under Tools, and the option button is also empty...
-
Need the administrative password or power on password for my laptop The error code I get if I try three times is 58892012. Please help me to overcome this problem Kind regards Satheesh.
-
ProBook 6470b: can I have 1 slot DDR3 and an another DDR3L memory?
Hi experts, Can you tell me if it is possible to have a slot with 4 GB of DDR3 RAM and another with 8 GB of RAM DDR3L (same frequency)? I saw him work in my PC, but the DDR3 slot with 1.5V and the other with 1.35v, so I removed DDR3 and I'm only usin
-
I can't open my control panel. It says C Windows 32 not found and I don't have any exe
I can not upcated Windows. something in my Windows cannot open the only way I can open something, I click on boost with advanced Windows care. Is there an easy solution of tree me? Thans Hal