• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 80
  • Last Modified:

Migrating VS2008 SSIS package (SQL 2008 R2) to newer machine.

Hi,

I have an old machine with Windows XP OS.
It has VS 2008 / SQL Server 2008 R2 installed on that.
We have a SSIS package that we are using on the machine.

Now we want to migrate that application to a newer machine.
I don't want to change the VS / SQL versions.

What is the best machine to migrate this combination to ?

Can I use Windows 10 or should I stick with Windows 8.1 or Windows 7?

Any ideas?
0
Arikkan
Asked:
Arikkan
  • 8
  • 6
2 Solutions
 
Evan CutlerCommented:
It depends on how the package has been deployed. If it's in MSDB, you can right-click the package in SSMS and choose Export Package. You can save it locally as file and the deploy that to another server. If it's on the file system, you can just copy the .dtsx file.
1
 
ArikkanAuthor Commented:
Its a dtsx file.

But does it matter that SQL Server 2008 R2 (Local Database) is not supported on Windows 10.
0
 
Evan CutlerCommented:
at that point it's a matter of guidance vs. determination.  if the installation refuses to install, then you have your answer.  if you can install it, and get services going, then you can attempt the migration and see what happens.
1
Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

 
ArikkanAuthor Commented:
I migrated to the new machine built as Windows 8.1 (I tried 64 bit and 32 bit machines)
I installed:

1. VS 2008
2. SQL server 2008 R2 (All components)
3. Oracle Client

But now I cannot connect to oracle using Microsoft OLEDB provider for Oracle :-(

Getting Error:
Oracle test connection failed because of an error in initializing provider. ORA-01019

I am stuck.
0
 
Evan CutlerCommented:
what version of oracle?
0
 
ArikkanAuthor Commented:
Oracle version is 11.2

(PS. I did install VS2008 with SP1)

I tried with a UDL file on desktop and have the same error.....
0
 
Evan CutlerCommented:
you can try a few things:

1. Try updating your connection string:
"Provider=MSDASQL;Data Source=tprss;Persist Security Info=True;User ID=myUser;Password=myPassword"  (DEVNOTE: keep old one just in case)

2. make sure your tnsnames.ora file is correctly filled out.

3. make sure you have the right client:
http://www.oracle.com/technetwork/topics/winx64soft-089540.html
crossing the 64/32-bit lines are a bit fuzzy for windows to oracle connections.

4. Check via odbc connections in control panel.
1
 
ArikkanAuthor Commented:
Thanks. I will try these :-)
0
 
ArikkanAuthor Commented:
1. Try updating your connection string: --> I am getting the error as in the screenshot.

2. My tnsnames.ora is correct as I have picked it from machine where it is working

3. I am on a 32 bit machine. I used think link:
http://www.oracle.com/technetwork/topics/winsoft-085727.html

My oracle is Version 11.2.0.1.0
So I used this client installer:
*Instant Client Package - ODBC: Additional libraries for enabling ODBC applications

But still it did not work.
I got the error in Initializing provider.

Any ideas ?

4. Check via odbc connections in control panel --> What do I need to do here?
0
 
Evan CutlerCommented:
ok.  follow the guidance on this page.
We're going off-topic here, so I'm trying the best on this one.....

but, I did this page once, and it worked for me.
https://docs.oracle.com/cd/E11882_01/datamine.112/e16807/connecting.htm#DMADM129
1
 
ArikkanAuthor Commented:
Sorry for going off topic. I will create another question on experts exchange for this issue soon.
And thanks a ton for your such good advise.  :-)
0
 
Evan CutlerCommented:
no problem.  anytime, I hope you get it going.
1
 
ArikkanAuthor Commented:
ok. I got it working in Windows 8.1 Enterprise (32 bit).

I had to do the following:
1. Windows 64 bit did not work (So used 32 bit)
2. Installed Visual Studio 2008 Enterprise with SP1
3. Installed SQL Server 2008 R2 Enterprise with updates
4. Migrated my solution
5. Tested OLE DB (Oracle) connection with UDL files on desktop
6. Set up Environment variables (TNS_ADMIN ,   ORACLE_HOME)
7. Ran the solution and it worked

:-)


Some good resources that helped me:

How do I know which ORA file my SSIS package is using to connect to Oracle 10g?
http://stackoverflow.com/questions/6126548/how-do-i-know-which-ora-file-my-ssis-package-is-using-to-connect-to-oracle-10g

Oracle ORA-12154: TNS: Could not resolve service name Error?
http://stackoverflow.com/questions/206055/oracle-ora-12154-tns-could-not-resolve-service-name-error

Issue connecting to Oracle source using OLE DB source:
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/aaa6b14e-bc66-4c97-8035-7637342607f4/issue-connecting-to-oracle-source-using-ole-db-source?forum=sqlintegrationservices
ORACLE_HOME path inside system variables
0
 
ArikkanAuthor Commented:
:-)
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 8
  • 6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now