OCI 11g linking issue

Hi,
I have an application that uses OCI for RDB data access. It works fine with 10.2 Now I am trying to compile it (in visual studio 8) with OCI version 11.
I made sure all the paths and libraries are properly included. The libraries compile but the executable is not linked.
The following error shows up.
error LNK2001: unresolved external symbol OCIStmtPrepare. (the same line appears with most of the oci calls I made).
Just to cheat the compiler I copied the oci.lib from the 10.2 version and relinked the executable, the linker error is gone. The executable is created (this only proves that the paths and libraries are prperly set). But when I run it the application does not crashes with system error (as expected). Can someone please shed some light on what could be wrong and a possible solution for this probelm.
Thanks in advance for the help.
Thanks,
Venkata.

Hi Venkata,
it was not my intention to confuse you. I have a filter that gives me all forum entries when the word "RDB" is used. To find hidden questions about Oracle Rdb which is not Oracle RDBMS. And there was a possibility that you are really using Oracle Rdb because there exists an interface to run native OCI applications against Oracle Rdb.
Oracle Rdb is the DBMS that has been acquired by Oracle from Digital back in 1994. See here if you are interested: http://www.oracle.com/technetwork/products/rdb/overview/index.html
So if you say "I am using ORACLE RDB ... and the database I am trying to connect to is version 10.2" then you meant that you are using Oracle RDBMS 10.2. Oracle Rdb highest version is 7.2.
Sorry to have stepped in here, but as it is clear now that your database is a 10g database, I can't contribute to your problem.
Regards
Wolfgang

