Can't get vbscrip to connect to Oracle Database

Hi,
I really need some help please as I’m new to vbscripting and TNS connections and all this complicated stuff.
I’m trying to make a connection from one of our Oracle servers and extract some basic data but after trying for a couple of days I’m stumped.
Here’s the details and I hope someone can advise me in a simple language on where I’m going wrong.
The server I am trying to connect from is an Essbase server which already has an ODBC connection to the Oracle server setup in the ODBC Datasource Administrator. The driver that I can see in the ODBC Datasource Administrator is ‘Oracle in OraClient10g_home1’ and a ‘SQL Sever’ driver along with some MEARNT OEM drivers.
The tnsnames.ora has the information for the Oracle server and I can tnsping to it successfully.
Browsing round the web I have tried a couple of methods to connect:
*"Driver={Microsoft ODBC for Oracle};Dbq=ABCD;Uid=LOGIN;Pwd=PASSWORD;"*
I get the error message:
'Provider is not specified and there is no designated default Provider.'
I understand that I don’t have the Microsoft ODBC for Oracle driver installed, not sure if we need it if we have the Oracle in OraClient10g_home1 driver and already have a connection set up. So I tried:
*"Driver={ Oracle in OraClient10g_home1 };Dbq=ABCD;Uid=LOGIN;Pwd=PASSWORD;"*
Again.. +'Provider is not specified and there is no designated default Provider.'+
I also tried another method suggested:
Dim strCon
*strCon = "Driver={Oracle in OraClient10g_home1}; " & _*
*         "CONNECTSTRING=(DESCRIPTION=" & _*
*         "(ADDRESS=(PROTOCOL=TCP)" & _*
*         "(HOST=EssbaseServer)(PORT=1592))" & _*
*         "(CONNECT_DATA=(SERVICE_NAME=ABCD))); uid=LOGIN;pwd=PASSWORD;"*
*Dim oCon: Set oCon = WScript.CreateObject("ADODB.Connection")*
*Dim oRs:  Set oRs  = WScript.CreateObject("ADODB.Recordset")*
*oCon.Open strCon*
*oCon.Close*
*Set oRs = Nothing*
*Set oCon = Nothing*
Same error message again:
+Provider is not specified and there is no designated default Provider.+
This leads me to believe that maybe I need to have the Microsoft ODBC for Oracle drivers installed on the server. Maybe I need to set my script differently and am totally doing it wrong. Any help please? If you think I need the driver could you please explain why and how it works so I can put forward for my arguement to install it on the server.
Many thanks

<p>By the error message that you are receiving it sounds like the report was originally designed to use an ODBC or native connection. The JRC will automatically attempt to look for a JNDI name of the same data source when it encounters one of these types of data sources.</p><p>If this is the case then you cannot use the viewer object to pass in the ConnectionInfos. The viewer object can only be used to login to the same data source, not change the location.</p><p>What you need to do is follow the code snippet included in the following sample:</p><p><a href="/files/jrc_change_database_connection_0.zip">http://diamond.businessobjects.com/files/jrc_change_database_connection_0.zip</a></p><p>That should help you out. <br /></p><p>Regards,<br />Sean Johnson (CR4E Product Manager) <br /><br /> <a href="http://www.eclipseplugincentral.com/Web_Links-index-req-ratelink-lid-639.html">Rate this plugin @ Eclipse Plugin Central</a>          </p>

