Can we connect to oracle 9i using vb6.0 in 64 bit machine.

Can we connect to oracle 9i using vb6.0 in 64 bit machine.
Code i have written is
dim conn as new ADODB.Connection
conn.open("Provider=MSDAORA.1;password=pw;user id=usname;data source=dbname;Persist Security info=false")
but it is throwing an error saying
"Connection not open"
But the same code is working in vb.net.
Do we need to install any providers for 64 bit machine?

I have had no luck doing this in the 64-bit ODAC or otherwise. If anybody succeeds I would love to hear about it. My experience follows for those interested:
I am trying to migrate some working VB6 code from Windows 2000 Server to 64-bit Windows Server 2003 but can't get the OLEDB connection to Oracle to work.
In the working code (x86 environment), I am using ADO 2.8 and Microsoft OLEDB Provider for Oracle (MSDAORA). Since the Microsoft OLEDB provider for Oracle is no longer supported or available on Windows Server 2003 x64, I tried to use the 32-bit Oracle OLEDB provider in ODAC 10.2 but may have run into the parsing bug posted on MSDN (http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=159581). Next, I successfully installed the beta 64-bit version of ODAC 10.2, but when I try to open the connection I receive "Error 3706 Provider cannot be found. It may not be properly installed." However, I can successfully TNSPing the data source.
Windows Server 2003 x64 (not Itanium)
Oracle Enterprise 9.2
Microsoft Visual Basic 6
Microsoft ADO 2.8 (Objects & Recordset references)
Oracle OLEDB Provider (ODAC 10.2, 64-bit)
Code Snippet:
Set m_dbConn = New ADODB.Connection
With m_dbConn
.ConnectionString = "Provider=OraOLEDB.Oracle;Data Source=oplprod; User ID=myid; Password=mypwd;"
.ConnectionTimeout = 10
.CursorLocation = adUseClient
.Open
End With

