Connecting from Oracle to Access, what am I doing wrong??

Hi,
I'm tying to establish a connection from an Oracle 8.1.7.0.0. Database to an MS Access database,. I'm following the exact steps as described in the Oracle documentation, but still I can't get a connection.
I have the folowing environment:
Here's what i did. DOES ANYONE KNOW WHAT I'M MISSING?? (i already checked wheter the right Oracle software for odbc support has been installed)
* Created a system DSN (called farmabc) for the concerning .mdb file using ODBC 'Data Source Administrator'
* Created a file called initfarmabc.ora file in the ORACLE_HOME/hs/admin directory. This file contains the following: HS_FDS_CONNECT_INFO = farmabc
* added the folowing statement to the listener.ora file (under SID_LIST_LISTENER):
(SID_DESC=
(SID_NAME=farmabc)
(ORACLE_HOME=D:\oracle817)
(PROGRAM=hsodbc)
* Added the folowing entry to the tnsnames.ora file:
farmabc= (DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)
(HOST=<hostname>) --cannot reveal hostname
(PORT=1521))
(CONNECT_DATA = (SID=farmabc))
(HS = OK))
* Restarted the listener
* create database link test using 'farmabc' (in SQL*plus)
* when I ty to select data from a table within the Access database I get the folowing error:
ORA-12154: TNS:could not resolve service name
Setting tracing on in the initfarmabc.ora file does not generate any logging!!
Does anyone know what's the problem here?????
Thanx in advance

hi
I suggest u simple method to resolve your TNS error.
gotto access db
select any db
click 'file'
right click 'get external data'
click 'link tables'
select files of types='odbc'
noe click 'machine data source'
click 'new'
select 'user data source' & click 'next'
use scroll & select 'Oracle in Oracle page' & click 'next' & 'finish'
now
In data source name= 'give any name'
description='give any name'
TNS service name = select globaldb after clicking the combo box
user id ='type user name'
after doing all these now click the 'Test connection' , if it succeeds,yes u have overome from the TNS error.
You can choose the same globaldb for the TNS service name.
-bala

