Problem with dblink through ODBC

Hi. Our company are trying to connect to an Oracle 7.3.4 database from Oracle 10g through an ODBC link (using Microsoft Oracle ODBC driver). The database link is working when we test it in SQL Plus, meaning that select * from tablename@dblinkname is working. But, when we are using
Select count(*)
from tablename@dblinkname we get an error:
SQL> select count(*) from address@testlink;
ERROR:
ORA-28500: forbindelse fra ORACLE til ikke-Oracle-system returnerte denne
meldingen:
[Generic Connectivity Using ODBC][Microsoft][ODBC driver for Oracle]Error in
row 1[Microsoft][ODBC driver for Oracle]Error in column 1: Numeric value out of
range (SQL State: 01S01; SQL Code: 0)
ORA-02063: foran 2 lines fra TEST_SID
no rows selected
SQL>
Why is this happening when the tatabase link is working with regular selects?
We think that the problem is centered around the odbc and db link settings. Could it be that we need to specify more in the HS init file? This is our file initTEST_SID.ora:
# HS init parameters
HS_FDS_CONNECT_INFO = odbc_test
HS_AUTOREGISTER = TRUE
HS_FDS_TRACE_LEVEL=OFF
HS_DB_NAME = hsodbc
# Environment variables required for the non-Oracle system
#set <envvar>=<value>
Could it be the ODBC driver version? Our MS ODBC driver is:
Microsoft ODBC for ORacle version 2.575.1022.00, MSORCL32.DLL
Has anybody experienced something like this before?
Ronny

I tried the same thing when we needed to connect a 9i database to a 7.3.4 database, but could not get it to work.
Instead, we used a database link to an 8i database which had a database link to our 7.3.4 database. We had to set up some views on the 8i database to hide the link, but it was only temporary. If you go down this route, check your licensing situation.
Tak