Similar Messages

  • Can't connect iPhone or iTouch to Windows 7 64-bit machine

    Has anybody had any luck installing all the iTunes software on a Windows 7 64-bit machine? iTunes and QuickTime install fine, but the AppleMobileDeviceSupport64.msi package will not install. I can paste the install log file if it will help, but I wanted to check if this should work or not - and if not if there were any work arounds.
    Thanks,
    Bob

    Hey there @slee , welcome back
    I would suggest trying the steps in this guide for the installation troubles you are having on your one specific Windows 7 computer.
    Windows 7: The Progress Bar on the Software Installation Stops or Stalls
    You can also try disabling your firewall while you run the installation to see if that helps.
    Let me know the results!
    Have a great Thursday
    R a i n b o w 7000I work on behalf of HP
    Click the “Kudos Thumbs Up" at the bottom of this post to say
    “Thanks” for helping!
    Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution!

  • Can FDMEE connect to oracle table as source system?

    Can FDMEE connect to oracle table as source system?

    Hi Experts ,
    I am new to FDMEE .
    I am loading data from Oracle RDBMS to Essbase/Planning using Open Interface Adapter , as per the steps mentioned in the Erpi_admin guide , i have populated the AIF_OPEN_INTERFACE table with data and configured FDM stuffs ( Mappings , Import Format , Location , Data Rule etc ) . During IMPORT getting the error "
    2014-01-28 17:45:24,018 FATAL [AIF]: Error in CommData.insertImportProcessDetails
    Traceback (most recent call last): File "<string>", line 2304, in insertImportProcessDetailsRuntimeError: No periods were identified for loading data into table 'TDATASEG'."
    Just to confirm that i have done the Period Mapping as well .
    Please guide me to load the data using Open interface adapter .
    Thanks,
    Amit

  • Oracle 6i Forms can't connect to Oracle XE Database(Linux)

    What is the problem, I can't connect my Oracle 6i Forms to Oracle XE Database that installed on Linux(Fedora Core 4/Ubuntu 6.06), but no problem when I try to connect to Oracle XE Database that installed on Windows.
    Thanks,

    See this thread, seem me interesting
    Re: Trouble to start Oracle XE listener
    on forms 10g it's work:
    using Database XE and Forms 10g
    and see too:
    http://www.oracle.com/technology/software/products/database/xe/htdocs/102xelinsoft.html
    http://www.oracle.com/technology/software/products/database/xe/files/install.102/b25144/toc.htm
    http://www.oracle.com/technology/tech/linux/install/xe-on-kubuntu.html
    Regards

  • Oracle9iAS(9.0.2.0.1) Can't connect X11 Window Server Using localhost:0.0

    Hi, everyone:
    I have installed the Oracle9iAS(9.0.2.0.1), at the first time installation, every thing is succeed in Miracle Linux 2.0, but after i reboot linux pc, then
    #$ORACLE_HOME/bin/emctl start is also succeed,
    unfortunately after i connect to that pc by 1810 port,
    it display a web page with the message of
    Servlet error: Renderer failed:
    java.lang.NoClassDefFoundError can't connect X11 window
    server using 'localhost:0.0' as the value of the DISPLAY
    variable
    why, and how to solve this problem, thanks in advanced

    Check out the support matrix for deploying to different versions of OracleAS.
    http://otn.oracle.com/products/jdev/htdocs/9.0.5.1/install.html#supported
    Following how-to has an FAQ which has details about invalid servlet path error.
    http://otn.oracle.com/products/jdev/howtos/appservers/deployias.html#faq
    raghu
    JDev Team

  • How can I connect to the database using ODBC within excel.

    Hi,
    How can I connect to the database using ODBC within excel and just refresh the data when needed.
    Thanks,
    Priyanka
    Edited by: user554934 on Jun 9, 2009 2:53 AM

    This is NOT an APEX relevant question, try posting it in the SQL/PL/SQL Forum..
    Thank you,
    Tony Miller
    Webster, TX

  • How can I connect personal hotspot to use the internet from my phone on my laptop?

    I do not have internet at home and want to be able to connect using the personal hotspot on my phone. How do i do this??

    How much would be a month?
           From: Verizon Wireless Customer Support <[email protected]>
    To: kelly johnson <[email protected]>
    Sent: Wednesday, October 8, 2014 12:02 PM
    Subject:  - How can I connect personal hotspot to use the internet from my phone on my laptop?
    #yiv3595356488 img
    |  
    |
      | 
    A message from the Verizon Wireless Community
      |
    |   |
    How can I connect personal hotspot to use the internet from my phone on my laptop?
    created by Verizon Wireless Customer Support in iPhone 4S - View the full discussion                  Hello kmj65
    Thanks for replying. The plan you have it would be an additional charge to add the hotspot feature. It's not free with the Nationwide plan. You would need to add the feature online at www.verizonwireless.com/myverizon
    JoeL_VZW
    Follow us on Twitter @VZWSupport   Reply to this message by replying to this email -or- go to the message on Verizon Wireless Community Start a new discussion in iPhone 4S by email or at Verizon Wireless Community


    © 2014 Verizon Wireless
    Verizon Wireless
    One Verizon Way
    Mail Code: 180WVB
    Basking Ridge, NJ 07920
    Not interested in these emails anymore, or want to change how often they come? Update your email preferences by visiting https://community.verizonwireless.com/user-preferences!input.jspa.
      |
    We respect your privacy. Please review our privacy policy for more information
    about click activity with Verizon Wireless and links included in this email.
      |

    |

  • Can i connect 2 external hdd using the thunderbolt to ethernet adapter

    can i connect 2 external hdd using the thunderbolt to ethernet adapter

    thanks its a wd my book world i just want to directly connect to it i dont want to use it as a network hdd anymote and if i do it will i still be able to use wifi to connect to the internet.
    it shows up the the bonjour bookmarks when its connected through my router does that mean it will work?

  • I can't connect my personal hotspot using wifi,I can able to find my iphone4 but it's just showing obtaing ip adress ??wat can I do for this problem??

    I can't connect my personal hotspot using wifi,I can able to find my iphone4 but it's just showing obtaing ip adress ??wat can I do for this problem??

    Hey there arunvdi,
    It sounds like you are unable to connect to the Wi-Fi created by your Personal Hotspot. I recommend these troubleshooting steps from the article named:
    iOS: Troubleshooting Personal Hotspot
    http://support.apple.com/kb/ts2756
    Try disabling and reenabling Personal Hotspot from Settings > Personal Hotspot or Settings > General > Cellular > Personal Hotspot.
    Reset network settings by tapping Settings > General > Reset > Reset Network Settings.
    Wi-Fi troubleshooting
    If you encounter an issue using Personal Hotspot with other Wi-Fi devices, try the following:
    Turn Personal Hotspot off.
    Verify Wi-Fi is on in Settings > Wi-Fi.
    Turn Personal Hotspot back on.
    If another device is unable to join your Wi-Fi network, ensure that the user enters the Wi-Fi password correctly. If the device cannot see your Wi-Fi network, verify your device name.
    Note: Windows may not properly display a device name that uses non-ASCII characters.
    Verify how many devices are currently using your Personal Hotspot. Depending on your wireless carrier and, the maximum number of Wi-Fi connections may be limited to three at one time.
    If the other device still cannot connect, try turning Wi-Fi off and on again on the device. Verify that your device can see other Wi-Fi networks.
    Note: If you see an "Unable to Join" or timeout error when trying to connect a device using Wi-Fi, ensure that you remain on the Personal Hotspot screen until the first device connects. After a device has connected, you can leave the Personal Hotspot screen and use your phone normally. Your device will automatically stop broadcasting using Wi-Fi if you put your device to sleep or after 90 seconds elapse with no devices connected using Wi-Fi. You can start broadcasting your Wi-Fi network again by tapping Settings > Personal Hotspot.
    If none of the previous steps resolves your issue, restore the iPhone.
    Thank you for using Apple Support Communities.
    Regards,
    Sterling

  • I have an ipod 4 can i connect to pc and, using itunes match, store all music off ipod and then transfer to a new ipod 5?

    i have an ipod 4 can i connect to pc and, using itunes match, store all music off ipod and then transfer to a new ipod 5?

    hI, bella
    I also met this issue a few days ago and I finally find out how to transfer music from iPod to computer:
    1. Plug your iPod in and wait for the computer to recognize it.
    2. Open up 'My Computer' and under 'Devices With Removable Storage', double click and open apple iPod.
    3. Click on 'Tools' at the top of the window and drag down to 'Folder Options'.
    4. Under the 'View' tab, find the subfolder called 'Hidden files and folders'.
    5. Select the option 'Show hidden files and folders'.
    6. Click 'OK'.

  • Connect to oracle database using c program

    I am using AIX environment and i want to connect to oracle database using c program.

    http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10825/pc_03dbc.htm#i5880

  • My X61 can't connect wireless when i use battery!!!

    TYPE NO.:  7673-AN6
    i confused why it can not connect wireless when i use battery?!
    the problem drive me crazy nearly, it means i must take adapter every time
    i help every one can help me!
    cheers,

    Most of the functionality and problems are in the drivers. The hardware tends to be discrete testable functions though these days there is a fair bit of functionality in the hardware. The hardware tends to be implementing better defined protocols where as the to and fro of the higher level protocols tend to be what varies from Access Point to Access Point. The 4965AGN is a fairly recent chip set and the drivers are far from smoothly running.
    The problems can vary from AP to AP so may work at home but not at work etc. Some have reported here that the 4965AGN setup doesn't work with the Cisco 1200 Access Point and I have yet to be able to get it to work under Vista with the equipment at any New York Starbucks. T-mobile do use Cisco equipment but I don't know which models.
    Anything you can do to simplify the situation helps. Maximum power. No security. Disable IPv6 on the connection etc. Just to give a rough idea of the kind of thing that might be wrong here are some of the things listed as known issues or fixed according to the readme of the driver (Originating from Intel) that was released for the 4965AGN on 4/11/08.
    There are several authentication issues with EAP, PEAP and LEAP which will cause it not to authenticate. There are also Vista EAP issues and some things which may resolve with SP1 which was pushed out on update last week. So there are many comnbinations of situations which may not work and it is important to test with different access points. Authentication and security has more issues. Also at the higher speeds such as 54Mb some of the security mechanisms will not be able to keep up. AES is the only mechanism which Intel expects to work at 54Mb.
    http://downloadmirror.intel.com/15806/ENG/relnotes.htm
    There have also been past issues where the cards are silenced for twenty minutes after a failure to authenticate and in many cases the card will not be in a valid state after hibernation. It is noticable that when you phone T-mobile the first thing the tech has you do is completely shut the machine down - not hibernate - and begin afresh.
    Once you have uninstalled and re-installed the drivers and connection manager a few times it is also possible to be having problems with junk left in the registry.
    I don't recommend adding the 4965 drivers directly from the Intel site. I would wait for the one that has come through the Lenovo testing cycle.
    In reality for those who don't want to make maintaining their laptop a serious hobby (Hopefully all of us - Far too much time is wasted on wireless) it is really a matter of rebooting your machine at a given access point. Trying your luck and then shutting it down and going somewhere else if it doesn't work. Use wires when you can. At home if your access point doesn't work check your configuratiions, temporarily remove all security, restore factory settings on the AP, reinstall from scratch and if it still doesn't work replace it with a different brand of Access Point.
    Of course it is intended to just work and for 95+% of situations Wi-Fi does. The 4965AGN is newer so it has its fair share of early life issues to get resolved. Vista also still has issues. If the problem you are seeing is only when you are on batteries you are lucky and LANOgre's instructions may well solve it.
    Message Edited by hiker on 05-19-2008 09:23 PM

  • I just downloaded the latest OS upgrade and since I can not connect to the internet using my cellular data plan.

    I just downloaded the latest iOS.7 upgrade on my ipad2, and since I can not connect to the internet using my cellular data plan.  I have checked my data plan and it's both current and over 2GB remaining.  However the indicator shows no service, thus would be the best steps to recover.  Thanks much for any support that can be provided.

    Hello Kmart2@3
    Check out the troubleshooting article below to get cellular to start working again. 
    iPad (Wi-Fi + Cellular Models): Troubleshooting a cellular data connection
    http://support.apple.com/kb/TS4249
    Regards,
    -Norm G.

  • I try to update my iphone 4 to ios 7.1.1. But now my iphone stucks in recovery mode and can't connect to itune. i use windows 7

    I try to update my iphone 4 to ios 7.1.1. But now my iphone stucks in recovery mode and can't connect to itune. i use windows 7

    Try the iTunes troubleshooting advice here:
    Windows - http://support.apple.com/kb/ts1538

  • Can't connect to itunes store using itunes on an iMac G5

    Can't connect to itunes store using itunes on an iMac G5 and I downloaded itunes 8.  It was able to authroize the Mac but then cannot connect to itunes store.  Please help.

    Can't connect to itunes store using itunes on an iMac G5 and I downloaded itunes 8.  It was able to authroize the Mac but then cannot connect to itunes store.  Please help.

