OLEDB provider and RAC

Hi,
we have an old C++ application run on Windows.
Data access technology is OLEDB (for Oracle is Oracle OLEDB provider).
Data are commonly in two schema in an Oracle database.
One of our customer want to move to RAC (Oracle Real Application Clusters).
My question is to our application will access the data as before (without any changes)?
Regards,
Imre

Hi,
we have an old C++ application run on Windows.
Data access technology is OLEDB (for Oracle is Oracle OLEDB provider).
Data are commonly in two schema in an Oracle database.
One of our customer want to move to RAC (Oracle Real Application Clusters).
My question is to our application will access the data as before (without any changes)?
Regards,
Imre

Similar Messages

  • SAP BW Multidimensional OLEDB Provider and NOPROMPT option

    Hello
    I'm trying to connect to a SAP system using the SAP BW oleDB provider with this kind of connection string:
    Provider=MDrmSap.2;Data Source=SAP VPN;Password=PASSWORD;User ID=USERID;Location="";Integrated Security=False;Persist Security Info=True;Impersonation Level=Anonymous;Mode=Read;Protection Level=None;Extended Properties="SFC_CLIENT=001;SFC_LANGUAGE=EN";Initial Catalog=$INFOCUBE;Prompt=4
    I use the "Prompt=4" parameter in order to prevent the driver from displaying any window.
    => I get this error:
    Authorization failed.
    I'am sure of the login.
    Moreover, if I remove the Prompt=4 parameter, a login box is displayed, then I just click OK, and the connection succeeds...
    code (C#):
    var conn = new OleDbConnection(theConnectionString);
    conn.Open();
    The currently installed version of SAP gui is
    SAP GUI for Windows 7.20 (Compilation 1)
    the version of mrdrmsap.dll (the "SAP BW DRM OLE DB for OLAP Provider") is 3.8.0.4
    Has anyone already encountered this behaviour please?
    I know this used to work with a previous version of the SAP Client.
    Is it a known problem with this specific version of the SAP client ?
    Thanks in advance for any information,
    Mary.

    Hi Nikee,
    can you make sure the OLAP BAPI component from the SAP Integration Kit is installed on the BusinessObjects server ?
    thanks
    ingo

  • Oracle database connectivity using oledb provider and atl classes in c++

    dear friend ,
    i m connecting oracle database in c++. i m using ATL classes and oledb provider for oracle. however i m facing some defficulties in stored procedure.
    Normally MYSQL and sql server database is resulting result set in stored procedure i.e. we can use " select * from tablename" query in c++ to returning result. but in oracle we can not use this approch as because it dosent support. so how can i execute below stored procedure in c++ code. i have to retuen result set in STP. i m using SYS_REFCURSER in oracle . but how do i execute it in c++ code.
    create PROCEDURE stp_getRecord ( p_curser SYS_REFCURSER) as
    begin
    open p_curser for select * from table_name;
    end;
    please help me asap.

    I tried it, commented out the reader.read and have the following connection string
    string connectionString = "provider=ORAOLEDB.ORACLE; data source=ORCL; password=****; user id=****; OLEDB.NET=True"
    Unfortunately the result is the same.
    Edited by: Dino2dy on Nov 24, 2011 12:53 AM

  • Oracle connect failed on x64 and IA64 platform via Oracle OLEDB provider

    Hi everyone,
    I installed SQL Sever on x64 and IA64 machine, and Create a database via Oracle datasource. I can connect the datasource via OLEDB and .Net provider successfully on x86 machine. But failed to connect the Oracle datasource on x64 and IA64.
    Following is the error messgae:
    1) Install 64 bit build on x64 machine:
    Error message: Test connection failed because of an error in initializing provider. ORA-06413: Connection not open.
    2) Install 32 bit build on x64 machine:
    Error message: Test connection failed because of an error in initializing provider. Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation.
    I know there is a know bug on c:\Program Files (x86)\... with Oracle provider. And some one has given a workarround method that I should move my my application out of the the folder path which includes parentheses. But it really is mess method for SQL Server (That is my application)......
    Is there any other workarround method? Or when will Oracle fix this bug?
    Thanks^_^
    Lindsay

    Is 10204 available for x64 and IA64. It is said that there is only 10204 for x86 machine, right?
    I downloaded 10203 for IA64 machine and tested connection on SQL Server with Oracle datasource via Oracle OLEDB provider, and got the following error (The data source is Oracle92 installed on another machine):
    Test connection failed because of an error in initializing provider. Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation.
    Could you please tell me what's wrong with it?
    Thanks
    Lindsay
    Message was edited by:
    lindsaywang

  • Append hint + ADO + Oracle OleDB Provider

    Hi everybody!
    This is my first post here in this great forum! ;-)
    I have a problem using Append hint with Oracle OleDB Provider and I've been searching internet for an answer without any luck.
    I'm trying to use Append hint with ADO + Oracle OleDB Provider (OraOLEDB.Oracle.1), like in the SQL below:
    INSERT /*+APPEND*/
    INTO my_table(field1, field2, field3)
    SELECT 0 field1, v.field2, v.field3)
    FROM my_second_table v
    The problem: Oracle is still creting log for this INSERT (It is working like there was no Append hint).
    If I use the same SQL statement with Microsoft Ole DB Provider for Oracle, the Append hint works as expected (log is not created), but doesn't work at all with Oracle DB Provider.
    Trace shows me that the SQL sentence is ok (the append hint is there!).
    I've tried Oracle servers 9.2 and/or 10g, and the problem is the same.
    Question: Does Append hint work with Oracle OleDB Provider? If yes, why it is not working? Something related with connection properties?
    Any help will be much appreciated!
    Thanks in advance.
    Alexandre Machado

    user8010279 wrote:
    Hi Solomon, thanks for you answer.
    Is the same SQL against the same database, with the same program, using ADO + OleDB Provider.
    The table is in NOLOGGING mode.
    When I use Microsoft OleDB Provider for Oracle there is no log creation. Then I disconnect and reconnect to the same server/database, using Oracle OleDB Provider. Then I execute the same SQL and.... there IS log creation, meaning that in that scenario, append hint is being ignored. I can't figure out WHY!!! :-(
    Alexandre,
    I'm not sure what you mean by "there is log creation". In general you need to distinguish between UNDO and REDO generation. A direct-path insert (APPEND hint) doesn't generate undo but still can generate redo, depending on the ARCHIVELOG / FORCE LOGGING mode of the tablespace resp. database and the LOGGING/NOLOGGING attribute of the table.
    Note that in case indexes exist on the table there will always be undo and therefore redo generation for the index maintenance as part of the direct-path insert.
    You should check V$SESSION (SQL_ID in 10g, SQL_ADDRESS + SQL_HASH_VALUE in pre-10g) and V$SQL in the database to double check if the SQL passed by the Oracle OLEDB Provider actually contains the APPEND hint in case the INSERT actually generates UNDO (which is the indicator that shows you if the direct-path insert is used or not). Whether it generates REDO is - as already mentioned - depending on other factors.
    So the question is how have you determined if the direct-path insert mode has been used or not?
    The simplest approach to test if direct-path insert mode is used or not is to issue a query on the object inserted into after the insert before committing the transaction. If it fails with "ORA-12838: cannot read/modify an object after modifying it in parallel" then you successfully inserted using direct-path insert.
    Note that there a number of restrictions that prevent the direct-path insert from happening, in those cases the APPEND hint will be silently ignored, e.g. enabled triggers, foreign keys on the table. A quite comprehensive list of restrictions is listed in the manuals here:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28313/usingpe.htm#CACEJACE
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/

  • Multiple Recordsets and the Oracle OleDB Provider

    We are trying to return multiple recordsets from an Oracle SP through the Oracle oledb provider using VB. First of all, is this possible and is there any example code out there. Having trouble finding some info on this.
    Thanks

    After reading install guide I figured out waht might be the problem.
    I put OLEDB install into the same home (ora81).
    It was suppose to go into different home directory (ora92).
    Also, OLEDB is one of few components which can't exist in more then one
    home dir on single machine. Installer knows that, and skips install of
    OLEDB provider itself. So in my case I had to first uninstall OLEDB provider 8.1.7
    and then install OLEDB provider 9.2
    Thanks,
    ...dejan

  • Differences between Oracle OLEDB Provider & Microsoft version

    I am trying to connect to an Oracle database from a SQL Server SSIS package. When I use the Microsoft OLEDB Provider for Oracle (MSDAORA) the connection manager in the package sees a full list of the tables in the Oracle database but when I use Oracle's own OLEDB provider (Oracle.OLEDB.1) I see a much smaller list. I cannot see anything different about the tables that Oracle's Oracle provider fails to see. Has anyone come across this phenomenon before ? Are there some table name characters or data types that the Oracle provider objects to ?

    Not very likely.
    One possible explanation is they query different levels of the datadictionary.
    Sometimes the ALL_ level is queried, sometimes the DBA_ level, sometimes the USER_ level.
    At least you need to ascertain whether you are using the same Oracle account in both drivers. This can also make a difference.
    Anyhow: usually the Oracle driver implements way more functionality compared to the Microsoft driver, so the Oracle driver is to be preferred anyway.
    And probably the Oracle drivers results are correct (one really should use the ALL_ level instead of the DBA_ level).
    Sybrand Bakker
    Senior Oracle DBA

  • Upgrade OLEDB provider

    Hi,
    We found a bug in Oracle OLEDB Provider what released with 11g (R1 or R2) client.
    It give size of text type columns (e.g. nvarchar2) wrongly (double size as it is in character).
    I found that 11.2.0.3 version of it was repaired and free of this bug.
    It is part of ODAC 11.2.0.3, but I can not install it to remain the oracle client properly working.
    Net Manager disappear (freeze with close) when I push 'test' button during create a new net service.
    So my question is:
    how can I upgrade OLEDB provider (e.g. with new ODAC installation) and the client tools (net manager, SQL* Plus)
    remain working?
    In previous versions (as I remember 9i, 10g) it was not problem to install ODAC into the same oracle home.
    I had try to install it into new oracle home, but it result to the same.
    Regards,
    Imre

    You may want to back up your packages, then use a simple text editor to search and replace in your DTSX packages...
    Talk to me now on

  • Oracle OLEDB PRovider with ASP

    hi,
    Can anyone provide me a piece of code which demonstrates how to call an Oracle sp from asp using the Oracle OLEDB provider.
    I would also appreciate if the Oracle package code could be provided too, since with the Provider we have to have a different code for the stored procedure (Ref cursor..??)
    I have been successfully connecting using the Microsoft ODBC Driver, but looks like it has some big time bugs in it which causes our server to hang and a dllhost.exe to consume large amounts of database memory.
    Anybody can help me with that?
    Many Thanks,
    Harshad.

    Harshad,
    Oracle OLEDB samples are available at
    http://otn.oracle.com/sample_code/tech/windows/ole_db/content.html
    URL.
    "Returning multiple recordsets from a stored procedure" sample demonstrates
    how REF cursors are returned from a Stored Procedure (contained in a DB package).
    This sample is a stand alone application and not an ASP program, but the same code
    can be helpful for ASP too.
    Regards
    Jagriti

  • Oracle.Oledb provider returning improper out-put

    Dear All,
    Need your help in below issue.
    I have SSIS package which pull data from Oracle to SQL Server.
    Currently I have used Oracle.Oledb provider for the same, but it is giving me improper result.
    I check on oracle end count for that table was 26000 and when I run the same query through SSIS it shows 0 rows.
    The preview of the query is showing 0 as output.
    but when I tried the same using Microsoft OLEDB provider for Oracle it giving me proper out-put

    Hi Sushant,
    UseSessionFormat - specifies whether to use the default NLS session formats or let OraOLEDB override some of these formats for the duration of the session. Valid values are 0 (FALSE) and 1 (TRUE). The default is FALSE which lets OraOLEDB override some of
    the default NLS session formats. If the value is TRUE, OraOLEDB uses the default NLS session formats.
    Setting UseSessionFormat=true in the connection string will result in the provider using the session format specified by the client install, which should resolve this issue. The following connection string for the connection like below:
    Data Source=DataSourceNameHere;User ID=UserIDHere;Password=PasswordHere;Provider=OraOLEDB.Oracle.1;Persist Security Info=True;UseSessionFormat=True;
    Reference:
    http://blogs.msdn.com/b/dataaccesstechnologies/archive/2012/01/20/every-bug-is-a-microsoft-bug-until-proven-otherwise.aspx
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Oracle OLEDB Provider

    Good Afternoon:
    I am having trouble running sql thru VB with the
    Oracle OLEDB provider. The sql runs fine with the
    MSDAORA provider. My error is 'missing right parenthesis'.
    Here is the sql:
    SELECT b.DIVISION_ID KEY, b.PLAN_TYPE PLAN, 900000 FS_CODE,
    SUM (CASE WHEN NOT (d.PHARMACY_NETWORK_CODE IN ('9003','9004','9012') and b.CORPORATION_ID NOT IN ('U120','U180'))
    then a.NET_CHECK_DUE_AMT/c.COMPLETION_FACTOR else 0 end) IN_PAY,
    TRUNC (a.SERVICE_DATE,'YEAR') INCURRED_YEAR, SYSDATE
    From PHARMACY_FACT a, PLAN b, COMPLETION_FACTOR c, PHARMACY_CLAIM_GROUPING d
    Where a.PLAN_KEY = b.PLAN_KEY
    AND a.PHARMACY_CLAIM_GROUPING_KEY = d.PHARMACY_CLAIM_GROUPING_KEY
    AND c.FINANCIAL_SERVICE_SUBGROUP = 900000
    AND c.MONTH_INTERVAL = MONTHS_BETWEEN(TRUNC(TO_DATE('09/30/2003','MM/DD/YYYY'),'month'), TRUNC(a.SERVICE_DATE,'MONTH'))
    AND a.SERVICE_DATE BETWEEN TO_DATE('01/01/2000','MM/DD/YYYY') AND TO_DATE('07/31/2003','MM/DD/YYYY')
    AND a.PAYMENT_DATE BETWEEN TO_DATE('01/01/2000','MM/DD/YYYY') AND TO_DATE('09/20/2003','MM/DD/YYYY')
    AND b.PLAN_NBR NOT IN('R1','V1','V2') AND b.CORPORATION_ID IN('F275', 'P475')
    GROUP BY b.DIVISION_ID, b.PLAN_TYPE, TRUNC(SERVICE_DATE,'YEAR')
    When I comment out the case statement, sql runs.
    I tried putting parens around other parts of the
    statement but to no avail.
    Any help would be greatly appreciated.
    Thanks,
    Mike

    Sounds like the bug 2597418 that was fixed and released in 9.2.0.2 of Oracle OLEDB Provider

  • Oracle OleDB Provider VS MS OleDB Provider

    I am using Stored Procedures in Oracle Packages and Microsoft ADO for data access.
    My Stored Procedure use a Ref Cursor output parameter to make data available to ADO's recordsets.
    A big difference in network traffic is found between "Microsoft OLEDB Provider for Oracle" and "Oracle OLEDB Provider" (the native driver provided by Oracle).
    The main issue :
    <<Oracle OLEDB Provider>>
    1) A stored procedure is put into an empty package for testing and returning no row, the result is 4KB downstream traffic.
    2) When the SAME stored procedure is put into a large package (a package that already contained 30 other stored procedures, > 1000 lines codes), the result is 70KB downstream traffic for same call that return no row.
    <<Microsoft OLEDB Provider>>
    1) and 2) both use approximately 4KB downstream traffic.
    However, for a query that return large number of rows (~2000 rows), Oracle OLEDB Provider used 143KB but MS OLEDB Provider used 400KB downstream.
    The behaviours for upstream are similar.
    My application is required utilize limited bandwidth, the the strange behaviour of the Oracle OLEDB Provider make my development of "Packaged" Stored Procedures a big problem.
    Does anyone know if there are any tricky on the Oracle OLEDB Provider? Please advice, thanks in advance.
    Regards,
    Jeff

    Sounds like the bug 2597418 that was fixed and released in 9.2.0.2 of Oracle OLEDB Provider

  • Oracle Client OLEDB Provider Installation

    I need to call Oracle OLEDB Provider "setup.exe" once I complete installing our product (using Installshield). I tried all different ways to do this and I have absolutely no luck.
    1. I tried calling LaunchaAppAndWait(SRCDIR^"disk1\\install\\win32\\setup.exe", "", WAIT) in OnFirstUIAfter event before SdFinishEx function and Installshield doesn't wait for Oracle Installer to finish its installation.
    2. I tried to get window handle for each window created during Oracle Installation and waiting, this somewhat makes Installshield to wait but hangs once Oracle completes its installation and sequence of windows displayed can change during Oracle Installation if user clicks on back button which will make Installshield to hang.
    Enable(STATUS);
    SetStatusWindow(count, "Please wait... launching Oracle Universal Installer");
    WindowName = "Welcome";
    FindOracleWindow();
    WindowName = "File Locations";
    FindOracleWindow();
    WindowName = "Available Product Components";
    FindOracleWindow();
    WindowName = "Summary";
    FindOracleWindow();
    WindowName = "Install";
    FindOracleWindow();
    WindowName = "End of Installation ";
    FindOracleWindow();
    hWnd=NULL;
    Disable(HOURGLASS);
    Disable(STATUS);
    3. I followed knowledge base article w[i]Long postings are being truncated to ~1 kB at this time.

    There is an Instant Client page on OTN http://otn.oracle.com/tech/oci/instantclient/instantclient.html as well as an Instant Client forum (Products | Database | Instant Client) where you may want to post any followup questions. I know you can use ODBC with the Instant Client, so you could use the OLE DB to ODBC provider. My hunch is that you cannot use the Oracle OLE DB provider with the Instant Client, but you're probably better off posting that question to the Instant Client forum for a definitive answer. If you can use OLE DB, the Instant Client documentation needs to be updated to mention that.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Cant connect to Ora8.1.6 db using OLEDB provider for Ora8.1.7 cant find 8.1.6 OLEDB

    Hello,
    I need to connect to an Oracle 8.1.6 Database using OLEDB. Currently, we have one workstation with an ODBC connection and has an OLEDB Provider for Oracle 8.1.6. I can connect to Oracle using OLEDB on this machine (Winnt4 SP4) and see data from the tables. But I need to connect to the same Oracle DB from another workstation (Winnt4 SP6).
    I dowloaded the OLEDB Provider for Oracle8i from the Oracle Website, and on install I observed that this one was for Oracle 8.1.7. I keep getting an error message that it can't resovle the Service Name. I have played with the Net8 Configuration assistant for Oracle8i and the other selection for Oracle8.0 or 7.0. But I keep getting the same error on the NT SP6 machine. I have looked at the tnsnames.ora file on the SP6 machine and the SP4 machine. They are different, and I tried to make the .ora file on the SP6 machine match the .ora file on the SP4 machine but still can't resolve the Service Name. I would be very grateful if someone could help me out - either finding an earlier OLEDB Provider or some configuration trick.
    Many thanks,
    Rich Protzel

    Did you ever get this issue resolved? Do you know where I can get the Oracle Provider for OLE DB for 8.1.6?
    Aaron

  • Can I use the 10402 oledb provider to  connect to an 8i database?

    I have a win2008 x64 server with the oracle 92 client installed, and I installed the 10402 client and oledb provider.
    I need to connect to an 8i database.
    Is this possible? If so, how do I setup my environment to make this work?
    Thanks,
    OracleNewb

    880676 wrote:
    Is it possible that the "ALTER SESSION" error (just when the application try to connect to the database) is due to change of the client? in this case 11?Possible? Sure. We'd need to see the actual error and the actual SQL statement that is being issued, however. It could be any number of things.
    If I have not other option that to use the client Oracle 9.2.0.4 or higher, can I set something in the Oracle 11 instance configuration in order to accept the "ALTER SESSION" sent by the application?
    By the way, there are any "ALTER SESSION" option that was deprecated in Oracle 11 vs Oracle 8?Oracle 8 could mean a bunch of different versions. If you mean, for example, Oracle 8.0.5, there were eleven major releases between Oracle 8.0.5 and Oracle 11.2. You could look through the New Features guides of each major release to look for parameters that were deprecated. But it probably makes more sense to tell us the actual SQL statement that is failing so we can let you know what options you have.
    Justin

Maybe you are looking for