Solved

VB app move from Oracle 11.2 to 12c db?

Posted on 2014-10-27
6
584 Views
Last Modified: 2014-10-27
I'm working with a Visual Basic developer who only knows to compile with the new 12c Oracle.Data.Access.dll moving from Oracle database 11.2 to 12c.  So far he can only get one dll to compile but nothing to connection and he gets "dependency error".  We are also moving from a Windows  32bit 2003 app server to a 64bit Windows 2012R2 server.

I loaded 12C ODAC and tested it per Oracle support instructions so I'm confident that connection works.  This is all we did in the past moving from Oracle 10 to 11.  Since at this point "I don't know what I don't know" is there anything else our VB developer needs to do to get his code to work with a 12C database?
0
Comment
Question by:talahi
  • 3
  • 3
6 Comments
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 40407310
Straight VB or VB.Net?

Is the app 32Bit or 64Bit?  Make sure you install the correct Bit version of the ODAC for the app not the server.
0
 

Author Comment

by:talahi
ID: 40407417
VB.net web app. The app in 32bit.  ODAC version is 64bit.  Do I need to stick to 32bit ODAC for a 32bit app or can he convert it to a 64bit app, and if so how difficult?  Originally everything deveoped in 32bit environment (XP and 2003 server) but we've recently been upgraded to 64bit (Win7 and 2012r2 server).
0
 
LVL 76

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 total points
ID: 40407502
32Bit apps talk to 32Bit drivers.  64Bit apps talk to 64Bit drivers.  You cannot mix them.

>>can he convert it to a 64bit app, and if so how difficult?

I only know enough .Net to be a little more than dangerous.

Don't know.  I believe the default is 'AnyCPU'.  You should be able to compile for 64Bit.  Just not sure if the app will work or not since I don't know what it does.

That said:
I would look strongly at the new 12c Managed Driver.  It doesn't require an Oracle client install.  I've been using it in development since it came out and am very happy with it.

We are getting ready to go into production with it soon.

Tell the developer it should only be a namespace change.  That is unless you are doing something that isn't supported yet but that list is small.

Download the ODP.NET, Managed Driver Xcopy version only

32Bit:
http://www.oracle.com/technetwork/database/windows/downloads/utilsoft-087491.html

64Bit:
http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Closing Comment

by:talahi
ID: 40407528
Thanks again.  Will try this managed driver.
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 40407532
Are you sure you don't want to leave this open until it is up and running?

If it doesn't work, then you'll need to ask a question that will likely be a duplicate.

Just let me know an I can unaccept this for you.
0
 

Author Comment

by:talahi
ID: 40407547
I'll probably have other non duplicate questions but this will keep us busy tomorrow.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
SSN Format in Oracle 2 60
Oracle Pivot 2 34
Concat multi row values of a field in oracle 6 36
Oracle Next Available Number 2 15
This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now