Solved

How to copy data from sql server 2005 to sql server 2008?

Posted on 2010-09-02
6
323 Views
Last Modified: 2012-06-27
I need to transfer a 2 tables' data on a 4 hour basis from sql server 2005 to sql server 2008 .

First of all ,I am unable to register the 2008 server in 2005 SSMS .It gives me an error that this version is not supported. I have sp3 on sql server 2005 . What should I change to be able to do that.

I tried SSIS package . I did 'export data ' from SSMS and  saved it as a ssis package. It ran successfully . But when I scheduled it as a job,the job failed giving the following error : (I replaced the actual names in the following error message for privacy purposes at the start with servername\account. Everything else is as it it)

Message
Executed as user: servername\account. ...LEDB". Connection may not be configured correctly or you may not have the right permissions on this connection.  End Error  Error: 2010-09-02 11:39:28.00     Code: 0xC0202009     Source: 090920101130 Connection manager "DestinationConnectionOLEDB"     Description: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.  An OLE DB record is available.  Source: "Microsoft SQL Native Client"  Hresult: 0x80004005  Description: "Login timeout expired".  An OLE DB record is available.  Source: "Microsoft SQL Native Client"  Hresult: 0x80004005  Description: "An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.".  An OLE DB record is available.  Source: "Microsoft SQL Native Client"  Hresult: 0x80004005  Description: "TCP Provider: A connection attempt .  The step failed.


-----------------

Please help . Did someone ran into same kind of problem? How do I run the ssis package successfully. Why and where it can't connect when the same export can run successfully when ran manually and standalone??

Thanks a lot for any help !
0
Comment
Question by:sql2005dba
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 8

Expert Comment

by:dba2dba
ID: 33588552
You can setup linked server and schedule a sql agent job to do it.

Below is some info on Linked servers:

http://blogs.techrepublic.com.com/datacenter/?p=133
0
 
LVL 32

Expert Comment

by:Ephraim Wangoya
ID: 33588781
You can not register a 2008 server in 2005 SSMS

You can do it the other way around
0
 
LVL 9

Expert Comment

by:shalabhsharma
ID: 33588854
Yes you cannot register MSSQL2006 in Sql manamgment studio.

There is workaround that install SSMS 2008 and import the table from the 2005 database.
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 9

Expert Comment

by:shalabhsharma
ID: 33588859
Yes you cannot register MSSQL2008 in Sql management studio 2005

There is workaround that install SSMS 2008 and import the table from the 2005 database.
0
 
LVL 21

Accepted Solution

by:
Jason Yousef, MS earned 500 total points
ID: 33589259
Well, YES  you cannot register 2008 in SSMS 2005.

anyway you should have SSMS 2008 since you installed SQL server 2008 and can connect to he the 2005 one.

second, the error is saying "SQL Server does not allow remote connections", so make sure that the server allows remote connections, and the account that runs the SQL server agent has rights to connect to the server.

looks like you're using a local account on the other server and it cannot connect to the old 2005 instance or server.

please tell me if you need help with any of the above steps?
0
 
LVL 3

Expert Comment

by:abhijit_k
ID: 33616373
USe Ingeration Services for Transferring Data from SQL 2005 to SQL 2008
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

752 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