VS 2015 [RESOLVED] Unable to connect to Oracle Database-VBForums
Results 1 to 3 of 3

Thread: [RESOLVED] Unable to connect to Oracle Database

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Aug 2016
    Posts
    24

    Resolved [RESOLVED] Unable to connect to Oracle Database

    I am trying to connect to an Oracle Database thru Visual Basic 2015.

    When I click on Test Connection I get the following error:

    "Attempt to load Oracle client libraries threw BadImageFormatException. The problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed."

    I installed the odp.net with no problem.

    I am using Windows 10 pro 64 bit system.

    Thanks

  2. #2
    .NUT jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    97,341

    Re: Unable to connect to Oracle Database

    The problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed.
    If the problem will occur when running in 64-bit mode with 32-bit Oracle components then there are two obvious solutions: don't run in 64-bit mode or don't use 32-bit Oracle components. If you want to know how to run a VB.NET application in 32-bit mode then the obvious thing to do is to search the web for "vb.net run in 32-bit mode" or the like. If you want to use 64-bit Oracle components then you'd need to download them, if they exist.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Aug 2016
    Posts
    24

    Re: Unable to connect to Oracle Database

    works good

    thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.