Connect oracle(10G) to Access
Dear Sir,
I try to connect oracle(10G) with Access.
First step : I created Access ODBC
Second Step: I updated listener , tnsnames , inithsodbc files
Third step : I am testing by the command line
'lsnrctl start LISTENERtest'
but it doesn'yt start and the log file shows the following:
TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 20-MAY-2008 12:06:23
Copyright (c) 1991, 2005, Oracle. All rights reserved.
System parameter file is E:\oracle\product\10.2.0\db_2\network\admin\listener.ora
Log messages written to E:\oracle\product\10.2.0\db_2\network\log\listenertest.log
Trace information written to E:\oracle\product\10.2.0\db_2\network\trace\listenertest.trc
Trace level is currently 0
Started with pid=2328
TNS-01150: The address of the specified listener name is incorrect
could you help me what is the problem?
Message was edited by:
user630033
please excuse, but I have no answer.
My only hint to you is, copy the question to one of the rdbms-, or odbc-forums of the otn. Here is the forms-forum, where the guys normally didn't need an odbc connection to different databases.
try it
Gerd
Similar Messages
-
Connect oracle 10G to access database
Dear Sir,
I try to connect oracle(10G) with Access.
First step : I created Access ODBC
Second Step: I updated listener , tnsnames , inithsodbc files
Third step : I am testing by the command line
'lsnrctl start LISTENERtest'
but it doesn'yt start and the log file shows the following:
TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 20-MAY-2008 12:06:23
Copyright (c) 1991, 2005, Oracle. All rights reserved.
System parameter file is E:\oracle\product\10.2.0\db_2\network\admin\listener.ora
Log messages written to E:\oracle\product\10.2.0\db_2\network\log\listenertest.log
Trace information written to E:\oracle\product\10.2.0\db_2\network\trace\listenertest.trc
Trace level is currently 0
Started with pid=2328
TNS-01150: The address of the specified listener name is incorrect
could you help me what is the problem?The following are the lines I added to tnsnames file:
test
=
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522))
(CONNECT_DATA=(SID=test))
(HS=OK)
And the following are the lines I added to listener file:
LISTENERtest =
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522))
(ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
SID_LIST_LISTENERtest=
(SID_LIST=
(SID_DESC=
(SID_NAME=test)
(ORACLE_HOME=E:\oracle\product\10.2.0\db_2)
(PROGRAM=hsodbc)
Where is the error? -
Error to connect oracle 10g client and designer BO 4.0
hello,
I try to connect oracle 10g client and designer BO 4.0.
I created an ODBC connection to function in the administration tools of data sources but I can not connect once in designer.
I tried using the driver directly oracle designer 10 but I have the same error that is this:
DBD: ORA-12154: TNS: connection identifier specified could not be resolved
someone there had the same concerns?
cordiallyHi,
so it looks like that your TNSNAMES.ORA file isn`t properly configured. Thats why you can connect with the IDT to your Oracle Database.
Your DBA`s should sent you the correct TNSNAMES.ORA file or the entry for your DB prior. After the tnsping works, you will be able to use the IDT properly.
Regards
-Seb. -
Connecting oracle 10g express edition to jdeveloper
I am having all kinds of problems connecting oracle 10g express edition with my jdeveloper 10.1.3.3. I can query the database from my command line so I know it is set up, but for whatever reason jdeveloper will not connect with it. When I try to connect with the database through jdeveloper here is the error I keep getting:
Listener refused the connection with the following error:
ORA-12518, TNS:listener could not hand off client connection
The Connection descriptor used by the client was:
localhost:1521:ORCL
I have been all through the google results looking for an answer and have come to the conclusion that it is something with either the listerner file or the tns file, but as of yet have been unable to locate them. here are both of those files too.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(ADDRESS = (PROTOCOL = TCP)(HOST = ##########)(PORT = 1521))
DEFAULT_SERVICE_LISTENER = (XE)
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = #########)(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)
Please any help would be appreciated I have been at this for days, thanks.This has to be some kind of bug with 10g express because I see lots of people having similar problems. I'm in the process of uninstalling 10g, and I will re-install it see if that makes a difference. Again if anyone has any other ideas please keep them coming because this is utter BS it shouldn't be this hard.
-
JSP Code to connect Oracle 10g Database
Can some give the JSP code for connecting Oracle 10g database
hi
First u have to get ojdbc1.4.jar file ,,,, it is the driver for the oracle
then use the following code :
import java.sql.*;
import java.util.*;
public class connectionBean
Connection con;
Statement statement;
connectionBean()
try
Class.forName("oracle.jdbc.driver.OracleDriver");
con = DriverManager.getConnection("jdbc:oracle:thin:@127.0.0.1:1521:Xe","hr","hr");
statement=con.createStatement();
catch(Exception cnfe){ }
public void testMethod()throws SQLException{
ResultSet rs=statement.executeQuery("select * from COUNTRIES");
while(rs.next())
System.out.print(rs.getString(1));
public static void main (String args[])throws SQLException
connectionBean cb=new connectionBean();
cb.testMethod();
}hope this will help
Good luck
Mohammed -
How to connect Oracle 10g from OBIEE on Linux?
- OBIEE 10.1.3.4.0 is running on Cent 5 Linux M1 (*64* bit). My Oracle database is running another similar machine M2.
- I installed oracle 64 bit client on M1 but could not connect to run the report, connection issue. Even nqcmd didn't helped.
- I guess it was because OBIEE is *32* bit application and hence need 32 bit client.
- I tried installing Oracle 32 bit Linux client on M1 but installation fails with some dependency (Not sure if we can install 32 bit client on 64 bit machine)
Q1 - Any suggestion at this point?
Q2 - Is there any way we could connect OBIEE to Oracle via ODBC drivers. I could not found any odbc driver/so file when I wan installed 64 bit client. Any suggestion for this?
Thanks in Advance!The computer running XE server does not need a client installed.
If you are trying to connect from another computer, install the XE client and create file C:\XEClient\NETWORK\ADMIN\TNSNAMES.ORA with the following contents (replace ip_address as appropriate):
XE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ip_address)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = XE)
{code}Test with
{code:java}
sqlplus SYSTEM/password@XE
{code}
Regards,
Georger
wrote:user_7000018
Hi ,
i am using oracle 10g express edition. i installed oracle 10 xe server it is working fine but how can i connect oracle 10g xe client to this server becouse there is no net configuaration nad Migration tools and also net configuation Assistant . can you explain
Regards,
Dharmendra -
Connect Oracle 10g Developer with Oracle 8i database
Is it possible to connect Oracle 10g Developer with Oracle 8i database. If possible then plz guide how i can.
with Oracle Developer 10g 9.0.4 is no problem to connect to Oracle 8i.
with Oracle Developer 10g 10.1.2. you need the Patch 8.1.7.4 for 8i, i think. -
How to connect oracle 10g XE client to XEserver on win XP
Hi ,
i am using oracle 10g express edition. i installed oracle 10 xe server it is working fine but how can i connect oracle 10g xe client to this server becouse there is no net configuaration nad Migration tools and also net configuation Assistant . can you explain
Regards,
DharmendraThe computer running XE server does not need a client installed.
If you are trying to connect from another computer, install the XE client and create file C:\XEClient\NETWORK\ADMIN\TNSNAMES.ORA with the following contents (replace ip_address as appropriate):
XE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ip_address)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = XE)
{code}Test with
{code:java}
sqlplus SYSTEM/password@XE
{code}
Regards,
Georger
wrote:user_7000018
Hi ,
i am using oracle 10g express edition. i installed oracle 10 xe server it is working fine but how can i connect oracle 10g xe client to this server becouse there is no net configuaration nad Migration tools and also net configuation Assistant . can you explain
Regards,
Dharmendra -
Connect Oracle 10G XE and Oracle 9.2i Simultaneously from same machine
Hello,
How to Connect Oracle 10G XE and Oracle 9.2i Simultaneously from same machine using .Net Application.
I have one application which is in .net, i want to connect it with oracle 10g XE and oracle 9.2i Simultaneously.
it always connect only one database which is first in environment variable (path).
please reply.Use SQL*Net or JDBC Connections. Looks like you are connecting using the Bequeathed connections
Christopher Soza
Oracle BI DBA -
Can not connect Oracle 10g express edition from report builder.
I have newly installed report builder . Different home was selected for Report builder and oracle. Oracle database server is also in the same machine. But i am not able to connect my oracle 10g express edition database. It throws error ORA-12154 : TNS could not resolve service name.( same error displayed while trying to connect from SQL Plus).But from toad i am able to access the database. May be because here I am able to select the proper home.
Here i am adding my tns entry
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 1ECA66A679AB494)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
can any one suggest what the actual problem is?
Thanks ..........Hello,
Oracle 10g XE is rather specific and, I'm not sure that you can upgrade it to 10.2.0.4 .
However, Oracle published an Upgrade Guide for Oracle Express Edition but, it's limited to *10.2.0.3*:
http://download.oracle.com/docs/cd/B25329_01/doc/server.102/b32391/toc.htm
But be careful:
Once you have upgraded to Oracle Database 10g, you cannot downgrade back to Oracle Database Express Edition.Hope this help.
Best regards,
Jean-Valentin
Edited by: Lubiez Jean-Valentin on May 22, 2010 12:06 AM -
Unable to connect Oracle 10g Express from Visual Studio Server Explorer
Hello,
Please help me out here. I am connecting from Visual Studio 2008 to Oracle 10g Express Edition and the I have installed the ODAC 11 and the ODP.NET as well for Visual Studio(Both include Oracle Developer tools). But whenever I tried to connect from my Visual Studio 2008 server explorer so that I can have the database and its object there, I do get this error : "ORA-12560 : TNS: protocol adapter error."
The following is what I specified in my connection box:
DataSource Name: (Local Database)
Username : HR
Password: the password for it.
My OS is : Windows Vista Ultimate.
Please anyone who has solved such error should just help out here.
Thanks allThank you for your reply. I will like to know if you can use Visual Studio. In visual studio there is what we called Server Explorer and from there you can create connection and access all the database server from there. I am able to connect to the Oracle XE through the browser and I was able to crete table and other stuffs like that but when I tried to connect from Visual Studio 2008, I get the 12560 Error. I checked my TNSNAMES and found this:
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = OLAMMIE)(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)
Look at what I have in my Sqlnet.Ora file,
# This file is actually generated by netca. But if customers choose to
# install "Software Only", this file wont exist and without the native
# authentication, they will not be able to connect to the database on NT.
SQLNET.AUTHENTICATION_SERVICES = (NTS)
Please kindly help me out of this as it is very urgent. I can connect from browser using http://127.0.0.1:8080/apex but cannot connect from my C# code and Server Explorer. What is likely to cause this error.
Thank you for helping me in advance. -
Running VB6 on Itanium Server to Connect Oracle 10g workaround
Hello, It might help someother in the future, so I am writting it here. It took our one week to find that walkaround solution.
Platform:
Windows 2003 Server Enterprise Itanium + Oracle 10g R2 Itanium Server
Code written in Visual Basic 6.0 + VC++6.0 (MFC, heavily ATL)
Database access are done thru OLE DB.
Problem:
32 bit applications are not able to connect to Oracle 10g. A vbs test application can connect to 64 bit oracle itanium server, but the same code in vb6 cannot connect to oracle.
Error message is -> 'Provider cannot be found. It may not be properly installed.'
We found that means an 32 bit application cannot access to 64 bit oracle data providers for ole db!
Solution:
We have installed 32 bit Oracle 8.1.7 client on Itanium server. And We have created TNS definitions within Oracle 8.1.7 oracle\network\admin directory manually (you have to do that by hand) when we run TNSPING <OUR-TNS> it started to work.
Out vb6 test application started to run correctly after these.
I hope this will help somebody, since nobody helped us to save time.The essbase server name is ts119licalnn, it is shown under essbase servers in EAS.
By not using the default Essbase node 'EssbaseCluster-1', it has revealed the port number EAS uses to connect to essbase, in this instance, 1443.
The problem was that I did not have the correct port number, is there an easier way of finding the correct port number?
Cheers, -
I want to connect oracle 10g developer run time forms to oractle data base
Hey,
Would any body want to tell me, how come i can connect oracle dev 10g from its forms with oracle 10g data bases
I am waiting
byeTry asking this on the Oracle Forms forum:
http://forums.oracle.com/forums/category.jspa?categoryID=19
In any case you need to set-up a sqlnet connection from your client to your server. Use the Network Configuration Utility that comes with the Oracle Forms installation. -
How to connect oracle with ms access database
Dear
We are on release r12, right now we have requirement to connect oracle database with ms access to get some information. We have found gateway(Heterogeneous services) using ODBC, but at the database side where is installed oracle r12 there is no installed ms access software becuse of linux operating system, so how could it will connect ms access because without installing ms-access we are unable to find ms ODBC gateway in ODBC driver under the control panel.
Can any body guide me how could achieve this
Edited by: oracle0282 on Sep 21, 2011 12:47 AMIf I understand you correctly you want to access Oracle on Linux from MS-Access (possible on Windows only). You need neither a gateway nor Heterogeneous Services, but an Oracle client including ODBC driver (Instant client with ODBC driver is enough) on the Windows machine.
Configure the ODBC driver with the connect informations to the Oracle server.
Werner -
Connect Oracle 10g and OWB to SQL Server 2005 in Windows XP
I am unable to create a working connection between Oracle 10g and a SQL Server database. I have followed the instructions in several sources, but when I attempt to connect to the MSSQL database through SQL Plus or SQL Developer, I get the ORA-03135 error. I set up a non-Oracle location in OWB and the connection test was successful but the metadata would not import. Creating an Oracle location with the same parameters produced the ORA-03135 error.
In TNSNAMES.ORA I placed the following definition:
MSSQL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = wgilt1.hsd1.nj.comcast.net)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = MSSQL)
(HS = OK)
In LISTENER.ORA I placed the following in the SID_LIST_LISTENER:
(SID_DESC =
(SID_NAME = MSSQL)
(ORACLE_HOME = C:\oracle\product\10.2.0\db_2)
(PROGRAM = hsodbc)
The inimssql.ora file contains the following:
HS_FDS_CONNECT_INFO = MSSQL
HS_DB_NAME = MSSQL
HS_FDS_TRACE_LEVEL = ON
HS_FDS_TRACE_FILE_NAME = c:\hs_fds_mssql.log
What is missing?could be a copy paste issue, but please make sure the tnsnames.ora has at least on space in from of each line after the alias.
In addition what is the listener status? Please post the output of lsnrctl status <listener name>.
Need to know also the output of: C:\oracle\product\10.2.0\db_2\bin\hsodbc
Maybe you are looking for
-
Need help with date and time calculations please
Hello there.. Im stuck, and im hoping someone can help.. Working on a list to manage and track PTO. User completes PTO request form, Fields Name Start Date (with time) End Date (with time) Total Number of Days/hours requested: (calculation) Full Day
-
Possible BUG: duplicating a shape layer only duplicates previously selected points - PS CS6
Unless PS has been updated to make this a feature, i may have found a bug. Now (in CS6 vs. previous versions) when you duplicate a shape layer, if you had previously selected specific points of the shape (for example with the direct selection tool) o
-
Hi, Problem that I have ... is difficult to explain so picture : As you see when I click under the web gallery and I selected a flash galery or imported web galley (exemple here is airtight simpleviewver...) ... the screen in the middle box keeping
-
Payment Terms field mandatory in PO
how do you make the payment terms field mandatory in ME21N - ie creating a purchase order screen?? pls help
-
Newbie WiFi Question...Help!
I am going on a cross country trip and would like to use my iTouch as my main mode of internet access. Relying on free WiFi at coffee places ect. is not going to cut it. I'm wondering if there is a way to pay for internet access or can that only be d