dbTalk Databases Forums  

Error when trying to use the Wizard to migrate DTS to SQL2005

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


Discuss Error when trying to use the Wizard to migrate DTS to SQL2005 in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Chris Wood
 
Posts: n/a

Default Error when trying to use the Wizard to migrate DTS to SQL2005 - 09-18-2006 , 05:01 PM






Hi,

We get the following error dialog box when we try to migrate SQL2000 DTS
packages from an SQL2005 server.

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

Any ideas why this is happening?

Thanks

Chris




Reply With Quote
  #2  
Old   
Warren Brunk
 
Posts: n/a

Default Re: Error when trying to use the Wizard to migrate DTS to SQL2005 - 09-19-2006 , 12:50 PM






I have seen in the past that this is caused by trailing blanks in your DTS
packages names.

run this script to
identify the offending packages:

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


Rename the packages (removing trailing blanks)



Re run the wizard and see if that helps.



thanks,



--
/*
Warren Brunk - MCITP - SQL 2005, MCDBA
www.techintsolutions.com
*/


"Chris Wood" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi,

We get the following error dialog box when we try to migrate SQL2000 DTS
packages from an SQL2005 server.

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

Any ideas why this is happening?

Thanks

Chris






Reply With Quote
  #3  
Old   
Chris Wood
 
Posts: n/a

Default Re: Error when trying to use the Wizard to migrate DTS to SQL2005 - 09-20-2006 , 09:55 AM



Thank you Warren. We had one package with a trailing blank.

Chris

"Warren Brunk" <wbrunk (AT) techintsolutions (DOT) com> wrote

Quote:
I have seen in the past that this is caused by trailing blanks in your DTS
packages names.

run this script to
identify the offending packages:

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


Rename the packages (removing trailing blanks)



Re run the wizard and see if that helps.



thanks,



--
/*
Warren Brunk - MCITP - SQL 2005, MCDBA
www.techintsolutions.com
*/


"Chris Wood" <anonymous (AT) discussions (DOT) microsoft.com> wrote in message
news:esc9%23322GHA.5024 (AT) TK2MSFTNGP02 (DOT) phx.gbl...
Hi,

We get the following error dialog box when we try to migrate SQL2000 DTS
packages from an SQL2005 server.

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

Any ideas why this is happening?

Thanks

Chris








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.