How to get the webservices project customer specific use Oracle.

I have a Web services project I developed in VS2005 where I use the Oracle.DataAccess.dll provided by Oracle 10 g ODAC to connect to an Oracle 8.1.7.4 database. I add a reference to the dll in the folder c:\oracle\product\10.2.0\client_1\ODP.NET\bin\2.x. I create and publish Web services and checked that Web services are working correctly. I ran into problems when I installed the latest version of the ODAC for Oracle 11, where the webservice Gets the following error ORA-03134 - this version of the server connections are more supported. Based on what I read here and ther panels, it seems that when I installed the ODAC for Oracle 11 he installed a policy file that redirects all calls to use Oracle 11 components data access rather than that I've specified explicitly in my project.

Is it possible for me to always have the components of Oracle 11 working side by side with Oracle 10 g and forced my project to always use the components of Oracle 10 g?

Published by: lordharlock on March 3, 2010 07:17

Hello

I just did a quick test with binding in an app.config file redirection, and has precidence over policy in the gac file.

Here's my app.config. I compiled with 2.102.2.20, the app ran with 2.111.7.0, despite the 2.111.7.20 policy in the gac file.

It will be useful,
Greg



  
    
      
        
        
       
      
    
  

Tags: Database

Similar Questions

  • How to get the frame number current timeline using jsx?

    How to get the frame number current timeline using jsx?

    Thanks for the link!

    Clarification: I was looking for the current image on the timeline of the video. OP he mentions that he had found how to get that so I searched a bit more and found this thread: Re: can I inpoint in read/write and out-point of the clips in a group of video with scripts? They have the following functions, I have not tried yet, but it seems like it should work.

    function getCurrentFrame() {}

    try {}

    Var ref = new ActionReference();

    ref.putProperty (charIDToTypeID ('Rprp'), stringIDToTypeID ('currentFrame'));

    ref.putClass (stringIDToTypeID ('timeline'));

    var / / desc = new ActionDescriptor();

    desc.putReference (charIDToTypeID ('null'), ref);

    var TC = executeAction (charIDToTypeID ('getd'), desc, DialogModes.NO);

    Return TC.getInteger (stringIDToTypeID ('currentFrame'));

    } catch (e) {return null ;}

    };

  • How to get the CPU usage in LabWindows using C program

    Hi all

    Please help me...

    How to get the CPU usage and the use of the RAM in LabWindows CVI 12.0 using C.

    Any help with this will be appreciated.

    Thank you in advance


  • How to get the gif file hosted by using the Http connection?

    Hello

    I have an application that downloads animation gif from a server by using the http connection. Here is the code I use to download the image.

    try {
    
                httpConnection = (HttpConnection) Connector.open(url, Connector.READ_WRITE);            httpConnection.setRequestMethod(HttpConnection.GET);
    
                if (httpConnection.getResponseCode() == HttpConnection.HTTP_OK) {                DataInputStream dS = httpConnection.openDataInputStream();
    
                    byte[] data = new byte[dS.available()];                dS.read(data);
    
                    gifImage = (GIFEncodedImage) EncodedImage.createEncodedImage(data, 0,data.length);
    
                } else {                throw new Exception("ResponseCode:" + httpConnection.getResponseCode());            }        } catch (Exception e) {                        gifImage = null;            e.printStackTrace();        }
    

    the problem with this code is, when the gif file is 1175 bytes above, it does not load the gif.

    example:-If the gif on the server is 1500 bytes, this code retrieves only 1175 bytes.

    I think that the rest of the bytes are sent in a different package. But how to get them.

    can someone please provide a code for buffering the inputstream?

    any help is appreciated.

    Dieye

    Hmm, nobody seems to know how to do, it seems. Here's how I did it.

                httpConnection = (HttpConnection) Connector.open(url, Connector.READ_WRITE);
                httpConnection.setRequestMethod(HttpConnection.GET);
    
                int responseCode = httpConnection.getResponseCode();
                if (responseCode == HttpConnection.HTTP_OK) {
                    inputStream = httpConnection.openInputStream();
                    ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
    
                    byte[] buffer = new byte[256];
                    int len = 0, imageSize = 0;
    
                    while (-1 != (len = inputStream.read(buffer))) {
                        byteArrayOutputStream.write(buffer);
                        imageSize += len;
                    }
    
                    byteArrayOutputStream.flush();
                    byte[] imageData = byteArrayOutputStream.toByteArray();
                    byteArrayOutputStream.close();
    
                    gifImage = (GIFEncodedImage) EncodedImage.createEncodedImage(imageData, 0, imageSize);
    
  • How to get the storage allocated profile and used the plugin vCloud 5.1 Vdc

    How can I get the storage allocated and used for a Vdc in vCloud 5.1 plugin?

    VCloud plugin 1.5, there was a property of VclVdc.storageCapacity give us the space allotted, limit, use (s) and overhead costs.

    VCloud plugin 5.1 we allways null VclVdc.storageCapacity. Then VclVdc.getStorageProfiles () but presents the objects, there is that the "limit value".

    ¿WHERE are the other values?

    I have attached two screenshots. vCloud console shows the data, but not vCloud plugin.

    Thank you very much.

    Damian

    Tell me if this work. This was written in a few minutes.

    var host = vdc.getHost();
    
    var queryService = host.getQueryService();// toAdminObject().getAdminQueryService();
    
    var profs = vdc.getStorageProfiles();
    
    for each (var prof in profs) {
    
        var expression = new VclExpression(VclQueryAdminOrgVdcStorageProfileField.HREF, prof.getReference().href  , VclExpressionType.EQUALS);
        var filter = new VclFilter(expression);
        var params = new VclQueryParams();
        params.setFilter(filter);
        var resultSet = queryService.queryRecords(VclQueryRecordType.ADMINORGVDCSTORAGEPROFILE,params);
    
        while (resultSet != null) {
            var records = resultSet.getRecords(new VclQueryResultAdminOrgVdcStorageProfileRecord);
            System.log(records.length + " records found");
                for each (var record in records) {
                    //obtain data from record
                    System.log("storageUsedMB : " + record.storageUsedMB);
                    System.log("storageLimitMB : " + record.storageLimitMB);
                }
        resultSet = resultSet.getNextPage();
        }
    
    }
    
  • How to get the code PIN Blackberry 10 using javascript for BB10 Webworks App?

    Hi all

    I have developed web application for blackberry 10 using the emulator to ripple and Blackberry 10 Webworks SDK 1.0.4.11.Here I put the automatic connection of my web application... So I want to get the Pin 10 of Blackberry number using javascript... Please help me... Someone knows... Thank you very much...

    Kind regards

    Marimuthu_P

    Which is documented here for WebWorks 2.0: https://developer.blackberry.com/html5/apis/beta/blackberry.identity.html#jbo1385148789774

    and here for WebWorks 1.0:

    https://developer.BlackBerry.com/HTML5/APIs/gold/BlackBerry.identity.html

    You want the uuid property.

  • How to get the details of VM settings using cli power?

    Hello

    I went through the link http://communities.vmware.com/thread/325036?tstart=0 which has been very helpful. However I want to know is there anyway I can get the details of the VM?

    I want Hardware, tab Option and details tab resources of the virtual machine that we see in the VM-> change the settings.

    My main concern is to get the details of the memory of the virtual machine. There are several virtual machines in my infrastructure on which memory is limited to less amout then what is given to the virtual machine.

    As for example in one of the virtual machine, we had problem where after troubleshooting, I discovered the memory assigned on Hardware tab is 16GB while the resource tab it is limited to 8 GB, which caused the driver lock memory to have other tools to use.

    Concerning

    Do you get the version number?

  • How to get the laptop to factory specifications?

    I learned my laptop has a virus and could help them return to the form of the plant.  How this is done?

    Hello

    If you have created a set of recovery discs, just insert the first disc and restart the computer to boot from it, which will start the recovery process.

    Another option to reinstall the operating system is the first stop of the laptop.  Here tap f11 as soon as you start it up and it should launch Recovery Manager, which will then allow you to reinstall the OS.

    If these will be not only re - load the operating system, but also any original software provided with your laptop as well as recreate the Partition Recovery disk hard - if you are in the United States, they are about $16 niether of the book above, you can always order a set of replacement recovery disks using the link below.

    http://support.HP.com/us-en/document/c00810334

    If you have a problem with this link, order them directly from HP.

    If you live in the United States, contact HP here.

    If you are in another part of the world, begin here.

    Kind regards

    DP - K

  • How to get the sum by customer?

    Hi, in this query below, I want all the s () basically summing up of each "INVESTOR_CODE", can anyone help please?
    select 
    b.INVESTOR_CODE ,
    a.INVESTOR_NAME , 
    b.DEPARTMENT_CODE , 
    b.INVOICE_NO , 
    b.INVOICE_TYPE , 
    trunc(b.INVOICE_date) INVOICE_date, 
    c.COMPANY_SHORT_NAME , 
    sum(INVOICE_COMMISSION)  INVOICE_COMMISSION, 
    sum(INVOICE_KEEPING)  INVOICE_KEEPING , 
    sum(INVOICE_STAMP)  INVOICE_STAMP, 
    sum(INVOICE_OTHER) INVOICE_OTHER,
    sum(INVOICE_MISR) INVOICE_MISR,
    sum(INVOICE_INSURANCE) INVOICE_INSURANCE,
    sum(INVOICE_HAIAH)INVOICE_HAIAH
    from investor a , invoice b , company c , DEPARTMENT d
    where a.INVESTOR_CODE = b.INVESTOR_CODE
    and b.COMPANY_CODE = c.COMPANY_CODE
    and b.DEPARTMENT_CODE  = d.DEPARTMENT_CODE
    and trunc(invoice_date) >= '14-AUG-07'
    exists(select 1 from OPERATION_LINE_SMAEDAY ols where ols.INVOICE_NO  = b.INVOICE_NO and ols.INVOICE_type  = b.INVOICE_type  )
    group by  b.INVESTOR_CODE , a.INVESTOR_NAME , b.DEPARTMENT_CODE , b.INVOICE_NO , b.INVOICE_TYPE , trunc(b.INVOICE_date) , b.INVOICE_TYPE,c.COMPANY_SHORT_NAME
    order by b.INVESTOR_CODE  , INVOICE_date;

    For this table, the following query will do the grouping and order it as you want. You will still combine it with the previous query using the original paintings.

    SQL> select investor_code
      2       , investor_name
      3       , department_code
      4       , invoice_no
      5       , invoice_type
      6       , invoice_date
      7       , company_short_name
      8       , sum(invoice_commission)
      9       , sum(invoice_keeping)
     10       , sum(invoice_stamp)
     11       , sum(invoice_other)
     12       , sum(invoice_misr)
     13       , sum(invoice_insurance)
     14       , sum(invoice_haiah)
     15    from samedaydata
     16   group by investor_code
     17       , investor_name
     18       , rollup
     19         ( ( department_code
     20           , invoice_no
     21           , invoice_type
     22           , invoice_date
     23           , company_short_name
     24           )
     25         )
     26   order by investor_code
     27       , department_code
     28       , invoice_no
     29  /
    
    INVESTOR_CODE INVESTOR_NAME   DEPARTMENT_CODE INVOICE_NO INVOIC INVOICE_DATE        COMPANY_SHORT_NAME   SUM(INVOICE_COMMISSION)
    ------------- --------------- --------------- ---------- ------ ------------------- -------------------- -----------------------
    SUM(INVOICE_KEEPING) SUM(INVOICE_STAMP) SUM(INVOICE_OTHER) SUM(INVOICE_MISR) SUM(INVOICE_INSURANCE) SUM(INVOICE_HAIAH)
    -------------------- ------------------ ------------------ ----------------- ---------------------- ------------------
           240007 john                          2        123 sell   23-04-2010 00:00:00 OTC                                     27.5
                     3.4                  6                  4                 0                      2                 10
    
           240007 john                          2        124 buy    22-04-2010 00:00:00 ORACLE                                  29.6
                     2.4                  6                  4                 0                      2                 10
    
           240007 john                          2        125 sell   01-01-2010 00:00:00 ORACLE                                  63.5
                     2.4                  6                  4                 7                      2                 10
    
           240007 john                                                                                                         120.6
                     8.2                 18                 12                 7                      6                 30
    
           240008 paul                          3        256 sell   19-12-2010 00:00:00 OTC                                     93.5
                     8.4                  6                  4                 0                      2                 10
    
           240008 paul                          3        266 buy    06-03-2010 00:00:00 CBANK                                   83.2
                     3.4                  6                  3                 0                      2                  9
    
           240008 paul                          3        322 buy    23-04-2010 00:00:00 CBANK                                   43.4
                     2.4                  3                  4                 0                      2                  3
    
           240008 paul                          3        423 sell   23-04-2010 00:00:00 OTT                                     24.5
                     2.4                  2                  4                 0                      8                 10
    
           240008 paul                                                                                                         244.6
                    16.6                 17                 15                 0                     14                 32
    
    9 rows selected.
    

    Kind regards
    Rob.

  • [JS CS4/CS5/CS5.5] How to get the return value from Javascript using doScript

    Hi all

    I'm calling javascript from COM (c#) and it works fine. Passing parameters to javascript and playback by using the syntax of the [x] arguments also works very well.

    What I can't seem to get to work is to know how to move something from javascript to the calling COM Summoner, in this case, c#. How and where should I place the return value in javascript?

    Thanks in advance.

    Rachiud

    doScript() evaluates an expression, so just make sure that your Javascript is an expression.

    For instance "(3 + 3)" 6 "

  • How to get the full name (device disk) using esxtop?

    Hello

    I am looking for storage settings using esxtop - pressing 'u' for drive.

    As I use the iSCSI (open file server) device, I couldn't see the identifier of the full device. Can someone help me to get this.

    I have attached the screenshot of esxtop for this...

    Device name.jpg

    Any idea? Thanks in advance.

    In ESXTOP enter a capital 'L' and type a number to make the larger DEVICE field. Depending on the length of the name of the device - you might need to up to 40 characters to present the full name.

    Entering the '?' in ESXTOP will give you the options you can set (this information is also there as well).

  • How to get the path of system font used in the composition by script?

    Hello!

    I would get not only TextDocument attributes such as font, fontSize, etc., but finding where fonts (path) is installed.

    Is it possible to do a script AE?

    Thank you in advance!

    Hello

    That's all new script characteristic of AE CC13.1. See "script of the improvements for text layers" in http://blogs.adobe.com/aftereffects/2014/09/after-effects-cc-2014-1-13-1.html.

    Note that it only retrieves the information for the first character of the layer.

    Xavier

  • How to get the reconciliation AD event data using the SQL query.

    Hi all
    I was trying to get all the recon data to target AD Recon of IOM db, but it seems that at the OIM 11 g we have recon not given in the tables: UCR, CRE, etc.. Use tables "RECON_"... ', my question is all no bady has example query to extract data from recon tables?
    The best
    MP

    It should be a matter of linking your reconciliation table of user AD (early RA_) with the RECON_EVENTS of RE_KEY table.

    In my case, I have user OID reconciliation (so my RA_ table will be different to yours) and can use something like:

    SELECT RECON_EVENTS. RE_STATUS, RECON_EVENTS RA_OIDUSER5.*, RA_OIDUSER5 WHERE RECON_EVENTS. RE_KEY = RA_OIDUSER5. RE_KEY;

    Of course, then depends on what information you want to filter and recover.

  • How to get the parameter ITResource to itResourceName using java?

    Hi all
    I need to get itResourceParameters as the server address, port, login, administrator etc. from itResourceName in java.

    I had checked the api and found the interface

    tcITResourceInstanceOperationsIntf Intf = (tcITResourceInstanceOperationsIntf) tcUtilityFactory.getUtility ("Thor.API.Operations.tcITResourceInstanceOperationsIntf");

    But I have problems to use it. It always throws errors. I'm not good at java coding to help you please.

    Is thank you

    public Hashtable getITResourceParameters (String, tcDataProvider ioDatabase resource) throws Exception {}
    Config ConfigurationClient.ComplexSetting = ConfigurationClient.getComplexSettingByPath ("Discovery.CoreServer");
    final Hashtable env = config.getAllSettings ();
    tcSignatureMessage moSignature = tcCryptoUtil.sign ("xelsysadm", "PrivateKey");
    tcUtilityFactory tcUtilityFactory = new tcUtilityFactory (env, moSignature);
    Hashtable resourceHash = com.thortech.xl.util.adapters.tcUtilXellerateOperations.getITAssetProperties (ioDatabase, resources);
    log. Debug ("resourceHash size:"+ resourceHash.size () ');
    Return resourceHash;
    }

    After that, you can use Hashtable operations to retrieve the hash values.

  • How to get the sound on Toshiba 32L6353DG using D - sub?

    Hello

    I own a Toshiba TV model 32L6353DG I want to connect with my laptop via D - sub! What I did OK! No problem at all! Now, I want to hear the sound of the TV and not cell phone... that's the problem!

    I can't find a solution!

    As far as I know using this connection, you can transfer a video signal only. If you want sound on the TV you use another cable to send the audio signal to your TV.
    What you need is cinch cable.

    On one side you have to connect it to your laptop using headphone jack and on ports audio-in TV (red/white).
    You need something like this double Cinch RCA (1/8 to RCA).

Maybe you are looking for

  • Satellite A100 - low Windows Vista performance index

    Hey there, I bought a Toshiba Satellite A100 just for more than a year now with Vista Home Premium. I recently formatted the laptop and installed Vista Business. When I got Home Premium, my 'Windows experience index' (found in Control Panel > system)

  • Implemented courses at level of processor for desktop PC

    Care Processor Upgrade frequest for my HP Pavilion a6112n PC information. Is this processor: AMD Athlon 64 X 2 5600 + (up to 89 watts); Still the only CPU upgrade for my HP a6112n, with the latest version of the bios that 5.13 Phoenix Tech, mobo NARR

  • How will I know if my pc allows all cookies more?

    I can't get online to a site. It is said that my pc could be not to accept all cookies more. How do I know this?

  • Menu slotRadio TO GO

    I use this thing while driving and I expect the menu remains the same across all updates. This is quite unacceptable. How can I return to the firmware please? I don't care if he has not supported, my SD slot seems to be broken, so I'm in the market f

  • No audio Inspiron E1505

    OK, watered by my wife's cell phone this time.   I've been troubleshooting audio playback choppy on DVD (think it's the XP SP3 now) and I uninstalled Microsoft patch KB35221 (high definition audio).  Don't think it was a big deal, because I could alw