Similar Messages

  • Connect from Oracle to Access, what am I doing wrong????

    Hi,
    I'm tying to establish a connection from an Oracle 8.1.7.0.0. Database to an MS Access database,. I'm folowing the exact steps as described in the Oracle documentation, but still I can't get a connection.
    I have the folowing environment:
    Here's what i did. DOES ANYONE KNOW WHAT I'M MISSING?? (i already checked wheter the right Oracle software for odbc support has been installed)
    * Created a system DSN (called farmabc) for the concerning .mdb file using ODBC 'Data Source Administrator'
    * Created a file called initfarmabc.ora file in the ORACLE_HOME/hs/admin directory. This file contains the following: HS_FDS_CONNECT_INFO = farmabc
    * added the folowing statement to the listener.ora file (under SID_LIST_LISTENER):
    (SID_DESC=
    (SID_NAME=farmabc)
    (ORACLE_HOME=D:\oracle817)
    (PROGRAM=farmabc)
    * Added the folowing entry to the tnsnames.ora file:
    farmabc= (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)
    (HOST=<hostname>)
    (PORT=1521))
    (CONNECT_DATA = (SID=farmabc))
    (HS = OK))
    * Restarted the listener
    * Restarted the database (just to be sure)

    I'm not particularly familiar with Heterogenous Services, but there is a Heterogenous Services/ Generic Connectivity forum here on OTN. The folks over there are much more likely to have some helpful information for you.
    Justin

  • Hi.  I am having issues with copying files to my shared WB 2TB HDD connected to my airport extreme.  Comes up with error 50.  I am using a Macbook Pro to copy from so not sure what I am doing wrong.  Can someone help? thanks Rory

    Hi.  I am having issues with copying files to my shared WB 2TB HDD connected to my airport extreme.  Comes up with error 50.  I am using a Macbook Pro to copy from so not sure what I am doing wrong.  Can someone help? thanks Rory

    These links might provide some information that may be of help.
    http://support.apple.com/kb/TA20831
    https://discussions.apple.com/message/2035035?messageID=2035035
    I've encountered this error myself upon occasion.  If I remember correctly, it was a permissions/ownership issue with the some of the files I was copying.

  • I am trying to add the Youtube widget, but I get a black box saying blocked plugin. I have even tried to embed it from Youtube as well and it does the same thing. But when I drag the Vimeo widget over, it connects like it should. What am I doing wrong and

    I am trying to add the Youtube widget, but I get a black box saying blocked plugin. I have even tried to embed it from Youtube as well and it does the same thing. But when I drag the Vimeo widget over, it connects like it should. What am I doing wrong and how can I fix this problem?

    Make sure that both the web browser you're using and its Flash plug-in are up to date. Google Chrome has its own Flash plug-in it updates on its own. Firefox, IE and other have separate plug-ins.

  • No matter what I do it says can not connect to iTunes Store. What am I doing wrong

    No matter what I do it says can not  connect to iTunes Store. What am I doing wrong?

    Hey Debbie549,
    I would run through the steps in the following article, specifically the "Troubleshoot issues on an iPhone, iPad, or iPod touch" section:
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    Welcome to Apple Support Communities!
    Regards,
    Delgadoh

  • I'm trying to hookup my new AirPort Extreme with my net gear 7550 router/modem from Frontier. I'm not getting a wifi signal from the airport. What am I doing wrong?

    What am I doing wrong?

    I'm trying to use AirPort Untility to configure the old APExtreme to extend the network, but it won't let me.
    "Extend" is only used if the two AirPort Extremes are connecting using wireless only.
    "Create" is the correct setting to use since the AirPort Exremes are connecting using Ethernet.
    Configure the second AirPort Extreme to create a wireless network using the exact same wireless network name, same security setttings and same wireless password as the "main" AirPort Extreme and make sure that you are choosing the Bridge Mode option for the second AirPort Extreme before clicking Update to save the settings.
    When you do this, everything will act like one big wireless network and computers will automatically pick up a signal from the AirPort with the strongest signal based on their location.
    This Apple document more details on this....which is called a Roaming Network.
    Roaming network

  • On MacBook 10.6, in iTunes 10.3.1, music downloaded from CD, copied from Recently Added, pasted into named New Playlist Folder, is displayed there but can then disappear from this folder. What am I doing wrong?

    QUESTION:     On MacBook 10.6.7, in iTunes 10.3.1, music downloaded from CD, copied from Recently Added, pasted to named New Playlist Folder, is displayed as a list but can later disappear. What am I doing wrong?

    Hi, Mylenium,
    Thanks for your prompt reply, I'm afraid it hasn't helped. I don't see anything wrong in my device manager.
    I have also gone and updated every driver, especially the motherboard chipset and the Sata Intel Rapid Storage Technology driver.
    Unfortunately, this hasn't made any difference.
    Any other suggestions?
    Many thanks in advance!
    Hugo

  • HT5625 i want to update an app but when i put in my password a box pops up and it says "cannot connect to itunes store.  what am i doing wrong?

    when i try to update an app a box pops up and says "cannot connect to itunes store"   what am i doing wrong?

    The Complete Guide to Using the iTunes Store
    http://www.ilounge.com/index.php/articles/comments/the-complete-guide-to-using-t he-itunes-store/
    iTunes Store: Associating a device or computer to your Apple ID
    http://support.apple.com/kb/ht4627
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/TS3297
    Best Fixes for ‘Cannot Connect to iTunes Store’ Errors
    http://ipadinsight.com/ipad-tips-tricks/best-fixes-for-cannot-connect-to-itunes- store-errors/
    Try this first - Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    This works for some users. Not sure why.
    Go to Settings>General>Date and Time> Set Automatically>Off. Set the date ahead by about a year.Then see if you can connect to the store.
     Cheers, Tom

  • On my i tunes page on my laptop, I don't see a tab for Photos in the drop down list in my library, so I can't download photos from my laptop.  What am I doing wrong?

    On my drop down list in my library in i Tunes, I don't see a Photo tab.  How do I find that so I can download photos from my hard drive?

    No, not on the File menu. Click on the Device that shows up when connected:
    Either:
    If you do not use the Sidebar, when the iPod is connected to iTunes, you should see this icon appear to the left of the iTunes Store button:
    Click on the ringed icon (but not on the "eject" part of it!).
    Or
    If you use the Sidebar, you will see the Device appear, as shown below:
    Click on it.
    Once you have clicked on the Device, you should see this (Summary) pane, with the word Summary darkened:
    Click on Photos (as ringed above)...
    Now you are on the Photos pane (notice Photos is now darkened), where there is a drop-down menu. It's that box that says "My Pictures", where you will find "Choose Folder". That option allows you to choose (as I did) "My Pictures".
    Notice in the last screenshot that a message at the very top of the image states that the "iPod Sync is complete". Choosing the folder after the Sync has completed (or passed the "sync photos" section) simply means that it requires another Sync for that change to take effect.
    That's it.
    Now, whatever pictures you place in the chosen folder will be added to your iPod at the following Sync. Likewise, any pictures you remove from that folder will be removed from the iPod at the following Sync.
    You only need to look on the Photos pane if you wish to change the folder option.

  • When trying to update my 3Gs phone with the new ios5 software, it will download the software but then i get a message saying connection time has timed out. what am i doing wrong? i checked my network, its fine

    When i try to update my iphone with the new software, it will give me a message that says connection time timed out, and then it says some other little things about a network not having a connection. i checked all of that and it is all fine. Im not sure why it is not working. i even restarted my laptop, all of my stuff is up to date. Does any one have any sollutions or any advice? Please and thank you!

    This is asked and answered mnay times every day.  The forum search abr is on the right side of this page.
    Disable your firewall/security software.

  • Can only get my daughters iphone 4 to connect to internet at home what are we doing wrong?

    cannot get internet on new iphone 4 anywhere but home.

    Here are some troubleshooting tips:  iOS: Troubleshooting WiFi networks and connections:  http://support.apple.com/kb/TS1398

  • Using Oracle Generic Connectivity to connect from Oracle to Microsoft Acces

    I am trying to connect from Oracle to Access using ODBC. I followed the steps described in oracle documentation but was not sucessful. Could you plase take a look at my code let me know where I went wrong. It is as follows :
    1)Created an ODBC connection for Microsoft Access called 'MSACCESS' (System DSN). And associated accdb1.mdb to this ODBC connection.
    2)Created a table called orders in accdb1.mdb.
    3)Added the foll lines in tnsnames.ora
    accdb1 =
    (DESCRIPTION=
    (ADDRESS=
                   (PROTOCOL=tcp)
                   (HOST=kdandapani.170systems.com)
                   (PORT=1521))
    (CONNECT_DATA=(SERVICE_NAME=accdb1)
    (HS=OK)
    4)added the following lines in listner.ora :
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME=accdb1)
    (ORACLE_HOME=c:\orasrv)
    (PROGRAM=accdb1)
    5) Copied inithsodbc.ora to iniths_accdb1.ora in the ORACLE_HOME/hs/admin directory. Added the following line there :
    HS_FDS_CONNECT_INFO = MSACCESS
    6)Created the foll dblink :
    create database link access1
    using 'accdb1';
    7)tried to access table ORDERS in the MSACCESS database with the foll SQL -
    select * from orders@access1;
    Resulted in the foll error message
    ERROR at line 1:
    ORA-12154: TNS:could not resolve service name

    hi,
    I am new to Generic Connectivity i have just followed all the steps you wrote once in this forum but i m getting the following error :
    SQL> SELECT * FROM LOGIN@MSACCESS;
    SELECT * FROM LOGIN@MSACCESS
    ERROR at line 1:
    ORA-28509: unable to establish a connection to non-Oracle system
    ORA-02063: preceding line from MSACCESS
    Following are the steps you suggested in this forum :
    1)Created an ODBC connection for Microsoft Access called 'MSACCESS'. And associated accdb1.mdb to this ODBC connection.
    2)Created a table called ORDERS in accdb1.mdb.
    3)Added the foll lines in tnsnames.ora
    MSACCESS.170SYSTEMS.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = kdandapani.170systems.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = MSACCESS)
    (HS = OK)
    4)This is how the listner.ora looks after I added SID_NAME=MSACCESS :
    # LISTENER.ORA Network Configuration File: c:\orasrv\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = kdandapani)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = ORALOCAL)
    (ORACLE_HOME = c:\orasrv)
    (SID_NAME = ORALOCAL)
    (SID_DESC =
    (PROGRAM = extproc)
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = c:\orasrv)
    (SID_DESC =
    (PROGRAM = hsodbc)
    (SID_NAME = MSACCESS)
    (ORACLE_HOME = c:\orasrv)
    5) Copied inithsodbc.ora to iniths_MSACCESS.ora in the ORACLE_HOME/hs/admin directory. Added the following line there :
    HS_FDS_CONNECT_INFO = MSACCESS
    6)Created the foll dblink :
    create database link MSACCESS
    using 'MSACCESS';
    7)tried to access table ORDERS in the MSACCESS database with the foll SQL -
    select * from orders@MSACCESS;
    I have used my login table instead of orders. But i got an error that i have stated earlier.
    Can you please help me ? if possible than please forward your reply to : [email protected]
    -thank you man,
    -imran

  • HT4623 When I go to install software update to my phone, it sends the message that I am not connected to the internet. what am I doing wrong?

    When I try to install software update to my phone, it sends the message that I am not connected to the internet. What am I doing wrong?

    Settings > iTunes & App Stores > Apple ID: > View Apple ID > Country/Region...change here.

  • My ipad2 I just got today can't seem to recognize the net. I do have the wifi turned on. What am I doing wrong?

    I just received my ipad2 today, and did all the sync routine.  The wifi is working, but I can't seem to access the net. I get an error message stating "Cannot open page, Safari cannot open the page because it is not connected to the Internet." What am I doing wrong?

    Tap Settings in the Home screen then tap General / Reset / Reset Network Settings.
    Then restart the iPad. Press and hold down the Sleep / Wake button until you see the red slider then swipe to the right to power off, then hold down the Sleep / Wake button until you see the Apple logo.
    If that didn't help, try the iPad Wi Fi help here.

  • I'm trying to activate my new 4S and I can't make any calls -it says "No Service" What am I doing wrong?

    I followed all the prompts and plugged my new 4S into my desktop, everything has sync'd but I still can't make any calls. It's obviously not connecting to the network. What am i doing wrong?

    Do you have a SIM in the iPhone?

Maybe you are looking for

  • Printing only works from one computer

    I have an Epson Stylus C60 connected to the USB port on my Airport Extreme. There are two computers on the network, a PowerBook G4 and a MacBook Pro. Both computers connect to the network very reliably and have internet access. The problem is that th

  • Text file convert to string array

    I tried to convert text file to string array. But it is not successful.  text file :  SD, 1,2,3,4  GD, 3,4,5,6 I use spreadsheet string to Array function but ALL characters is become to zero.  my result:   0,1,2,3,4   0,3,4,5,6 Solved! Go to Solution

  • The informations of LRU in trace file are inconsistent!

    I dump the buffers and want to check the information of LRU list. alter system set events 'immediate trace name buffers level 4'; then , I find the information below in the trace file: CHAIN: 4331 LOC: c0000000164484c0 HEAD: [c000000015febee8,c000000

  • How to find the WBS element for the payment document?

    Dear All, How to find the WBS element in the payment document?...I know in payment doc there will not be any WBS but is there any option where I can find in any of the Tables. I am in the process of developing a Z report where i need to fetch the pay

  • Audio recording length

    i have a maximum audio record length of 15 minutes...how do i increase and or change this???