Similar Messages

  • Hey my brother just got an ipod touch and i can't get it to connect to itunes what to i do he's really excited HELP!! :)

    hey my lil brother just got an ipod touch and its saying connect to itunes and its plugged into my computer and im at the itunes website but i can't get it to connect can anyone HELP ME??!! my mom said that she wants his ipod to be connected so that its on my itunes account so i can see if he buys anything.
                                       PLEASE HELP ME !!!
    ~Maddie

    iOS: Device not recognized in iTunes for Windows
    iPhone, iPad, iPod touch: Device not recognized in iTunes for Mac OS X
    If you  have iTunes 11 turn on the Sidebar.  Go to iTunes>View and click on Show Sidebar. You can also do a Crtl+S to show the sidebar

  • Just brought home my IPad. I have the MIFI on and it is bringing in a signal to my IMAC but I can't get it to connect to my IPad. Any suggestions?

    I just brought my IPad home but can't get it to connect to my MIFI. The MIFI is on and working as it's sending a signal to my IMac. How do I get it to recognize the MIFI so I can go online with my IPad?

    Does your iPad see you network?  If no, are you broadcasting its SSID?

  • I'm staying at my house in Peru, South America. From my PC laptop I can see my neighbor's wifi service network, but I also have my mini iPad and I can not figure out why I can't get any wifi connection from my area. Is there a setting I need to do?

    I'm staying at my house in Peru, South America. From my PC laptop I can see my neighbor's wifi service network, but I also have my mini iPad and I can not figure out why I can't get any wifi connection from my area. Is there a setting I need to do?

    Yes, I did try to go on my settings>wifi and was waiting for any wifi signals to pick up, but nothing shows up. But on my PC I get a whole list of networks to choose from. Regarding my neighbor, I already have her password that is why I was able to get it on my PC, the problem is that the mini Ipad is not picking any signal neither can it locate me when I go to maps.

  • Bought a new Ipod touch and the WiFi does not connect.  Tried Reset and total Restore, does not connect to Router on DHCP, tried Static manually and still can not get it to connect even though it registers as connected.

    Bought a new Ipod touch and the WiFi does not connect.  Tried Reset and total Restore, does not connect to Router on DHCP, tried Static IP, Subnet, Router and DNS manually and still can not get it to connect even though it registers as connected.  Using Airport for router, latest firmware, no problems with Iphone 4 or Macbook Pro or any other internet devices.  After total Restore (factory settings) tried again, showed connected to router, but does not display "check" next to router but little rotating icon even though the wifi range signal shows connected at full strength and it says it is connected.  Just can't seem to get it to generate an IP.  Any solutions other than turning it on and off again?  Not a Merry Christmas morning.

    Ok, so, a couple of things:  Denisefromwaleska and I have the exact same size/type/color iPod.  Now wishing I'd bought the black one maybe...
    Second, Airport is an Express and I have a second one that I carry with me when I travel.  Tried to connect my Airport Express to the internet and could not although the iPod did recognize the router and tried to connect to the internet for some time, unlike my previous problem.  Updated firmware on my travel router, still could not connect to the internet.  Going to try to set up a manual Static IP on the travel router here in a few and conect through it although I predict the problem will persist. Back on the Christmas Present Airport Express router, it is back in play and working fine for all devices save the iPod. 
    Thanks again for all your help, hopefully I can get a solution in place soon,

  • How can I get an automatic connection to wifi on startup?

    We lost internet connection during snow/ice storm. I have to manually connect to wifi now. How can I get an automatic connection to wifi?

    An 'uninterruptible power supply' that automatically steps in and takes your computer
    off the grid momentarily, will work in cases of brown-out (under-power) & surge (spike)
    and it does so at a fast rate. Most of these also offer a way to customize sensitivity to
    a certain degree, depending on model and should there be a valid reason to do so.
    An old-school surge protector, even if it has a few fancy LEDs, is no protection. And
    for less than a replacement logic board or an hour of authorized Apple repair, the UPS
    is a fairly good investment. Backup battery is user-replaceable in the better made units.
    Most of them offer extra ports that do not use the battery-backup power feature. If you
    need to have more items run when the power switches up/down or out, you'd need to
    consider a larger capacity backup power unit. In some instances, the makers of these
    (for a time, perhaps even now) did caution users to not install more than one UPS per
    room when the same leg may have inadequate grounding, since these can dump the
    excess surge power from several different UPS units and overload the ground.
    That said, the gamble is yours. I've found to have and use these is some protection
    and when away from the computer. Most settings for controlling them appear in OS X.
    No additional software is required. Other settings may be on the UPS front panel.
    Good luck & happy computing!

  • Hi..I have an AirPort Extreme base connected to my DSL Modem and has been working fine. But I recently bought another DSL modem along with the latest Airport Express. With this one however I can't get it to connect to the Internet. Any suggestions?

    Hi..I have an AirPort Extreme base connected to my DSL Modem and has been working fine. But I recently bought another DSL modem along with the latest Airport Express. With this one however I can't get it to connect to the Internet. The light on the Express is flashing green though. Does it mean I have to re-set the settings on Airport Utility? I.e. the old settings haven't been cleared yet. Any suggestions?

    Let's see if I can get this straight.
    You have an Airport Extreme base station that is set to "Create a wireless network" and you have the box checked for "allow this network to be extended"....
    Then you have an Airport Express that is set to "Extend a wireless network" which you selected the name of your network in the box...
    Correct?
    See this Apple document:
    http://support.apple.com/kb/HT4259?viewlocale=en_US&locale=en_US
    The wireless unit on the right of the diagram can be either of the newer Apple base stations.
    Extreme, Express, Time Capsule

  • I'm trying to connect my Kodak ESP c310 to my Mac mini but it's not coming up in my default printers menu and everything else is working. Their on the same network, software and drivers up to date, but can't get it to connect.

    I'm trying to connect my Kodak ESP c310 to my Mac mini but it's not coming up in my default printers menu and everything else is working. Their on the same network, software and drivers up to date, but can't get it to connect.

    You can purchase recovery disks from HP. Here is a webpage showing you how to do that:
    http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&lc=en&docname=bph07143
    If HP no longer supplies your specific recovery disk, you can usually find one from a 3rd party site, such as www.restoredisks.com for between $20 and $30.

  • Bought New Extreme, works great with Macs but can't get PC to connect

    I just bought a new Airport Extreme this weekend. As promised it was a breeze to set up and things were working well until I tried to connect my TIVO and my work laptop (Windows) to the network I set up. I can't get either to connect to either the base network or the guest network with any level of security set on it. My only success has been to configure the Guest Network without security on it (but I don't like that idea).
    Please help.

    I don't see "Equivalent Network Password" as a selection on the Base Network screen (or any of them for that matter).
    Isn't this the password for my base station and not the wireless network? Maybe that is my problem. I am trying to connect to the network and not the Base Station? I am getting confused. What I really need to do is connect my work laptop (Windows based machine) and my TIVO to the wireless network I've created (Radio Mode selected to Automatic, Channel Selection to Automatic, Security set to WPA/WPA2 Personal).

  • Bought a blue tooth keyboard and I can't get it to connect to the ipad

    I bought a keyboard from bro ketone to use with the iPad. I can't get it to connect on the Bluetooth. Does anyone use this product with their iPad?

    Return your phone and get your money back. There are no unlocked iphones sold in the US...none...zero...nada. All US iphones are locked to AT&T with no way to officially unlock them as AT&T will not authorize the unlocking of an iphone for anyone for any reason. Doesn't matter if purchase the iphone with or without contract, they are all locked to AT&T. Return it and purchase a phone in France. All of the carriers there offer unlocking.

  • HT4623 i bought an ipod touch got itunes downloaded on my computer but can't get it to connect to ipod because it is locked it was locked when i bought it how can i get it un locked

    i bought an ipod touch and i got itunes downloaded on my computer but can't get it to connect to ipod because it is locked it was locked when i bought it how can i get it unlocked?

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up     
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        

  • HT4199 I just purchased a new iPhone 5 and I can't get it to connect to my home network, which is ATT U-verse. Can someone help me?

    I just purchased a new iPhone 5 and I can't get it to connect to my home network, which is ATT U-verse. Can someone help me?

    Apps and music aren't part of the backup.  App data is http://support.apple.com/kb/HT4946

  • TS1702 I have downloaded the Apple Remote App to my phone (3gs) can't get it to connect with my Itunes library?

    I have downloaded the Apple Remote App to my phone (3gs) can't get it to connect with my iTunes library?

    http://support.apple.com/kb/TS1741

  • Can't get printer to connect to computers

    I have an HP Photosmart 5512 all-in-one printer and I"m trying to get it to connnect to my computers in my home. I have a HP 2000 laptop running windows 7. I have tried all the trouble shooting software the company provides, I have unplugged and waited on router and printer. I uninstalled and reinstalled software on computer and printer. I have tried everything the company site has to offer to get this printer connected. I have even called the customer support and they won't help me even though I"m using their products, because its been a couple of years. So if there are any techs on here who know anything about this, please help.  I'm about ready to throw it out the window. Its new, I only used it once a couple of years ago and put it back in the box. Now I need it for college and I can't get it to connect. Help Please.

    Make and model number of modem?
    Make and model number of router?
    Computers connected via wire or wireless?
    OS of computers?
    Please detail all steps you have done to troubleshoot the issue. 
    Say thanks by clicking the Kudos Thumbs Up to the right in the post.
    If my post resolved your problem, please mark it as an Accepted Solution ...
    I worked for HP but now I'm retired!

  • How can I get Client IP Address in oracle?senthil

    How can I get Client IP Address in oracle?senthil

    Hi,
    Following query can help you to get the Client IP Address.
    select sys_context('userenv','ip_address') from dual;
    Thanks,

