Instant client 10.2.0.3 used with ms sql linked server doesn't work

Hi,
instant client version 10.2.0.3 doesn't work as microsoft sql linked server (both 2000, 2005) while 10.2.0.1 does. (tested by overwriting files in instant client directory - basic instalation, then restart mssql services) - the message is, that the oracle client is not installed when running sql (registration of linked server is ok).
Is it a known issue or is there any workaround?
(Windows XP, 2003, MS SQL 2005, MS SQL 2000, Oracle 9.2.0.6)
Thanks,
Pavel

I installed oracle-instantclient-basic-10.2.0.3-1.i386.rpm on a redhat box to
connect oracle database server 9.2.0.8.0 install on win box.Is there any other Oracle software installed on the RedHat machine?
In which directory did you install Instant Client?
Can you login with sqlplus?
On the database server, I defined parameters like this :
NLS_DATE_FORMAT='YYYY-MM-DD HH24:MI:SS'
NLS_NUMERIC_CHARACTERS='. 'This will have no effect on your problem - these are client environment variables.
Before starting apache (lampp) I set Oracle environement like this :
export NLS_DATE_FORMAT='YYYY-MM-DD HH24:MI:SS'
export NLS_NUMERIC_CHARACTERS='. '
My application worked very fine.
BUT a few days ago (1 week), in my application, the date format display wrong,
I have this format : DD/MON/YYYY even with
export NLS_DATE_FORMAT='YYYY-MM-DD HH24:MI:SS'
before starting apache.The ancient question: Do you remember what you changed before it stopped working?
So I stop my apache and try set Oracle environment like this :
export ORACLE_HOME=/usr/lib/oracle/10.2.0.3/clientAs has been said, do away with that.
export PATH=$ORACLE_HOME/bin:$PATHYou don't need that either.
Except is might be nice to have the directory that contains sqlplus in PATH.
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATHNow that surprises me.
Normally, instant client shared libraries are not installed in a subdirectory.
Does this "lib" directory exist?
You should add the directory containing the *.so files to LD_LIBRARY_PATH.
When I restart apache and test my application, an error php message occurs :
Ocisessionbegin error while trying TO retrieve text FOR error ora-12705
I check my oracle_home, I don't think I make a mistake?It seems that Oracle cannot find the instant client shared library libociei.so.
This library must be found in LD_LIBRARY_PATH.
In this context it would be interesting to know (as I asked above) if any other Oracle products are installed on this machine.
Yours,
Laurenz Albe