Maybe you are looking for

  • Signature Feature in Adobe

    Hi Experts, I would like to use Place Signature feature in Adobe where User can use the Mouse to sign in a field in Adobe. Place Signature feature works only in Non Interactive Form. When the form is rendered as Interactive, feature is not enabled in

  • Error Code U44M1P7   Help!  Using Elements 12.  Cannot get update to 12.1 due to Error Code

    I've closed auto analyzer and Revel Agent is not turned on either.  Can't figure out what to do next.  Any help appreciated.  Thanks SKB

  • Outlook to pdf

    Hello, Converting Outlook 2010 html e-mail to Acrobat pdf using Acrobat X Standard, if an image wider than page side is in the text, the final pdf-file is resized with the font much smaller than original and many times imposible to read. Is there a w

  • Exception while packaging for ios

    Trying the latest 3.6 SDK I got the following exception: Error while reinvoking java.io.IOException: failed to find jar file         at com.adobe.air.Utils.getJarFile(Utils.java:71)         at com.adobe.air.ADT.relaunchForIPAIfNecessary(ADT.java:375)

  • Deactivate warehouse for my storage location

    hi,    i am not created warehouse for certain materials ,but suddenly plant -1000,st.loc-0001,wm-001 in these combination all  materials have warehouse. i have to correct the problem plz guide me. regards muthruaman.d