Similar Messages

  • Problem with Printing through Deskjet F4288 on Network

    Need suggestion to sortout the problem with HP Deskjet F4288 All in one Printer. This printer is installed on Windows XP OS System and when we try to give print on the network through other WinXp OS system then the spooler stopes working on the main system on which this printer is connected.

    This sounds like the same issue on another post.
    Here is one of the responses  from that thread:
    "For those who still have this problem, I found the solution on this forum -thanks MP2000 (see http://h30434.www3.hp.com/psg/board/message?board.id=Networking&message.id=839#M839)
    Go to the computer that the HP F4280 printer is connected to.
    Click on Start --> Printer and Faxes
    Right click on HP Deskjet F4280 and select Properties
    Click on Advanced tab
    Uncheck "Enable advanced printing features"
    click OK
    And it works!"
    I was an HP employee.
    Please mark the post that solves your problem as "Accepted Solution"

  • Problem with printing through SAP

    Hi All,
    We have problem with printing, only one person through SAP can only print the documents successfully and the remaining are getting incomplete print output. This is happening only for transactions GD23 and FB03 (FI related transactions). We have tried with removing Saplpd folder and installing Sprint as suggested by SAP from note 894444. Still problem persists. Please suggest me in this regards.
    Veerendra Kumar.

    Hi Ardhian,
    We are using Front end printing and already installed SAP GUI new version i.e. 7.10.
    Only one user is able to print the document correctly from SAP, and other are getting incorrect print and getting error message "System cannot print the last 80 columns of the report" on one system.
    SAP version we are using is 4.7EE.
    Let me know if any more information needed for analysing the issue.
    VeerendraKumar.
    Edited by: Veerendra Kumar Mutyala on Feb 20, 2009 5:35 AM
    Edited by: Veerendra Kumar Mutyala on Feb 20, 2009 5:37 AM

  • Problem with "Pass Through Chapters" Theme

    I was searching old post to get some help and this one help a little but there was still one problem unanswered. I have highlighted in red;
    Nov 14, 2008 3:41 PM Re: Pass Through Theme problem
    Re: Pass Through Theme problemin response to Glo H
    My smaller text which appears in white says Scenes 1-6. The pass through text which is larger and has a different image in it says "Pass Through Chapters" and it rolls by while the smaller text stays put. I notice the image that shows through the pass through text is the same image I set on the main DVD screen. On that one my name of my disc roll past in giant see through letters. I like that but I just don't want that same effect on my chapters screens.
    Can the image behind the rolling text be changed to the current window and not the main menu image?

    Thanks for the tip and figured out to delete my "Scenes 1-6" that was automatically created when, in iMovie, I shared the movie to iDVD with chapters. The menu title text block doesn't like cut/paste and I had to retype the "Scenes 1-6" text for the motion/peek-through scrolling text to refresh.
    Hmmm, but how tricky is that and where is it mentioned in the help/faq files etc?
    cheers

  • Hp 8600 All in one printer problem with scanning through wired network its very slow!

    Hi
        i have problem with scanning thru network which takes almost more than 2minutes very slow compared to scanning when printer connected locally with USB.  i need some solution to fix this issue. Plz advise me what needs to be done prior to scanning? 

    Welcome to the community @Larrypat 
    I understand your printer is not connecting wireless and only connecting USB. I have some questions and ideas for you that should help. Let's get to it!
    Could you please remove the USB cable, run the Print and Scan Doctor again and send me a screen shot of the results from running the diagnostic tool?
    Also let me know which model from the C7200 series you have:
    HP Photosmart C7250 All-in-One Printer
     HP Photosmart C7280 All-in-One Printer
     HP Photosmart C7288 All-in-One Printer
    Try power cycling the network devices:
    Turn off the printer and computer and unplug the router for 1 minute (do not press any buttons on the router).
    Plug the router back in and wait another minute, next turn on the printer and computer. Run the Print and Scan Doctor afterwards and try printing.
    Let me know how it goes and the results
    R a i n b o w 7000I work on behalf of HP
    Click the “Kudos Thumbs Up" at the bottom of this post to say
    “Thanks” for helping!
    Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution!

  • Problems with playback through iPod headphones

    I've had an issue when I plug in my supplied iPod headphones that the audio playback is muted and the vocals unclear. I checked the headphones on my Mac and when plugged all the way in...same result. Any suggestions short of returning them?
    PowerBook G4, iPhone   Mac OS X (10.4.10)  

    Thanks for responding.
    Yes I'm using iTunes to rip the CDs.
    I've tried ripping some songs to AAC 256 kbps without VBR, AAC 128 kbps without VBR, MP3 256 kbps with VBR, MP3 256 kbps without VBR and MP3 128 kbps without VBR. Same problem. Songs play fine on computer when played out of iTunes. Put songs on Shuffle and some will play and other will partially play before skipping to the next song.
    The same songs ripped to AAC 256 kbps with VBR played just fine on my first generation 1GB Shuffle. On the new 2GB Shuffle they don't. I wasn't worried when the 2GB Shuffle I bought had a problem I thought it was just a case of one bad apple in the bunch (no pun intended). Now that I've gotten the replacement 2GB Shuffle and it has the same problem I'm left wondering if there's not a problem with them in general.

  • Problems with scrolling through premiere timeline using arrow keys and shift arrow

    This is a really weird problem in cs6.
    When I load a clip into the source monitor i can scroll throughit fine using the arrow keys, and shift arrows and my shuttle pro controller.
    When I place the same clip on to the timeline it really struggles to scroll using the arrows or the shuttle pro, its really kerky and sdlwo to scroll the timeline, which is really frstrating, becuase it can play the footage fine in the source monitor.
    The clips will playback fine, but scrolling through them just doesn't work as it should any ideas?
    Cheers
    Mike

    I changed my shuttle settings to make the shuttling more responsive:
    1 - 5 times second
    2 - 10
    3 - 15
    4 - 30
    5 - 45
    6 - 60
    7 - fast as possible
    At least I changed this a long time ago - don't know if these are the defaults or not.
    It'll only shuttle as fast as your system is responsive of course - so if you get instantaneous scrubbing by dragging the CTI in the timeline with the mouse, you should be able to get good performance with the shuttle. Of course that performance depends on the type of footage and how demanding it is on CPU to decode and whether youi have effects applied etc etc etc.
    I edit pretty much exclusively with Sony XDCAM EX 1080P 25 footage we've shot on EX3 and PMW-350 etc and I get very very fast performance on the timeline - no issues at all i7 6 core 4GHz with 24Gb ram and fairly fast RAID array for footage.

  • Problem with going through Fluxbox menus

    Hello!
    http://i.imgur.com/AHTii.jpg
    I have a problem. Right-click to open the menu, then I go until the "choose a style" or somewhere deeper. When I come back to something like "File utils" and still the cursor, it doesn't open further menu automatically like those from the beginning to "choose a style". I have to click to open it. When I was going down to "choose a style" - menus were opening automatically with some delay, as it's supposed to be. But it always stops to behave like this after few menus I go through until I close the whole menu and open it again with right-click. I have the latest Fluxbox and everything up to date. Help me to fix this please.

    Yea I noticed the same problem...
    I haven't used fluxbox in quite a while..I just installed it recently because I couldn't get awesome-wm to build properly after reinstalling arch due to hard-drive failure..

  • Urgent! Problems with bridge JDBC-ODBC

    Hello,
    I have found out that JDBC-ODBC bridge in JDK 1.4.1 don't works fine, because, if you want to store text largest 254 characters in a field type text in one record of a Access database's table, it generate a SQLError, I have tried with EasySoft JDBC_ODBC and it works, with it I could store text fields largest than 254 characters, but I have new problems, EasySoft bridge is not free, and don't let store nulls in fields type Date [with PreparedStatement x, x.setDate(theDate)] (raise a SQLError), in the other hand, JDKs bridge do it. Somebody knows if exists JDCB-ODBC free drivers more suitables than JDK's includes, or if exists upgrades?
    Is very urgent!, Thanks a lot
    (Sorry, my english is very poor)

    I have tried it, Is there where I found the EasySoft's JDBC-ODBC driver, but the result is: one problems out, yes, now with this driver I can store String largest 254 characters in fields type MEMO of a table in Access Database, but two new problems, 1st. is a trial version, (requiere paid), and 2nd. don't let store nulls in fields type Date when JDKs JDBC-ODBC bridge lets, and the aplication needs leave this fields blanks.
    Any other idea?
    Thank

  • Strange problem with cut-through proxy

    hi
    i have configured cut- through proxy on the router with acs.i am facing a strange problem .
    my routers's ethernet 3/0 interface ip add is 10.1.1.1/24 and the acs server is 10.1.1.2/24 and the host ip is 10.1.1.3/24
    my routers' e2/0 interface is connected a server running a website .
    int e2/0
    no shutdown
    ip add 20.1.1.1/24
    exit
    the webserver is running on 20.1.1.2
    my router's config
    aaa new-model
    aaa authentication login default group tacacs+
    aaa authorization auth-proxy default group tacacs+
    aaa authorization exec default group tacacs+
    tacacs-server host 10.1.1.2
    tacacs-server key cisco
    ip http server
    ip http authentication aaa
    ip access-list 101 permit tcp host 10.1.1.2 eq tacacs host 10.1.1.1
    ip auth-proxy name auth http
    int e3/0
    no shutdown
    ip add 10.1.1.1/24
    ip access-group 101 in
    ip auth-proxy auth
    exit
    on the acs server in the tacacs+ ios
    i have selected auth-proxy in the services for users and groups
    i have created a user john with privilege level 15
    have selected auth-proxy and custom attributes
    proxyacl#1=permit tcp any any priv-lvl=15
    i get the auth-proxy login page when the host on 10.1.1.3 is trying to access 20.1.1.2 web site .
    after putting the login credentials i get authentication failed
    i tried the debug. i see the router is sending the authentication login and password and getting the status from the acs as pass. i also see the auth-proxy triggered. in there i see
    AUTH-PROXY PROTOCOL NOT CONFIGURED.
    could someone pls help me what could be the problem. i am have tried many times to get this work. but not fortunate enough.
    am i missing on any commands on the router or on the acs. i tried doing as the example mentioned in the student guide but still failed. pls help. waiting for some reply.
    sebastan

    Check out the following link...
    http://www.cisco.com/en/US/products/ps6120/products_configuration_guide_chapter09186a0080450b5e.html

  • Any problem with dblinks between 8.1.7 and 10gR2?

    Hi,
    Just want to know if any of you have encountered problem using a dblink between an Oracle database 8.1.7 and a brand new 10.2?
    I guess simple query from the 8i db to 10gR2 data would be OK...or not!?
    But what for queries with joins???
    Many Thanks in advance for your help,
    Sebastien

    Could any of you 'copy & paste' the Metalink Note:207303.1 here on the OTN forum?

  • Problem with connecting [Microsoft][ODBC Driver Manager]

    I am employing the Apache Tomcat 5.5.During the time of execution one Exception occur which implies [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
    In ordinary way of execution of DataBase connectivity(without Apache Tomcat 5.5),it can successfully done.I dont know how to connect with database with tomcat 5.5.
    Could anyone please steer me to find out the solution.

    Need to configure the server.xml file in tomcat .
    <Resource name="jdbc/myoracle" auth="Container"
    type="javax.sql.DataSource" driverClassName="oracle.jdbc.OracleDriver"
    url="jdbc:oracle:thin:@127.0.0.1:1521:mysid"
    username="scott" password="tiger" maxActive="20" maxIdle="10"
    maxWait="-1"/>
    More Info here
    http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html

  • Problem with dblink in Oracle Forms 6i

    I hava a problem and i try to compile a form that use a dblink when i start to compile the form the IDE is close and no errors are shown. That someone know what can i do for it ??...
    The Dblink is defined like this way:
    sqlstr := 'SELECT ' ||
    The_Columns ||
    ' FROM STITXS.CSI_0_DAY_ONE_GROUP@IMM DOG, CSI_0_AREA_TAX ATA ' ||CHR(10)||
    wFilter || The_Grp_Columns;
    this part of code is generating the query dinamically, but i can't compile the form, i just need to change the schema for STWBMS.CSI_0_DAY_ONE_GROUP@IMM and also if i remove this part of code that use the dblink the form compile without problem.
    The version of mi Bada base is Oracle 9i, but the system (Oracle Form) in my enviroment use Oracle DataBase 8i.
    I hope someone can help me.
    Thanks

    You could try to "hide" the db-link by creating a local view above the dblink-table.

  • Problem with CONVERT_ABAPSPOOLJOB_2_PDF through RFC

    Hi all,
    Basically I've copied the ABAP code from FM CONVERT_ABAPSPOOLJOB_2_PDF to an new FM Z_CONVERT_ABAPSPOOLJOB_2_PDF (and the same for CONVERT_OTFSPOOLJOB_2_PDF) and I've remotely enabled the new FM's for use with RFC (so I can use it with PHP saprfc).
    This works superb for OTF files (using Z_CONVERT_OTFSPOOLJOB_2_PDF) and I havn't had any problems at all.
    When I use it for ABAP spoollists (using Z_CONVERT_ABAPSPOOLJOB_2_PDF) 85% of the time I've get an error after opening the PDF in Adobe Reader:
    "An unrecognized token 'x,xxx' was found", where x is a number
    I think this probably has something to do with the fact that the ',' has to be a '.' (or vice versa), but I'm not sure...
    ... Maybe it has something to do with locale settings on sap server and the machine where the RFC function is called?
    Anyone has other ideas for solving this?
    Many thanks in advance.

    ... Please check this thread instead...
    ... thanks...
    Download spool as PDF with PHP problem

  • Performance problem with dblink

    Hi!
    I have 2 servers with a dblink join.
    I push from server A to server B with an insert sentence 80 mb of data (blob datatype). It take between 4 to 5 hours to insert.
    Server A and B are in the same office. (Windows 2000)
    Somebody have an idea why it take this time to work?
    Can I optimize the transfer ? If yes How!
    thanks for your help

    I strongly recommend you take the execution plan while running this activity or generate event 10048 trace and diagonse where the dealy is.
    Once you get trace or execution plan, we could suggest you more realistic.
    If you joins, you can use DRIVING_SITE hint.
    SJH
    OCP DBA

Maybe you are looking for