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

Transfer Database Task Error - Number of files must be the same/Index was out of range

I am trying to create a simple package to transfer a database from one instance of SQL to another.  I seem to have everything set up properly but I get this error:
 
TITLE: Package Validation Error
 ------------------------------
 
Package Validation Error
 
------------------------------
 ADDITIONAL INFORMATION:
 
Error at Transfer ST Database [Transfer Database Task]: The number of source transfer files and the number of destination transfer files must be the same.
 
Error at Transfer ST Database: The Validate method on the task failed, and returned error code 0x80131502 (Index was out of range. Must be non-negative and less than the size of the collection.
 Parameter name: index). The Validate method must succeed and indicate the result using an "out" parameter.
 
Error at Transfer ST Database: There were errors during task validation.
 
 (Microsoft.DataTransformationServices.VsIntegration)
 
------------------------------
 BUTTONS:
 
OK
 ------------------------------
 
I found another question similar to this in the forum but their solution was to set "DelayValidation" to True.  I tried this, setting both the package and transfer task settings to True.  This allowed it to execute, but it wasn't successful and when looking at the execution results the same errors were there.
 
Thank you for your help, Chad
 
Also...the first instance is SQL 2008...the second it SQL 2008 R2.  Also, I tried this with a couple databases and got the same error.  I must be missing something.
0
cbw71
Asked:
cbw71
  • 3
  • 2
1 Solution
 
Marten RuneCommented:
Im a bit lost here, what is it you want to accomplish.

Move a database, set up a mirror, stage a dev/acc environment or what?

Whats to become of the 'source' database.

Please specify and I'll see what I (or anyone else) can come up with.

Regards Marten
0
 
cbw71Author Commented:
I just want to move the database to the new instance.  I had trouble doing an inplace upgrade of 2008 to 2008 R2, so I did a named instance install for the R2 and now I just want to move databases to the R2 instance.

I will also have to transfer the logins as well.

Hope this make sense??

Thanks, Chad
0
 
Marten RuneCommented:
Backup and restore is the normal way to transfer a database

To move accounts you can read here:
http://www.experts-exchange.com/experts.jsp?etIndex=1&cid=1244

Regards Marten
0
 
cbw71Author Commented:
O.k., I try that with the databases.  

The link you provided for transferring the logins just brings me to the Experts Zone, not to a specific article or question.  Could you verify the link?  

Thanks, Chad
0
 
Marten RuneCommented:
I'm sorry about that link.

This should work though:
http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SQL-Server-2005/Q_25193164.html

Read the KB Article I refer to, and then my expanation.

Regards Marten
0

Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now