Maybe you are looking for

  • Business Cards functionality on iPad

    Hi Pushkar, I was referring to one of your Blogs from February(SAP Cloud for Customer - February 2014 Release Highlights) and noticed that under User Experience - there is a Native Business Card Scanner for Mobile Solutions. Do you have any documenta

  • Error when try to release transport request

    I encounter some error during the release of transport request. First, when I go to SE10, it will show message "Global information cannot be read". Then, after I login, I try to release a request, it prompt me another message "Test call of transport

  • JDBC Receiver adapter ( INSERT/UPDATE with SELECT)

    Is it possible to have following kind of SQL Statement comming out JDBC Receiver Adatpter. If yes what would be the corresponding XML Document format for this. UPDATE suppliers  SET supplier_name = ( SELECT customers.name FROM customers WHERE custome

  • Infinity 80/20 slow

    have just had infinity 80/20 fitted last week ,started at 57meg on pc next to hub (wired) next day down to 0.65 download 0.35 up load it has been around this speed for the last 6 days , i have a netbook (wirless) and get 29meg download and 7meg uploa

  • Dataguard quick question

    Hi: I have dataguard implemented for version Oracle 10gR3. During migration, we had to import from old server to new server. While import, we had to turn off Archive Log for about 2hrs to speed up the import process. Once the import was done, we enab