dbTalk Databases Forums  

DTS Package Migration Wizard Error

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss DTS Package Migration Wizard Error in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Bong Kim
 
Posts: n/a

Default DTS Package Migration Wizard Error - 03-22-2006 , 11:31 AM






I was trying to migrate DTS packages from SQL Server 2000 using Package
Migration Wizard of SQL Server 2005 and successfully migrated 27 of them.
When I tried the 28th DTS package, I got the following error message. From
then on, I could not migrate any more DTS packages even from the same SQL
2000 Server. Can anyone help me on this problem? Thanks in advance for your
help:

Index was out of range. Must be non-negative and less than the size of the
collection. Parameter Name: Index(mscorlib)

Reply With Quote
  #2  
Old   
Michael
 
Posts: n/a

Default RE: DTS Package Migration Wizard Error - 05-26-2006 , 10:59 AM






I had the same problem. I just found this:

http://sqljunkies.com/WebLog/joesack.../03/17743.aspx

I'll copy the text in case the link ever goes away:

SSIS BUG - Migrate DTS 2000 Package fails when pulling packages with
trailing blanks
So today I was testing out the SSIS "Migrate DTS 2000 Package" wizard. I
went through the following steps:

1. In BIDS, I right-clicked the SSIS Packages folder in the Solution
Explorer.

2. Selected Next at the Wizard intro.

3. Selected the source location (where I'll be pulling the packages from).

4. Selected the destination location (the folder where the converted
packages will reside).

On the next dialog box I'm supposed to see a list of DTS 2000 packages on
the source SQL Server instance, but instead I get the error:

"Index was out of range. Must be non-negative and less than the size of the
collection.

Parameter name: index (mscorlib)"

After digging through the newsgroups, I found a tip that this was caused by
trailing blanks in the DTS package names. I ran the following query to
identify the offending packages:

SELECT DISTINCT name
FROM msdb.dbo.sysdtspackages
WHERE name LIKE '% '

After renaming the packages (removing trailing blanks) - the List Packages
dialog box worked! Thanks Koni Kogan!



"Bong Kim" wrote:

Quote:
I was trying to migrate DTS packages from SQL Server 2000 using Package
Migration Wizard of SQL Server 2005 and successfully migrated 27 of them.
When I tried the 28th DTS package, I got the following error message. From
then on, I could not migrate any more DTS packages even from the same SQL
2000 Server. Can anyone help me on this problem? Thanks in advance for your
help:

Index was out of range. Must be non-negative and less than the size of the
collection. Parameter Name: Index(mscorlib)

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.