Similar Messages

  • Can ODBC set by Instant Client be used in MS SQL linked Server?

    Hi:
    I want to know if a ODBC set by Instant Client can be used to set a linked server in MS SQL.
    I follow the install instruction about Instant Client.
    I create a ODBC setting and the connection tested successful.
    I also build it in DTS package in MS SQL and the data transfer process can be run correctly.
    But when I tried to build a linked server from MS SQL to oracle, it always returned the error message
    System1 Setting:
    MS Win 2003 + MS SQL 2000 + Instant Client 10.1.0.4
    System2 Setting:
    MS Win 2000 + Oracle 9.2
    Any opinion or suggestion is appreciated.
    Toni Lee

    with t_segment
    as
         select block_id, blocks, owner, segment_name,segment_type
           from dba_extents
          where tablespace_name = upper('&1')
          union all
         select block_id, blocks, 'sys' owner, 'Free' segment_name, 'FREE'
           from dba_free_space
          where tablespace_name = upper('&1')
          order by 1
    t_segment_1
    as
          select block_id,
              blocks,
              owner, segment_name, segment_type,
              owner||'-'||segment_name||'-'||segment_type seg
            from t_segment t
           order by 1
    select block_id, owner, segment_name, segment_type, sum(blocks) blocks
       from (select val block_id, owner, segment_name, segment_type,  blocks
            from (select block_id,
                   blocks,
                            owner, segment_name, segment_type,
                   seg,
                   row_number() over(order by block_id) rno,
                   nvl(lag(seg) over(order by block_id),' ') lag_seg
                 from t_segment_1)
           model
           return updated rows
           dimension by(rno)
           measures(block_id, blocks, seg, lag_seg, 0 val, owner, segment_name, segment_type)
           rules update
              val[any] = case when seg[cv()] <> lag_seg[cv()] then block_id[cv()] else val[cv()-1] end
      group by block_id, owner, segment_name, segment_type
      order by block_id

  • Bought a Logitech keyboard to. Use with my iPad 2 but doesn't work. What am I doing wrong?

    Bought a Logitech keyboard for iPad 2... First of all USB cord doesn't fit and had to order adaptor to connect them but still doesn't work...keyboard came with no directions? How do I make this work?

    You're using the Camera Connection Kit. This is designed to connect cameras to your iPad in order to import photos you've taken. However, the Camera Connection Kit, although that was not what it was designed for, has been known to sometimes accept certain simple USB keyboards and even USB headphones. Obviously, your Logitech is of a better quality keyboard and does not work with the CCK, because it wasn't designed to accept anything other than a camera.
    Most Bluetooth keyboards, if not all, should work with your iPad. There is the official Apple Keyboard which looks and works great, and connects to an iPad or a Mac using Bluetooth. However, it is a bit on the expensive side ($70). I'm sure there are good alternatives if you need.

  • ExecuteNonQuery doesnt return number of rows affected when used with PL/SQL

    ExecuteNonQuery doesn't return number of rows affected when used with PL/SQL but returns -1. The documentation says ExecuteNonQuery method of OracleCommand returns the number of raws affected but when used with PL/SQL, it returns -1 even the update statement successfully executes and affects multiple records with no exeptions thrown.
    However, if ExecuteNonQuery is used with update sql statement in the asp.net code it returns number of rows affected correctly. Does anybody know why ExecuteNonQuery behaves like this?
    I am using ODP.NET that comes with Oracle Client 11g. The version is 2.111.6.20 of ODP.NET, Oracle database server is 10g.
    Marat

    You can get the rowcount in the stored procedure via SQL%ROWCOUNT and then pass it out as a parameter.
    For example:
    SQL> create or replace procedure updatesal(v_deptno in number, v_rowsaff out number) as
      2  begin
      3  update emp set sal = sal * 5 where deptno = v_deptno;
      4  v_rowsaff := SQL%ROWCOUNT;
      5  end;
      6  /
    Procedure created.Cheers

  • I am trying to use livetype with persian alphabet and it doesn't work. what should I do?

    I am trying to use livetype with persian alphabet and it doesn't work. what should I do?

    There is no more LiveType with Motion 5.  You may want to go to the Final Cut Express forum, as that's the only place it's existed for the last few years.

  • How can I get Firefox version 5? I use an application for banking that doesn't work with version 6 yet.

    I am using an application for banking with Bank of America that doesn't work with Firefox 6 so I need to install Firefox 5 until Bank of America can update their app to work with Firefox 6. Can you tell me how to find the download for Firefox 5?
    Thank you

    I have an old iPhoto version and it still works with Mavericks, the version before yours, that is puzzling.

  • I bought one Iphone a 3 weeks ago and I can´t listen what people speak with me, because de microphone doesn´t work, I need  to use the speaker, somebody know what I need to do?

    I bought one Iphone a 3 weeks ago and I can´t listen what people speak with me, because de microphone doesn´t work, I need  to use the speaker, somebody know what I need to do?

    Just thought that I'd report that I've decided on my solution.
    It seems that just making do with what I can find on the US store is the easiest and perhaps also the best way of going about it. All other methods mean trouble. I'm lucky that China hasn't outright blocked the US store, as they HAVE blocked iTunes music store in China already (something about a song about Tibet caused them to block the store entirely).
    So yeah, just going to deal with it I guess. I should be grateful I'm getting anything at all, considering the country I'm in. Still, I just feel so ripped off sometimes when I pay for expensive devices and I can't even get much out of them do to my region. iPhones cost around $700 in China because there's no company like AT&T that you can just sign a contract with to get one, so you have to pay up-front for the phone, and get less features out of it in the end. Makes buying smart phones look like a waste of time and money sometimes, since you can't use the device to do what it was built to do due to censorship and not having any content for your region (though they do have a lot of Chinese apps that I can't use due to not knowing Chinese).

  • XDK APIs (C/C++/Java) and tools can also  be used with MS SQL Server

    I want to know if XDK APIs (Java or C/C++ APIs especially) and tools can be used with MS SQL Server or not?
    I want to write a simple application that updates XML ( acordXML used for insurance) document into SQL Server tables. Of course I am assuming to transform into appropriate XSU APIs format.

    No. Use SQLXML instead on a SQL Server.

  • Installing OLEDB Provider (10.2.0.3) for use in creating SQL Linked Servers

    I've installed the Oracle OLEDB Provider (version 10.2.0.3) on my SQL Server 2005 box (Windows 2008 64-bit). However, when I reboot the server after install I do not see the OraOLEDB.Oracle provider in my list of providers available to use to create a linked server to the Oracle database.
    Could someone help steer me in the right direction?
    Thanks!!

    Hi,
    This forum is for links from Oracle to non-Oracle databases. For issues with connectivity to Oracle using ODBC/OLEDB it would be better to ask the question in the ODBC forum -
    ODBC
    They have the experience of connections to Oracle and the software involved.
    Regards,
    Mike

  • I have purchased the new apple earpods a while ago (few months). And I was wondering if I can use my warranty cause one earpod doesn't work anymore

    I have purchased the new apple earpods a while ago (few months). And I was wondering if I can use my warranty cause one earpod doesn't work anymore.
    So please help!

    See this:  Using iPad or iPod with multiple computers, http://support.apple.com/kb/HT1202

  • MY IPOD APPEARS TO BE ZOOMED INTO THE SCREEN AT ALL TIMES, MAKING IT DIFFICULT TO DO SIMPLE TASKS SUCH AS GO BACK, OR SELECT A PLAYLIST, ETC. I'VE TRIED PULLING IT OUT WITH MY FINGERS BUT THAT DOESN'T WORK. PLEASE CAN YOU HELP!!! THANKS.

    I've got a touch iPod and for about a week now it's almost been permenently zoomed into the screen? I actually cannot get it to zoom back out. I've tried pulling the screen out with my fingers but that doesn't work. It's zoomed in on my home pages, on my music, settings everything! It makes simple things like deleting a number from my password login extreamly differcult. Please can someone help?!?! Thanks.

    Double tap the screen with three fingers to un-zoom.
    Then go to Settings > General > Accessibility > Zoom and turn this OFF.

  • I have ipad with IOS 7,  Some apps doesn' t work, safari not open some web site. What can I do?

    I have ipad with IOS 7,  Some apps doesn' t work, safari not open some web site. What can I do?

    Try this and see if it helps.
    Settings>Safari>Clear cookies and data.
    Now close Safari completely. Double tap the home button and you will see apps lined up going left to right across the screen. Swipe to get to the app that you want to close and then "swipe up" or "drag up" on the app preview thumbnail to close it.
    Reboot 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 if it appears on the screen - let go of the buttons. Let the iPad start up.

  • Just bought my white iphone4 and after syncing with my computer the speaker doesn't work now. I tried reset and even restore and still does not work. Do I have to exchange?

    Just bought my white iphone4 and after syncing with my computer the speaker doesn't work now. I tried reset and even restore and still does not work. Do I have to exchange?

    Make sure the silent switch is not set to mute.  If you can see the red dot, it is on mute.
    It may think you have headphones plugged in, try plugging and unplugging a wired headset a few time.
    The next step would be to restore as new.
    If none of that works, a warranty exchange would be the resolution.    

  • I have internet optic fiber connection and I'm trying to configure it with my Airport Express but doesn't works, appears that I have IP and DNS, as I'm a computers dummy , who could help me to configuration it, please?

    I have internet optic fiber connection and I'm trying to configure it with my Airport Express but doesn't works, appears that I have IP and DNS, as I'm a computers dummy , who could help me to configuration it, please?

    You're welcome.
    Voicemail is left at your carrier's server. That will continue to work unless you report your iPhone as lost or stolen with your carrier.
    You may never find it again and you can't if the iPhone remains offline or out of service which means the iPhone is powered off or doesn't have cellular reception.

  • My MacBook adaptor stopped working so I used my roommates. Now hers doesn't work after just one day. What happened?

    My MacBook adaptor stopped working so I used my roommates. Now hers doesn't work after just one day. What happened?

    Hello, cherilyn.  
    Thank you for visiting Apple Support Communities.  
    I understand that a couple MagSafe adapters will no longer charger a couple MacBooks.  Here are the best troubleshooting steps to go through when experiencing this issue.  
    Apple Portables: Troubleshooting MagSafe adapters
    Cheers, 
    Jason H.  

