How can I have two differents versions of provider working in a Server

Hi... I'm a ASP Classic developer. I'm working with Oracle 10g and I'm using the Oracle Provider 10.1 but now I need to change of version to 10.2 Release. So I install the 10.2 Release Version in same host where I have de 10.1 version.
For do the connection to Oracle 10g DB I do something like this:
Connection.asp -->
<%
     Set Cn = Server.CreateObject("ADODB.Connection")
     Cn.Open "Provider=OraOleDB.Oracle; Data Source=DBTest; User ID=Test; Password=Test;"
%>
I have to Tnsnames.ora files (one for 10.1 and other for 10.2 Release). I this 2 files I descrive de Oracle Service Named DBTest like this:
C:\oracle\product\10.1.0\Client_1\network\ADMIN\tnsnames.ora
-->
DBTEST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.10)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = DBtest)
C:\oracle\product\10.2.0\client_1\NETWORK\ADMIN\tnsnames.ora
-->
DBTEST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.10)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = DBtest)
However when I try to connect to DB I got the next exception:
OraOLEDB (0x80004005)
ORA-12154: TNS:could not resolve the connect identifier specified
Two cuestion:
--> Can I have two versions or Oracle Provider working in a server???
--> How can I specify to ASP page the Oracle Provider than must to use???
Tks 4 help

I'm not an ASP developer, but if you are able to set $ORACLE_HOME environment variable through ASP you can then switch providers..

