Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 SSIS and Import/Export (2008)
 SSIS 2008 Transfer Database Task failed

Author  Topic 

McGurk
Starting Member

21 Posts

Posted - 2010-05-20 : 12:22:49
The package is set up to copy a database from one 2008 sql server to another 2008 sql server. Need to set up a job to do this on a daily basis. I have tried my package in BIDS and installed on the server, fails with the same message each time. Cannot find anything on the web or MSDN documentation that helps.
See error below:

"SSIS package "mypkg.dtsx" starting.
Error: 0xC0024104 at mypkg: The Execute method on the task returned error code 0x80131500 (Detach database failed for Server 'mydatabase'. ).
The Execute method must succeed, and indicate the result using an "out" parameter.
Task failed: mypkg"

Any help would be greatly appreciated! Thanks.

McGurk
All that is gold does not glitter, not all those who wander are lost... JRR Tolkien

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2010-05-20 : 13:57:40
I don't have the answer as to why your package is failing, but I thought you might be interested to see how other people copy databases from one server to the next on a daily basis. Here's my blog article that discusses this topic: http://weblogs.sqlteam.com/tarad/archive/2009/02/25/How-to-refresh-a-SQL-Server-database-automatically.aspx

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
   

- Advertisement -