Similar Messages

  • Oracle 11g installation issue while linking

    Dear All,
    I am installing Oracle11g as p, At the time while the installation is in progress faced errors related to links.
    we skipped those errors and completed the installation. But after that we are unable to login sqlplus with SIDadm
    error: /usr/lib/hpux64/dld.so: Unable to find library 'libsqlplus.so'.
    Killed
    It seems obvious that the error is related to those skipped links. Now I tried to relink them using the command
    $ORACLE_HOME/bin/relink all, But some links are failed
    I found one common error " sh: cc:  not found"
    Doest it mean we do not have CC installed at HP-UX IA 64 level?
    Could you let me know how do we proceed to resove this linking issue..
    Thanks and Regards

    Hi ,
    Can you please specify the value of SHLIB_PATH environment variable for ora<sid>. The value $ORACLE_HOME/lib should be present.
    Regards.
    Ruchit.

  • Slow program response, crashes when creating titles and dynamic link issues

    Dear reader,
    I am now trialling Adobe CC OSX with Premiere Pro and After Effects before deciding to subscribe but I am experiencing a lot of issues while working.
    I am now working on an animation, but editing raw mxf files also gives crashes and slow responses/ program refreshes.
    1) Slow mouse response
    2) Slow program refresh while key framing visuals
    3) Rendering in PP is extremely slow when AE is open in the background, when closing AE and re-initiate the render in PP it renders super fast
    4) Crashes. When I overlay titles in my time line PP regularly crashes
    5) Dynamic Link issues when working combined in AE and PP where file connections in the time line get lost when the AE project has too many sequences
    I am curious to find out if other people are also experiencing these issues.
    I am indecisive in getting the paid yearly plan or move to FCPX instead? Or should I get a new MacPro and is this model too old?
    It worked fine 2 months ago, however I was still working on FCP7. After updating it is really bad working with it...
    My system consist of:
    MacPro mid-2010
    OSX 10.9.5 (13F34) (new installation)
    2x2,66Ghz 6-core Intel Xeon
    24GB DDR3 ECC
    Nvidia Quadro K5000, 4GB
    2x PCIe SSD 1TB
    2x HDD 3TB
    2x HDD 2TB
    Feedback is much appreciated! Best regards, Alexander

    this does work for basic colour correction but not when trying to grade an entire suqence to achieve a specific style, applying a vingette or certain effects have to be done in after effects.
    I want to try and get my whole sequence into after effects but preserve the edits and effects added in permier pro, is there any way to do this?
    rich

  • Oracle 11g - Date Issue?

    Oracle 11g - Date Issue?
    =====================
    I hope this is the right forum for this issue, if not let me, where to go.
    We are using Oracle 11g (11.2.0.1.0) on (Platform : solaris[tm] oe (64-bit)), Sql Developer 3.0.04.
    Our NLS_DATE_FORMAT = 'DD-MON-RR'
    Using 'RR' in the format forces two-digit years less than or equal to 49 to be interpreted as years in the 21st century (2000–2049), and years 50 and over, as years in the 20th century (1950–1999). Setting the RR format as the default for all two-digit year entries allows you to become year-2000 compliant. For example:
    We have a date '01-JUN-31' in our source system. It treat this date as 01-JUN-2031' instead of '01-JUN-1931'. One century forward.
    Do we able to resolve using NLS_DATE_FORMAT change?
    How do we resolve this issue?
    Thanks in helping.

    qwe16235 wrote:
    Our source is Oracle data base, where S_date is defined as DATE. Why did you say STRING , when it defined as DATE data type?I doubt you source is an Oracle database. You may have it stored in an Oracle database, but it cam form somewhere else, and was very likely inserted into the table as a string, wherever it came from. Given a string that resembles a date, Oracle will try to convert it to a date using the nls_date_format parameter for the session (which can either be set in the session or inherited form the database). Perhaps this will help explain:
    SQL> create table t (conv_type varchar2(10), dt date);
    Table created.
    SQL> alter session set nls_date_format = 'dd-mon-rr';
    Session altered.
    SQL> insert into t values ('Implicit', '01-jun-31');
    1 row created.
    SQL> insert into t values ('Explicit', to_date('01-jun-1931', 'dd-mon-yyyy'));
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> select conv_type, to_char(dt, 'dd-mon-yyyy') dt
      2  from t;
    CONV_TYPE  DT
    Implicit   01-jun-2031
    Explicit   01-jun-1931So, unless you are really inserting dates, not strings that look like dates, you are going to have problems.
    John

  • 11g migration issues

    I'm not sure if this forum is the right place to post 11g migration issues? If not, maybe someone can let me know where to do that. According to the article (http://www.oracle.com/technology/products/jdev/collateral/migration.html) which describes the manual changes you'll need to make after migrating a 10.1.3.4 app to an 11g (11.1.1.1.0 in my case), 'In this release, the migration wizard automates substituting references to adfFacesContext by the Trinidad equivalent requestContext in pages and page definitions...' I have found that this isn't necessarily the case. For example, in one of my pageDefs, the following reference was not changed to requestContext - RefreshCondition="#{!adfFacesContext.postback}". Also, I still see references to adfFacesContext in some of my jspx's as well. Just wanted to let someone know.

    Update: Not only does the migration process not replace 'adfFacesContext' with 'requestContext' in pageDefs and jspx's, but when I do a search on 'adfFacesContext' so that I can locate all references that need to be replaced manually, the search comes back with 0 hits, when I know there are many. So, apparently the search mechanism is broken too.

  • URL link issue

    Hi
    I am trying to create a link in my project to one of our
    company intranet pages. I am using a click box and the URL - it
    works fine in the Preview from Slide or next 5 slides, but when I
    Preview in Web Browser it doesn't connect. Any suggestions as to
    what might be the cause?
    Thanks
    Alex

    Hi Alex
    Hmmm, before investigating too deeply, I'm seeing some
    familiarity here. For starters, the first link is to a .PDF. It's
    been my experience that links to .PDF and Word .DOC files is "iffy"
    at best. If you truly copied and pasted the links, I'd first try
    removing the %20 from that first link. That's something the browser
    normally inserts for a space. So instead of:
    http://wlgweb/Corporat/HumanResources/Staff%20Conduct/EmailInternetUsagePolicy.pdf
    Change it to read:
    http://wlgweb/Corporat/HumanResources/Staff
    Conduct/EmailInternetUsagePolicy.pdf
    This may help and it may just be twisting in the wind. But
    I'd try that first. I've often seen linking issues arise from that
    silly %20. If possible, try to avoid that. I'm guessing here that
    it may not be possible to control in your case as someone else may
    be in control of those names. I've personally always opted to
    either use a mix of upper/lower case names ( StaffConduct ) or
    substitution of an underscore where spaces would normally occur (
    Staff_Conduct ).
    Other wierdness I've seen when linking to .PDF content:
    * I personally had a different PDF reader (Foxit) installed
    as my default. When Foxit was my default reader, PDF links refused
    to open.
    * I think this one is IE specific, but I've also seen it
    where if I have a .PDF in the same folder and open that way, even
    though the address is totally correct, the first time through, the
    link fails. With the totally correct address showing in the address
    bar. I simply refresh the page and bingo, the PDF shows! Go figure.
    I really don't believe that this one is related to Captivate and
    the way it calls the links. My gut tells me it's an IE thing. But I
    have nothing to back me up on this.
    I'm not sure what to say or suggest for the second link. I
    tested it myself and it doesn't work, which tells me that either
    the link is simply incorrect, or possibly it's located on an
    intranet site.
    Sincerely... Rick

  • Disable OCI catalogue links in specific situation.

    Hi All,
    We are implementing SRM 5 .0 EBP .From the home screen when link "SHOP" is clicked , we can see the links for OCI catalogs .Say there are 5 OCI links --> link1 , link2 , link3 , linkn4 and link5 .
    Now the requirement is such that the user should be able to add materials/services only from one kind of OCI application ie. if the user clicks link1 , add some materials to the shopping cart and goes back to the previous step1(Select Goods/Services) using road map , only link1 sholud be clickable , rest all OCI application links should be disabled.
    OR
    When the user goes back to step1 using the roadmap , there should be no OCI catalog links but only a message saying "You can add materials only from one catalogue type in one shopping cart"  , in that part of the screen where links are displayed.
    We dont have the option to remove or disable the roadmap.
    How can we achieve this?
    Thanks & Regards,
    Anubhav

    Why not just remove the links that are not allowed? That's a lot more user friendly and quite an elegant solution. In the rest of this post I'll describe the steps necessary to achieve this. This depends on the WAS version though!
    1. Go to SE80
    2. Function Group: BBP_SC_UI_ITS
    3. Open Include LBBP_SC_UI_ITSF73
    4. Press Shift+F4 (Enhancement)
    5. In the menu: Edit->Enhancement Operations->Show Implicit Enhancement Options
    6. Right click on the first enhancement option (just below the FORM - line 13 in my system) and select Enhancement Implementation->Create
    7. Select "Code" in the popup screen
    8. in the following popup give it a name (Z_HIDE_OCI_LINKS) and description (Hide OCI links), leave the last input field empty and continue
    9. Select a package (as with normal developments)
    10. Enter the wanted code between the 2 enhancement tags:
      DATA: ls_item TYPE t_scr_itmovr_i.
      CLEAR ls_item.
    * check if the item table is not initial
      IF gt_scr_itmovr_i IS NOT INITIAL.
    *   select the first item
        READ TABLE GT_SCR_ITMOVR_I INTO ls_item INDEX 1.
    *   delete all the catalogs that are not the same as from the 1st item
        DELETE gt_catalogs_sorted WHERE service_id NE ls_item-catalogid.
      ENDIF.
    11. Save and activate the enhancement.
    12. Test it to see that all other OCI links have disappeared
    Regards,
    Robin

  • OCCI linking issue on HUPX11

    Hello,
    I am trying to make an OCCI9.2 sample application (occidesc) getting linking issue. I am don't think I have all the required Oracle library in my linking options. What am I missing?
    My development environment: HUPX11, g++3.3.2, OCCI 9.2
    ===============================================
    Link flags:
    LDFLAGS = -L$(ORACLE_HOME)/lib32 \
    -L$(ORACLE_HOME)/rdbms/lib32 \
    -locci -locci9 -lclntsh \
    `cat /u01/home/oracle/product/920/lib32/sysliblist`
    ========================================================
    Linker errors:
    /usr/ccs/bin/ld: Unsatisfied symbols:
    typeinfo for oracle::occi::SQLException(first referenced in occidesc.o) (data)
    oracle::occi::SQLException::SQLException[in-charge](oracle::occi::SQLException const&)(first referenced in occidesc.o) (code)
    oracle::occi::Environment::createEnvironment(oracle::occi::Environment::Mode, void*, void* (*)(void*, unsigned long), void* (*)(void*, void*, unsigned long), void (*)(void*, void*))(first referenced in occidesc.o) (code)
    oracle::occi::MetaData::getBoolean(oracle::occi::MetaData::AttrId) const(first referenced in occidesc.o) (code)
    oracle::occi::MetaData::operator=(oracle::occi::MetaData const&)(first referenced in occidesc.o) (code)
    oracle::occi::MetaData::getUInt(oracle::occi::MetaData::AttrId) const(first referenced in occidesc.o) (code)

    I can't find any documentation referencing supported compiler for OCCI. Do you know of any from Oracle that support my environment?
    Environment:
    Oracle 9.2
    HPUX B.11.00 A
    Thanks,
    Minh

  • Secure link issue

    I cannot update my I tunes. I get a secure link issue when I run a diagnostic check. This is using windows xp system

    Many thanks.
    With those symptoms, I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • 11g db links issue

    Hi All,
    We are sitting on 11gR2 . I have one issue , where one of the db link refuse to work because of the wrong password. on 11g , we can find the password for db links.well, is there any workaround of these situation , as we can not recreate the db links , as this db links is being used by many schames.
    SQL> select * from [email protected] ;
    select * from [email protected]
    ERROR at line 1:
    ORA-01017: invalid username/password; logon denied
    ORA-02063: preceding line from RDSAP
    -------db link ddl-------
    create database link
    PACKAGING.RDSAP.US.ESTEE.COM
    connect to PDM9 identified by  using 'rdsap'
    ;

    Hi,
    Hi All,
    We are sitting on 11gR2 . I have one issue , where one of the db link refuse to work because of the wrong password. on 11g , we can find the password for db links.well, is there any workaround of these situation , as we can not recreate the db links , as this db links is being used by many schames.
    SQL> select * from [email protected] ;
    select * from [email protected]
    ERROR at line 1:
    ORA-01017: invalid username/password; logon denied
    ORA-02063: preceding line from RDSAP
    -------db link ddl-------
    create database link
    PACKAGING.RDSAP.US.ESTEE.COM
    connect to PDM9 identified by  using 'rdsap'
    ;See, the error is very much straight forward. Username/Password that you have specified in DB link is not correct.
    Drop the exsiting DBlink and recreate it with correct Username and Password.
    Also just a small thing that you can take care is of the "CASE" of your password since 11g is case sensitive for passwords...
    Regards,
    Navneet

  • Report Links issue in obiee 11g

    hi all,
    we are using obiee 11.1.1.5 version. we are facing issue with report links. when there is no data in the dashboard, the dashboard is displaying only Refresh button, it is not displaying Export and Print(even though we customized the report links to display Refresh, Export, Print). when there is data in the dashboard it is displaying Refresh, Export and Print as expected. Is this product limitation or a bug in obiee.

    You need to repost this in the OBI-EE forum.

  • DB Link issue between 8i and 11g

    Hi, We have developed the shell script to connect oracle 11g database and do something and then update the oracle 8i database tables using the DB link. We have created the Public DB link in Oracle 11g database.
    When we execute the script manually everything works fine. But while executing the same script using the LINUX - crontab the script failed to execute the DB link and throws the below error message
    Error Message:
    =========
    ORA-12154: TNS:could not resolve the connect identifier specified Error loading the files
    Anyone come accross this error before? please help
    Thanks in advance

    user4883361 wrote:
    Hi sb92075:
    How about Easysoft ODBC-Oracle Driver?
    http://www.easysoft.com/products/data_access/odbc_oracle_driver/index.html
    does this driver will permit me to create a DB link between 11g and 8i?
    Thanks
    Since it is not possible to prove a negative, you are left with the challenge to prove me wrong.
    If you can make it work, then I was incorrect.
    Please post your conclusion here, after you determine the answer to your question.

  • Command Link Issue

    Hi,
    I am using Jdevloper 11g.
    I am facing issue with the following code.
    In brief - I am taking Value from session and want to display those values as Command link on jspx, in af:forEach.
    When I bind that Command Link with Managed Bean that time it displays Last Element only (Code given below).
    When I removed Binding ( binding="#{ManagedBean.schemeName}") at that time it displays all the values on page as Command Link.
    Binding is required for my app to find Link text. Is there any alternative?
      <af:forEach var="item"    items="#{sessionScope.SchemeList}">
    <af:commandLink text="#{item.schemeName}"
                                                    id="cb14" immediate="true"  partialSubmit="true"
                                                    binding="#{ManagedBean.schemeName}"
                                                     inlineStyle="#{item.eligibilStatus eq 'Y' ? 'color:black' : 'color:Red'}"
                                                  actionListener="#{ManagedBean.schemeChangeListener}"/>
    </af:forEach>Thank You,
    Regards,
    Dilkhush

    Hello,
    Thank you,
    The solution you had given that is working.
    Now my issue is I have created Programmatically VO.
    I refereed following link to create Programmatically VO
    http://adfpractice-fedor.blogspot.com/2011/01/adf-bc-programmatically-populated-vo.html
    but My issue is how to set VOs Bind Variable Value.
    Because have to send that value from the bean.
    In above link they took two inputText to set Bind Variable value but in my condition I cannot take InputText.
    I am setting that value in my Managed bean as shown below.
    public void schemeChangeListener(ActionEvent actionEvent) {
          OperationBinding opBinding =
              CommonUtil.getOperationBinding("#{bindings}",
                                             "initParamValues");
          opBinding.getParamsMap().put("custID", customerID.getValue().toString());
          opBinding.getParamsMap().put("accountType", (CommonUtil.evaluateEL("#{bindings.ADAccountType.attributeValue}")).toString());
          opBinding.getParamsMap().put("productID", (CommonUtil.evaluateEL("#{bindings.DMAProductId.attributeValue}")).toString());
          opBinding.getParamsMap().put("entityID", homeEntityID);
          opBinding.getParamsMap().put("schemeCode", linkText);
          opBinding.execute();
    }and I have taken that VO as Table on jspx page.
    Issue is before going to bean method it goes to View object and show NullPointerException because the values never get set.
    The above code is called when the commandLink is clicked code given below.
    <af:commandLink text="#{item.schemeName}"
                                                  id="sName" immediate="true"  partialSubmit="true"
                                                  inlineStyle="#{item.eligibilStatus eq 'Y' ? 'color:black' : 'color:Red'}"
                                                  actionListener="#{MakBean.schemeChangeListener}"/>is there any solution how can I set the Bind Variable value from bean and get Expected result in table.
    Thank you
    Regards,
    Dilkhush

  • Crystal Reports 11g Performance Issue

    We just upgraded our database to Oracle 11g from Oracle 10g and we are having significant performance issues with Crystal Reports.
    Our DEV and TEST environments are on 11g and are very slow to connect to the database and attach to specific tables.  It is unusable.  Our PROD environment is still 10g and works fine.  
    We  have tested with both the lastest version -  Crystal Reports 2008 V1  and  Crystal Reports XI R2 SP6.  We have also tested on several different machines.
    We are using Oracle 10g ODBC drivers.
    Does anyone have any recommendations?

    You could also try our Data direct drivers we have available on our WEB site using this [link|https://smpdl.sap-ag.de/~sapidp/012002523100008666562008E/cr_datadirect53_win32.zip].
    Those drivers are the most recent and do support 11g. It also has a wired driver that doesn't require the client to be installed.
    Also, highly recommended that when you do update the Oracle client to uninstall 10 first. There have been issues with CR and Oracle mixing the Oracle dependencies and causing problems.
    Thank you
    Don

  • Database links issue ORA-01017 ORA-02063

    Oracle 11g R1 , RHEL 5 64bit
    HI all,
    I am having this strange issue with my database links. They used to work in the past but now they are not. Here is what I have checked:
    - All the TNSnames.ora file entries are there and are correct...I double checked with tnsping
    - I changed all the passwords to be the same on all environments (DEV/QA/PROD)
    - I have dropped and re-created all the database links
    However, I still get the same error when I test them:
    ORA-01017: invalid username/password; logon denied ORA-02063: preceding line from <database_name>
    Here are the links created on DEV:
    SQL> select * from dba_db_links;
    OWNER DB_LINK USERNAME HOST CREATED
    PUBLIC FPRCQA.FPRC.OPHTH.WISC.EDU FPRCQA 01282009
    FPRCHR FPRCQA.FPRC.OPHTH.WISC.EDU FPRCHR FPRCQA 01282009
    PUBLIC FPRCPROD.FPRC.OPHTH.WISC.EDU FPRCPROD 01282009
    FPRCHR FPRCPROD.FPRC.OPHTH.WISC.EDU FPRCHR FPRCPROD 01282009
    The above links were created using the following syntax:
    SQL> conn sys as sysdba
    Enter password:
    Connected.
    SQL> create public database link FPRCQA.FPRC.OPHTH.WISC.EDU using 'FPRCQA';
    Database link created.
    SQL> create public database link FPRCPROD.FPRC.OPHTH.WISC.EDU using 'FPRCPROD';
    Database link created.
    SQL> conn fprchr
    Enter password:
    Connected.
    SQL> CREATE DATABASE LINK FPRCQA.FPRC.OPHTH.WISC.EDU CONNECT TO FPRCHR IDENTIFIED by <passwd> using 'FPRCQA';
    Database link created.
    SQL> CREATE DATABASE LINK FPRCPROD.FPRC.OPHTH.WISC.EDU CONNECT TO FPRCHR IDENTIFIED by <passwd> using 'FPRCPROD';
    Database link created.
    Now when I do a simple query, I get the error:
    SQL> select count(*) from fprchr.department@FPRCQA;
    select count(*) from fprchr.department@FPRCQA
    ERROR at line 1:
    ORA-01017: invalid username/password; logon denied
    ORA-02063: preceding line from FPRCQA
    I have read some notes on metalink, but they were talking about situations where you have a 10g database connecting to an 11g database and the whole password case-sensitivity issue, but this is not the case here as all the databases are 11g.
    I would appreciate any and all help on this issue.
    Thank you much.

    The documentation has the answer:
    user IDENTIFIED BY passwordSpecify the username and password used to connect to the remote database using a fixed user database link. If you omit this clause, the database link uses the username and password of each user who is connected to the database. This is called a connected user database link.>
    Since you haven't specified user/password in your public database links, then Oracle will try to create a connection on the remote db with the same user/password who is trying to use the database link. If the user doesn't exists or has a different password then you get an error (the same you mentioned in you original post)
    HTH
    Enrique

Maybe you are looking for

  • My mac keeps crashing while watching video online

    I am new to using a Mac, but it keeps crashing while watching online video (netflicks, espn ect.) while on battery power. Battery power is sufficient when this happens. I cannot restart until I plug back into power. Any advice would be appreciated.

  • Why won't using 'Insert' work the same way on the Photos page?

    Because my images I edited in Photoshop don't appear in my iphoto Library or in the 'media' section (I have no idea why!!), I have to go to the toolbar at top, and use "Insert....Choose....pictures....etc" and insert the pics that way. But it won't i

  • 650GLMS Video

     hi im using a sis 650glms and the video seams to be perfect except 1 thing, in openGL the video is a little discolored in direc3d wich isnt as good does not have this problem.. anyone know ?  ?(

  • DTW giving '65171' error?

    Hi Everyone, I am using the DTW in an attempt to upload Special Prices for Business Partners. I have opened the relevant template files (from Start > All Programs > SAP Business One > Data Migration > Templates) and re-saved these as my 'work' files.

  • How to export an i-movie to you-tube

    I am having trouble exporting my i-movie to you-tube.  I'm following the instructions but am continually directed to form a i-website  instead.  Although that does look interesting, it's not what I want to do. I have  opened a you tube account and ju