HS, ODBC and Oracle XE
Hi Guys,
One simple question,
can one use Heterogenious connectivity via ODBC with Oracle Database Express edition
10x
Boris
Yes I would like this information as well.
I think only being able to start on listener is part of it as I can't seem to start multiple hsodbc instances.
Similar Messages
-
Windows 2008 R2 Terminal Services, ODBC and Oracle 10.2.0.5 32-bit client
Hi All,
I am setting up an application to work under windows 2008 R2 terminal services/Citrix XenApp which is 32bit. This application uses ODBC connections and not relying directly on TNSName for connection resolution.
I installed 10.2.0.3 and patched to 10.2.0.5, and when trying to create an ODBC connection I only see "junk" in the connections list for TNS Server Name without regard to what exists in the TNSNAME.ORA file.
We have JDE on the same server which uses TNSNAMES and work fine, so I don't think it is Oracle client related directly, but I've not seen this before.
Has anyone seen this before and know how to resolve?
GeoffPatches are only available to Oracle customers with valid support contracts. If you do have such a contract, pl contact the person in your team who has access to My Oracle Support to download the needed patch. Patches cannot be posted on public servers as this violates ones support contract
Srini -
Unix ODBC and Oracle Instant Client
When I dowloaded Oracle 11 Instant client the the zip file does not contain the libsqlora.so.11.1 file. the odbc_update_ini file contains reference to it. I am trying to configure ODBC on HP UX Pa Risc to use the Instant Client. I have downloaded the UnixODBC driver manager from UnixODBC.org. But I can't seem to figure out how to hook up Oracle 11 Instant Client. Everything I have searched for indicates that libsqlora.so.11.1 is required for the driver manager to work. Who develops this, is it Oracle, is it UnixODBC.org? Do I need to use an older version of Oracle Instanct Client?
Thank you in advance for any help.is it "libsq.." or "libsql.."? Did you check odbc.zip? "libsqora.so.11.1" suppose to be part of odbc.zip. From which location you have downloaded? because in my install location I can see that "libsqora.so.11.1" is part of odbc.zip file and same has been referred by odbc_update_ini file. Download fresh tar(odbc.zip) and recheck!
-
Oracle ODBC and DAO extremely slow
Hi
I'm using Microsoft DAO 3.6 with an Oracle ODBC connection (version 9.2) in an VB6 application.
Opening an updateable dynaset is extremely slow, I have measured the performance with Oracle ODBC, Microsoft Oracle ODBC and Microsoft SQL-Server ODBC as follows:
Oracle ODBC: 1952 ms
MS Oracle ODBC: 360 ms
MS SQL-Server ODBC: 40 ms (connection to a MS SQL-Server)
If I use the SQLpassthrough option the result is about 10 ms in all 3 cases, but the dynaset is readonly !
The testing program is as follows:
Option Explicit
Private Declare Function timeGetTime Lib "winmm.dll" () As Long
Private Sub Form_Load()
Dim wsdata As DAO.Workspace
Dim db As DAO.Database
Dim dbconn As String
Dim rs As DAO.Recordset
Dim start As Long
dbconn = "ODBC;DSN=AdhocitORA;UID=adhocit;PWD=adhocit;"
Set wsdata = DBEngine.Workspaces(0)
Set db = wsdata.OpenDatabase("", False, False, dbconn)
start = timeGetTime
Set rs = db.OpenRecordset("Select * from Afdeling", dbOpenDynaset)
rs.MoveLast
rs.MoveFirst
rs.Close
Set rs = Nothing
MsgBox "Time " & timeGetTime - start
End Sub
Is there any setting in the Oracle ODBC, that need to be adjusted ??
ErlingWhy are you doing a moveLast followed by a moveFirst? That's going to force Oracle to retrieve all the records in the recordset. If there are a lot of records, you'll probably see a benefit if you increase the prefetch in the Oracle ODBC DSN configuration.
Justin -
Microsoft ODBC for Oracle on a Windows 7 64Bit OS and Oracle 11g Client
Hi,
I have installed Oracle 11g client 64Bit edition on a Windows 7 Professional 64Bit OS. Trying to connect to Oracle DB through ODBC Driver I get the following Message:
Microsoft ODBC for Oracle:
"The Oracle(tm) client and networking components were not found. These components ar supplied by Oracle Corporation and are part of the Oracle Version 7.3 (or greater) client software installation....".
Any ideas how to resolve that problem?Hello,
Please verify the ORACLE_HOME directory is listed on the PATH system variable of Windows 7. Please open the Command Prompt
and examine the result of the command PATH.
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
Hi,
I am working with Oracle-ODBC-Driver 8.01.61.00 (from 28.04.2000) and Access2000 under Windows2000 in a german-version.
Access removes the comma by decimal-types.
In Oracle I have 5.12 but access shows me 512 !!! :-((
Who can help me ???
This is very, very, very urgent !!!!
Thanks !
Hallo,
Ich habe Oracle-ODBC-Treiber 8.01.61.00 vom 28.4.2000 dazu Access2000 und Windows2000 auf deutsch.
Leider entfernt Access alle Dezimaltrenner bei Zahlen mit Dezimalstellen.
In der Oracle steht 5,12 und Access zeigt mir 512 an !!!
Wer kann helfen ??? Es ist dringend !!!
DankeNote that the original poster asked the same question a day earlier in the thread "ACCESS and ODBC and Numeric's" which has received a couple of replies.
Justin Cave
ODBC Development -
I am trying to transfer data into an Oracle Database from Access. The table I'm aiming at is a CLOB, and Access/Windows ODBC are complaining about the sql data type being out of range. Experimenting with removing fields from my script I have narrowed it down to the CLOB filed. I have tried google searches and found several answers to the error but none that has anything to do with CLOBs
The table is set up as a linked table and the file dsn looks like this
I'm using DRIVER=Microsoft ODBC for Oracle in my data source and the Access field I was migrating out of is set as "Memo", but again I've tried experimental loads with more restrictive datatypes and different drivers and not had any joy.
I all else fails I can dump the whole lot to an excel file and load it through sql developer but for various reasons I would rather go through the access route if at all possible. Can anyone help please?
ThanksRemember that Microsofts ODBC driver for Oracle was designed with Oracle7 in mind. So possibly clob is not supported. (Also driver was deprecated long, long time ago by MS.)
Within first few links from relevant google search:
http://msdn.microsoft.com/en-us/library/ms713590(v=VS.85).aspx
http://support.microsoft.com/kb/244661
Edited by: orafad on Sep 20, 2011 2:10 PM -
Reg : I am getting an error while Using MicroSoft ODBC For Oracle Driver
I am Using MicroSoft ODBC For Oracle Driver for JDBC. Why i am using this driver is i could not able to get the arabic content if i use the other driver .I Right now i cannot change the NLS Lang because its a production server also it has around 300 gb of data and i can not take risk now by changing the NLS lang.. coming to the below error .i could able to access my data up to 4 Hours after that i am getting this error.If i restart my tomcat i can use my application one more 4 hrs .Please get back to me if u have any solution.Its very very helpful to me......+*
[java.sql.SQLException] [ Microsoft ODBC for Oracle ]
at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6957)
at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7114)
at sun.jdbc.odbc.JdbcOdbc.SQLDriverConnect(JdbcOdbc.java:3073)
at sun.jdbc.odbc.JdbcOdbcConnection.initialize(JdbcOdbcConnection.java:3
23)
at sun.jdbc.odbc.JdbcOdbcDriver.connect(JdbcOdbcDriver.java:174)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:185)
at com.iton.eoffice.DatabaseBean.connecteOfficeMoEnq(DatabaseBean.java:4
60)
at org.apache.jsp.MhewProfilesearchMoEnq_jsp._jspService(MhewProfilesear
chMoEnq_jsp.java:434)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:384)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
20)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
at com.iton.eoffice.tree.CharacterEncodingFilter.doFilter(CharacterEncod
ingFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:228)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:104)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
at org.apache.catalina.ha.tcp.ReplicationValve.invoke(ReplicationValve.j
ava:347)
at org.apache.catalina.ha.session.JvmRouteBinderValve.invoke(JvmRouteBin
derValve.java:209)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:212)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:634)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
5)
at java.lang.Thread.run(Thread.java:619)
------------1234-----------
java.lang.NullPointerException
at com.iton.eoffice.DatabaseBean.getSQLRows(DatabaseBean.java:764)
at org.apache.jsp.MhewProfilesearchMoEnq_jsp._jspService(MhewProfilesear
chMoEnq_jsp.java:435)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:384)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
20)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
at com.iton.eoffice.tree.CharacterEncodingFilter.doFilter(CharacterEncod
ingFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by sreenivas navuluri:
Oracle(tm)Client and networking components not found. These components are supplied by Oracle Corporation and part of Oracle Version 7.2 or greater Client software installation. You will be unable to use this driver until these components have been installed . This error occurs while selecting the Microsoft Odbc for Oracle driver from the ODBC in control panel. Pls suggest<HR></BLOCKQUOTE>
null -
Integration b/w uccx7.0 and oracle 10g
hi,
currently i am doing integration b/w uccx7.0 and oracle 10g. i have installed the oracle client 10g . and i added the DSN in ODBC and also the test connection is succesful.. but when i mention the DSN in app admin page (Subsytem> Database). it is showing me error that some of the information is incorrect for the connection. and is not allowing me to add DSN in appadmin page of uccx 7.0.. even though i am using the same information in sqlplus to query the database from ipccx. Do i need to mention sth to make it work.
Regards
NarehHi there
A few things you have to watch out for.
Firstly if you have create the DSN and able to connect to it via the ODBC its more likely that the driver was not loaded correctly.
- Remove the Driver and DNS
- Install the driver again and create the DSN and test if it works
- Reload the whole windows <----- was working on a case for 3 hours UCCX just wasn't loading the new 10g drivers reload fixed this
Now create the database connection and test.
Should this not work you can try the following:
CSCtb80893 -
Visual C++ 6.0 and Oracle
Hii..
I m using Visual c++ 6.0 and Oracle 10 g. I m very new to vc++. And i would lik to build some database applications.
I couldnt find any resource in the net.
can anyone help me ?? Send some sample codes and documents !!
sankar.sBTW this is not the right forum for C++ stuff, this one's meant for anything related to ODBC
I guess you meant building database applications using C++
For that you can use OCCI, following link can provide some info on OCCI with few samples
http://www.oracle.com/technology/tech/oci/occi/index.html
For detailed documentation on OCCI you can browse
http://download.oracle.com/docs/cd/B12037_01/appdev.101/b10778/toc.htm -
Windows 2003 64 bit and Oracle Client install issues
A bit of background. We are a Microsoft shop using SQL Server 2005 / Windows 2003 64 bit servers. We need to have ODBC drivers and Oracle OLE provider to connect and transfer data vis SSIS.
We have installed a package (ODAC10203x64.zip) for OADC 10.0.2.3 which we downloaded from the Oracle website.
We see the software in the program file group. We cannot find the Oracle ODBC drivers, also can't find the Oracle OLE Provider. However the Oracle installation package shows the Oracle OLE Provider has been installed even though we cannot find it anywhere.
Any suggestions?Hi!
But I get the warning
Unable to get information about path
LABEL.ASC\ using GetVolumeInformation. Operating system error message: The filename, directory name, or volume label syntax is incorrect.
INFO 2010-09-27 14:42:10.140
Execute step SetPermissionsForSapdatahome of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|3|0|NW_OraDbBuild|ind|ind|ind|ind|5|0
WARNING 2010-09-27 14:42:14.734
Unable to get the name of a domain controller for domain .
INFO[E] 2010-09-27 14:42:46.234
FSL-01027 Account user="ORA_IDS_DBA" does not exist.
INFO[E] 2010-09-27 14:47:16.281
FSL-01027 Account user="Administrators" does not exist.
Actually, my PC is not in Domain, its in workgroup.
So installation is stop at the create database phase
so please suggest me How to solve the problem
Thanks
Ganesh -
Microsoft ODBC for Oracle / Microsoft Server 2008 r2
We are testing the operational system Windows Server 2008 r2 in one of our clients. This system does not accept the installation of the tool Microsoft ODBC for Oracle. We’d like to know how to install this Driver, once Microsoft’s webpage does not mention any help related to this issue (there is instruction only for the installation of MDAC). We’ve consulted discussion forums and all types of ocurrence on the Internet, but we started to think it’s a Bug of the version. Can you inform us what’s the solution for the problem?
We are looking forward to your answer.user5459571 wrote:
We have new webservers (Microsoft Server 2008 r2 64bit) that will need to connect to a variety of Oracle databases.
Our DBAs have provided:
10204_vista_w2k8_x64_production_client
We have installed it, but, notice that the Microsoft ODBC for Oracle driver is not listed.
It would be better for us to use the Oracle client, but, we do need to connect to Ticket Machines that are based on a Oracle v 8 database. (So, basically, if we use a 10g client trying to connect to a oracle 8 database, it will display the error: ORA-03134 Connections to this server version are no longer supported.)
It is not possible for us to upgrade the Oracle 8 database to current, so, we have to use the Microsoft ODBC for Oracle driver.
So, basically, we have a Oracle 8 database that we can not presently connect. (those machines are feeling abandoned)
Ideas? ThanksIf you insist on using the MS driver, you'll have to get that from MS. Why would you have expected it to come with an Oracle installation?
And to get the Oracle driver, you have to do a 'custom' installation and select the Windows components, as it is not installed with a default installation.
And all that aside from the very serious version compatibility issues. -
Linking Access tables, creating a query with using both Access and Oracle
Hello,
I am using 3.0.04.34 version Oracle Developer. I am supposed to create a script/procedure to use both Access tables and oracle tables together. There is an option in developer to copy the access tables into oracle. But it doesn't help me. Because when we updated the access tables
the copied ones are not be updated. How can I created a linked access tables to oracle and create a query with using both access and oracle table together.
I will appreciate if you guys help me. I look forward to hearing from you guys.
Thanks,
PinarPinar,
to be able to query MS Access tables in Oracle you need an additional product, the Oracle Database Gateway for ODBC. It allows you to link any foreign database into an Oracle database using a suitable ODBC driver. You can then access the MS Access tables through a database link based on the Database Gateway for ODBC. This will also allow you to join local Oracle and remote MS Access tables from your Oracle database.
There's a note on My Oracle Support which gives you more details:Document 233876.1 Options for Connecting to Foreign Data Stores and Non-Oracle Databases - For example - DB2, SQL*Server, Sybase, Informix, Teradata, MySQL
And there's also a dedicated Forum: Heterogeneous Connectivity -
Error using "Microsoft ODBC for Oracle" driver
I am trying to connect to Oracle 10g Express Edition from Access 2003 on Windows XP. I created a DSN using "Microsoft ODBC for Oracle" driver. When I try to connect using ADO, I get this error:
[Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed
I googled this error and got a lot of hits but no solution.
Any help would be greatly appreciated. I am new to Oracle and am coming from SQL Server 2000.
Thanks a lot!This is the connection string I am using:
Conn1.ConnectionString = "driver={Oracle in XE};Dbq=GMIS_LIVE.WORLD;Uid=Administrator;Pwd=ubs;"
These are the contents of my tnsnames.ora (what entries do I add to make this work)?
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = your-a9279112e3)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
) -
Oracle 10gR2 64bit odbc from oracle to sql server Win 2008 EE 64bits
Hi, I am having trouble with a 10gR2 64bits creation of odbc from oracle to sql server, I have follow several instruction with no luck at all. My OS is windows 2008 EE 64bits on the oracle and sql server server.
This is what I have done
1. in the $oracle_home/hs/admin directory
inithsodbc.ora
# HS init parameters
HS_FDS_CONNECT_INFO = hsodbc
HS_FDS_TRACE_LEVEL = off
2. in the $oracle_home/network/admin
# listener.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
(SID_DESC=
(SID_NAME=hsodbc)
(ORACLE_HOME=C:\oracle\product\10.2.0\db_1)
(PROGRAM=C:\oracle\product\10.2.0\db_1\hs\hsodbc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = xx.xx.xx.xx)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
And the tnsname.ora
# tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
PRUEBA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = xx.xx.xx.xx)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = prueba)
hsodbc =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=xx.xx.xx.xx)(PORT=1521))
(CONNECT_DATA=(SID=hsodbc))
(HS=OK)
I create the odbc connection an test it , the result is TEST PASSED
4. The i create a database link on my database
CREATE PUBLIC DATABASE LINK XYZ
CONNECT TO "sysdba" IDENTIFIED BY "masterkey"
USING 'hsodbc';
5 execute a select
SQL> select * from dual@XYZ;
select * from dual@XYZ
ERROR at line 1:
ORA-28545: error diagnosed by Net8 when connecting to an agent
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: preceding 2 lines from XYZ
6. When I check the listener log i'm getting this error
25-MAR-2011 11:48:40 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=Administrator))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169870592)) * status * 0
25-MAR-2011 11:48:47 * (CONNECT_DATA=(SID=hsodbc)(CID=(PROGRAM=)(HOST=PRO)(USER=PRO\Administrator))) * (ADDRESS=(PROTOCOL=tcp)(HOST=xx.xx.xx.xx)(PORT=49329)) * establish * hsodbc * 12518
TNS-12518: TNS:listener could not hand off client connection
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
Edited by: user626125 on Mar 26, 2011 11:39 AM
Edited by: user626125 on Apr 12, 2011 2:49 PMHeterogeneous Connectivity
Maybe you are looking for
-
Slow as a snail Time Capsule - suggestions please?
I have been using a 1Tb Time Capsule for backing up about 600 Gb of mainly image information along with my main HD for a year or so without any major problems. The drive was full a long time ago but (as I understood it) when new material comes along
-
I rented a movie, watched it, then accidentaly deledted it. Now I want my family to watch it and the rental period (48h) is not yet past. How can I download it again ? Thanks
-
HI, how can i divide from a unique accounting period in several months for sales, That is I want to obtain as many columns as many months of the accounting period. thanks a lot
-
When i run ur program to inser blank line in file the output file contains nothing
-
Software Update and Installer no longer work
I have a PowerMac G5 tower and a iBook G4. Both were prompted to automatically update to 10.4.11-- my laptop is fine. My PowerMac, however, can no longer launch the Software Installer. I tried downloading 10.4.11 as a standalone to install it, but th