Maybe you are looking for

  • Total line in PA report painter

    Hi, I have a problem with total line calculation in KE30 report. I have defined a few colomns in the form like gross sales, discounts, returns by some customer and I have written a MAX formula for one colomn. When I select material for drill-down. th

  • XStep conditional formatting. Can it be determined at run time ?

    Does anyone know of a way to put conditional formatting into an XStep generated table output. For example, this is what we are trying to do: - At some point after an order is generated and released, materials are issued to it. - We have created a fun

  • Error installing Coldfusion on Ubuntu. Please help.

    I'm attempting to get Coldfusion up and running on my development box. I found a tutorial for installing 7.01 on Debian, but I cannot get past the phase of installation. Here is the error that i get: ./coldfuion-702-lin.bin.bak Preparing to install..

  • Can't open Flash files on Windows XP

    I have Flash Player 9 installed. I can view Flash files online in my browsers (IE and Firefox), but when I try to open a Flash file on my computer to just play it in Flash Player, it asks me what I want to use to open the file. I have searched the su

  • 8x External Slim Issues

    Just bought the 8x external and loaded it all up 100% when I click on the free software Nero9 StartSmart Essentails it says unable to create XML parser instance please reinstall Mirocsoft XML core Services (MSXML) 4.0 SP2 or higher all french to me w