Oracle Connectors v4.0 is not working for SSIS - oracle

I upgrade SSDT from 2012 to 2017 recently, the package containing a Oracle source and a Oracle destination run well before upgrading.
After upgrading, it has error:
The component metadata for oracle source, clsid{....} could not be upgraded to new version of the component, The perform upgrade method failed.
I guess it may be related to Oracle connector version, so I download connector 4.0 from https://www.microsoft.com/en-us/download/details.aspx?id=52950
But even I install connector 4.0 and rebuild my SSIS package containing Oracle connection manager, the error is same as before, what should I do?

I searched for 2 days and it can be resolved by installing connector 5.0(though 5.0 is for SQL Server 2017, but my SQL Server is 2016).

Related

SSIS Oracle connector

I am in the process of setting up a new SQL server 2019 standard edition. (due to price unable to go to enterprise edition)
The issue I am having is I have re-written a SSIS package that uses an oracle connector within the package to push data into my SQL server tables.
However when I run this in SSMS it returns an obvious error:
I have also tried to run this via CMD line however returns the same error.
My query is there a way for me to auto extract data from an oracle DB using SQL server 2019 Standard edition.
Due to license restriction we are unable to have VS installed on the server.
Any ideas would be much appreciated.
TIA

Oracle clr host

I'm so new to oracle
and I have been ordered to execute .net clr in oracle
but I'm confused now with these concepts
oracle data access components
oracle data .net extensions
please any help to put me on the right way
how I'm going to execute clr written in .net in oracle environment
I'm using oracle 12c and visual studio 2013
i have installed this oracle data access components
in this link
http://www.oracle.com/technetwork/topics/dotnet/utilsoft-086879.html
for oracle 12 release1
and then
download oracle developer tools for visual studio
http://www.oracle.com/technetwork/topics/dotnet/downloads/odacmsidownloadvs2013-2756823.html
and i'm getting errors when making new oracle project
is installation order wrong?
thanks for your replies
,but
i have discovered that each release of oracle has specific corresponding ODAC (oracle Data Access Components) ,and if you install un correct one you will get a lot of problems when deploying .net stored procedure (clr)
for me with oracle 12c release 1
the suitable odac were Release 4 (12.1.0.2.4) For windows x 64 found in this link
http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html
when i installed these components i was able to have visual c# oracle project and then i followed this link tutorial
https://docs.oracle.com/cd/E63277_01/win.121/e63386/demo.htm#CLRNT154
and every thing in clr was ok

Oracle Developer Tools for VS2013 throwing object reference error

I have the following installed:
VS 2013
Oracle 11g database
Oracle Developer Tools for VS 2013 12.1.2400
ODP.NET 12.1.2400
EF 6
After I add or select a new connection when adding a new ADO.NET Entity Data Model, I get an "Object reference not set to an instance of an object" error and am not able to add a new model.
This was previously working when I had the DevArt Oracle client installed (although I wasn't using it). After I uninstalled the DevArt components I started to get this error.
I have since uninstalled and re-installed the Oracle developer tools and ODP.NET but still get the same error.
I am able to connect to the Oracle database via the Server Explorer within VS.
Any ideas? It's driving me mad.
I decided to give up on VS 2013 and installed VS 2015 which I was planning on doing anyway.
In VS 2015 I got the same "Object reference error" when trying to add a new project. I found this thread: Error message "No exports were found that match the constraint contract name" which had the solution for that.
I installed the Oracle Developer Tools for VS 2015 (the MSI version) and it's working. Still not working in VS 2013, but I will just abandon it.
I suspect uninstalling the Devart component caused this issue.

connect with oracle database through visual studio 2010

I have installed oracle database 11gR2 and visual studio 2010 32 bit. Then I tried to install odac for oracle client 11.2.0.1.2. It gives this error.
"Oracle Data Access Components for oracle client 11.2.0.1.1 can only be installed over and existing Oracle client 11.2 Hoeme. Use Oracle Data Access Components for Oracle server 11.2.0.1.0 to install in Oracle server 11.2.0.1.0 Home."
I can't understand what to do next.Hope your helps...
thank you.
When you install, choose a new Oracle Home directory with the client. If you want a step by step guide how to do this, follow this tutorial:
http://docs.oracle.com/cd/E17781_01/appdev.112/e18751/installation.htm#CACBIDHI

Visual Studio upgraded my database, now how do I convert it back.

I wanted to open my database up using sever explorer in visual studio 2012 and it told me I needed to upgrade my database from 3.5 to 4.0. Now when I deploy my application (WP8 project) it tells me Incompatible Database Version. If this was a compatible file, run repair. For other cases refer to documentation. [ Db version = 4000000,Requested version = 3505053,File name = mydatabase.sdf ]. How do I downgrade back to 3.5... I'm using VS2012 - surely if there was a quick upgrade like it did - there is a quick downgrade. :-)
I assume a backup wasn't created by the wizard. You could try using the SQL Server Compact Toolbox to downgrade from 4.0 to 3.5. There's a tutorial here on how to do it for SQL Server to 4/3.5 but it should be the same for CE 4 to 3.5. The idea is to export your database's information to a file that can then be used to create a 3.5 version of the database.
Before you try and downgrades, create a backup of the database just in case something else happens.

Resources