Similar Messages

  • How can I have 2 differents versions of provider working in a Server

    Hi Everybody:
    I have a few ASP 3 applications working in mi PC. I'm using right now the 10.1 Oracle Provider, but I need change to 10.2 Release Version.
    I want know How can I specify to ASP 3 Page what version of provider must to use.
    I do the connection like this:
    <%
         Set Cn = Server.CreateObject("ADODB.Connection")
         Cn.Open "Provider=OraOleDB.Oracle; Data Source=DBTest; User ID=UserTest; Password=PasswordTest;"
    %>
    Tks 4 help.
    Edited by: jose.corona on Sep 30, 2008 3:52 PM

    I'm not an ASP developer, but if you are able to set $ORACLE_HOME environment variable through ASP you can then switch providers..

  • How can I share two differents Itunes accounts in my Apple TV ? I have one and my wife has another account and we want to share both in our apple tv. How can I do this ???

    How can I share two differents Itunes accounts in my Apple TV ? I have one and my wife has another account and we want to share both in our apple tv. How can I do this ???

    I assume you have different iTunes collections on different PC's, or on different logins on the same PC?  If that's the case then just enable "Home Sharing" in each iTunes using the SAME iTunes username and password as you enabled home sharing on the Apple TV with. The account used for home sharing is NOT the same as the account used to access the iTunes store, so as long as you use the same account (pick one, doesn't matter which) then you should see both of yor iTunes libraries on the Apple TV. Note - each iTunes has ti be running in order for the Apple TV to see the library.
    Here's some details on how to do it:
    http://support.apple.com/kb/HT4363

  • TS1591 I just bought a second iPod touch (4th gen), but when I connect the second iPod to my computer it is not recognizing it. How can I have two iPod's set up????

    So I had an iPod touch and everything with it is fine. I just bought a second one for my daughter...exactly the same as my iPod. This second one was bought used, but was reset completely before I plugged it into my computer. My problem is... my iTunes does not recognize the second touch as a device! I can't get it to sync, so I can't get any music or anything onto the device. How can I have two iPod touches on my computer? Is there something special that I have to do to get my computer to recognize this second touch as a different device?? PLEASE HELP!!!  

    - If you are using the same USB port and the same cable and have iTunes version 10.7 or later on the computer there is something wrong with the iPod.
    - Does the second iPod work?
    - Does it charge?
    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.

  • How can I have two itunes accounts on one computer?

    How can I have two itunes accounts on one computer?

    Not sure what you mean.
    An account is a user name and password.
    Sign into whichever account you want to use for purchasing.
    Authorize the computer for both account to listen to the content.

  • How can we have two different Itunes libraries on one computer?

    How can we have two Itunes accounts on one computer?  I found info on the itunes help page but I do not know how to follow the steps given because I am not prompted with what it says I should be prompted with? Please help I don't want to delete one of our libraries

    Launch iTunes with the Shift key held down as needed, or use different Windows XP user accounts.
    (74282)

  • How can I copy file/folders from and to hard drives? How can I have two or more windows of explorer so that I can drag and drop from one hard drive to another?

    Hi,
    I am a new customer (purchased last week) of MacBookPro (latest) and its my first ever Apple laptop.
    I am almost lost to find the operating tools.
    1. How can I copy files from hard drive to computer and vis-a-versa?
    2. Only can browse one but how can I have two or more browses at the same time like in MS windows?
    3. No right click works on track pad?
    4. Is there application/ program compatible to MS office? If so how much and how can I purchase?
    5. Is there AutoCAD program that is compatible to MS Window AutoCAD? and if yes how much and how can I purchase?
    I will very much appreciate if you could email me the with the solution/answers please.
    Regards,
    Khagendra Limbu

    1) For some reason this happens once in a while with FAT32 enabled external harddrives. I have no idea why this happens but it most easily solved by reformatting the drive. First make sure you've copied everything from the external drive to your internal harddrive. You've done this earlier so I assume you know how to do this.
    Now the reformatting part. Open Finder and go to Applications. Look for the folder called "Utilities". Click on it. In it you find a program called "Disk Utility". Click on it. Now look for the external drive. You probably see two entries for the disk. Click on the one that contains the name of the drive NOT the one that describes the disk (Like for example 320.07 GB Samsung S2 Portable Media).
    Now you see four tabs in the righthand part of the window. They're called "First Aid", "Erase", "RAID" and "Restore". Click on "Erase". This opens the tab with (amongst others) a dropdownbox (Format) and a textbox (Name) . In the dropdownbox select "Mac OS Extended (Journaled). Take note! This selection disables usage of the drive with Windows PC's. If your goal is to share the drive with Windows PC's select the MS-DOS FAT option.
    Enter a label for the drive in the textbox Name. Now click on the button "Erase". This will format the drive.
    Now when it's done you can copy back all the items you've copied to your internal harddrive earlier.
    2) Opening two windows like Explorer on Windows is opening two Finder windows on the Mac. Simply click on the background. In the menubar you items like 'Finder", "File", "Edit", "View", et cetera. Click on "File" and "New Finder Window". Do this two times. Alternatively you can click on the background and press CMD-N two times.
    3) You can right click on the trackpad. This however depends on if you've enabled the feature in System Preferences. In the topmenubar click on the Apple icon and select "System Preferences". Now look for Trackpad in Hardware. Click on it. You see three tabs with the names "Point & Click", "Scroll & Zoom" and "More Gestures". Select "Point & Click" and look for "Secondary Click'. Make sure it is checked and make sure it has written "Click or tap with two fingers" written beneath "Secondary Click". When you're done exit System Preferences. Now select the background and tap with two fingers on the trackpad. This should open the contextuel menu with options like "New Folder", "Get Info" et cetera.

  • Just upgrade to 33.1.1, terrible! new tab position not configurable, no response for clicking a link, how can I have the old version? Thanks!

    Just upgrade to 33.1.1, terrible! new tab position not configurable, no response for clicking a link, not going to the website by click "enter", "space" keyboard can not be the page down anymore, always die....
    how can I have the old version?
    Thanks!

    Just to clarify, let's say you have tab 1 Google results and tab 2 something else. When you Ctrl+click a link in tab 1, it opens between tab 1 and tab 2 instead of at the end? Here's how you switch that:
    (1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
    (2) In the search box above the list, type or paste '''tabs''' and pause while the list is filtered
    (3) Double-click the '''browser.tabs.insertRelatedAfterCurrent''' preference to switch it from true to false.
    You can switch back to an earlier tab and test. Success?

  • How can I have two PDFs open at the same time next to each other?

    How can I have two PDFs open at the same time next to each other?

    Moved to Adobe Reader for iOS.
    The only way I know how to do that is with two iPads.

  • HT1386 How can I have two seperate sets of Playlists for two different iPods on one computer?

    How can I have two seperate sets of Playlists for two different iPods, on the same PC?

    Open itunes.
    Make whatever playlists you each like.
    Connect one ipod, select only what you want, sync
    Do the same for the other ipod

  • How can i have a multi task approach while working on my iPad? Shfting windows is heavy and time consuming!

    How can i have a multi task approach while working on my iPad? Shfting windows is heavy and time consuming!
    Also shifting windows while surfing is not easy, when used to multiple screens and easy shifting from one web page to another.
    Thks

    Not entirely sure what you mean, but this has some info about multi-tasking . iOS 5, which will be available to download on October 12th, adds multi-tasking gestures (from http://www.apple.com/ios/features.html#more) :
    Using four or five fingers, swipe up to reveal the multitasking bar, pinch to return to the Home screen, and swipe left or right to switch between apps.
    Also Safari will get tabbed browsing in iOS 5, making it easier to switch between pages/tabs.

  • How can i deploy two different versions of the same application on the same server??

    I have two different versions of an application. One is a released version. And another version under development. I need to port this version of the application to the same server. I'm using the same classes and packages(except for some new ones). Is it sufficient if i change the name of my ear(application name). Or should i change my code also.

    Hi
    You can repackage the new versions of ear,jar and war with different names. I hope that should work well.
    Cheers
    -pradeep

  • How can I have two different windows up on one screen at the same time?

    How can I have to different windows open on my screen at one time? Kind of like a split or shared screen.

    If you want this split screen thingy for a single app, do like captfred suggests or see if the app itself supports some sort of splitting, like MS Excel.
    If you want to do this system-wide, maybe you can get what you want by activating and using Spaces: http://support.apple.com/kb/PH4313

  • How can I have two VI that works together?

    How can I mix two VI that work together ? Does it work with Flat Sequence Structure or something's?

    I've always wondered about that bracket-thingy, but I've been able to get along without it, so I don't worry about it any more.
    Why would you want to try to program a doubly-charged carbon ion (C++), anyway? It's just going to find an oxygen ion or aromatic ring to react with, no matter what you do. You're sure not going to steer it towards another cation without going to Fermilab or CERN (Yes, I understand they use LabVIEW there).
    Cameron
    To err is human, but to really foul it up requires a computer.
    The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
    Profanity is the one language all programmers know best.
    An expert is someone who has made all the possible mistakes.
    To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):
    LabVIEW Unit 1 - Getting Started
    Learn to Use LabVIEW with MyDAQ

  • How can I have the latest version FF8 installed AND keep my old version until I get used to FF8 ?

    I have also fopund that I have a Beta version FF 3.6 Beta 4
    I have no idea how this was installed, as I have not done it knowingly and consciously !!!
    It does not show up in ALL PROGRAMS from START.....
    But does appear in ADD/REMOVE PROGS via Control Panel....also in MY COMPUTER>Program files !!
    Both versions work...but my desktop short cut links to FF 3.6.24....and that is what I use all the time. (the Beta version must have been there for some time).....
    So this gave me the idea of maybe keeping my current version and also having a separate program FF8.... Until I get used to FF8...(see question https://support.mozilla.com/en-US/questions/897193#answer-277745)
    Maybe... 1. Install FF8 to a different location folder..say...Mozilla/Firefoxnew8
    2. Rename the existing FF version and create new desktop short cut.
    But the only problem I can see in these options is that when FF installs a new update automatically, on start up...... depending on which version I am using at the time...... I presume it will look for folder Mozilla/Firefox..... THEN WHAT WILL HAPPEN ??
    Your comments would be Most Welcome and appreciated.

    Do a custom install and install each version in its own program folder to use multiple Firefox versions.
    * https://support.mozilla.com/kb/Custom+installation+of+Firefox+on+Windows
    * https://support.mozilla.com/kb/Installing+a+previous+version+of+Firefox
    Create a new profile exclusively for each Firefox version.<br />
    Create a desktop shortcut with -P "profile" appended to the target to launch each Firefox version with its own profile.
    See these mozillaZine KB articles for information:
    * http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows
    * http://kb.mozillazine.org/Shortcut_to_a_specific_profile
    * http://kb.mozillazine.org/Using_multiple_profiles_-_Firefox
    * http://kb.mozillazine.org/Opening_a_new_instance_of_Firefox_with_another_profile
    * http://kb.mozillazine.org/Testing_pre-release_versions
    <br />
    ''(in reply of a PM)''

Maybe you are looking for

  • HT4137 how can i enable my disabled ipod?

    Someone gave me an ipod touch but it is disabled.  It tells me to connect to itunes but I don't know what to do once i connect if I can't sign on to the ipod. How can i get into it?

  • I cant install any app. in my 6020 using cable

    any one can help me plsssssssssss

  • Itunes wont sync iphone4

    hey guys/gals basically my macbook pro OS X 10.6.6 what running out of space so i relocated my itunes into my external harddrive, and now when i try to Sync my iPhone4 (4.2.1) into itunes it will come up as my iphone but wont sync, it says this iphon

  • Oracle Form as redirect to Oracle Reports

    Okay, I can't figure out how to hide the parameters in a URL from a non-Oracle Form to an Oracle Report. I found a work around on how to call an Oracle Report with a built in parameter form from an Oracle Form, but I have never used forms. Could anyo

  • Avitek Sample Portal fails to deploy to any Standalone WLS

    Hi The Avitek Sample Portal is a custom portal built using Oracle WebCenter 11g Release 1 and WebCenter Web 2.0 Services. to find out more see link below http://www.oracle.com/technetwork/middleware/webcenter/avitek-sample-portal-086834.html I have s