MSDN Archive Home
Help and FAQs
KB960096 - Error message when you try to add files to Source Code Control (SCC)
All Resource Updates
Change History (all pages)
A Hotfix is a product update package with one or more updated product files that fix a specific product problem.
Please be aware this Hotfix has not gone through full Microsoft product regression testing nor has it been tested in combination with other Hotfixes.
Please carefully review the associated Hotfix KB article to verify the fix is the one needed and there are no known compatibility or installation issues. You may also want to contact a Microsoft Support Professional at
Error message when you try to add files to SCC: Unhandled exception has occurred in a component in your application"
When you try to add files to Source Code Control (SCC) on a computer that has Microsoft Visual Studio 2008 Team Foundation Server Service Pack 1 (SP1) installed, you receive the following exception message:
Unhandled exception has occurred in a component in your application. If you click Continue, the application will ignore this error and attempt to continue.
InvalidArgument=Value of '-1' is not valid for 'index'.
Parameter name: index
This problem occurs when you try to add files by using one of the following methods:
By using the Source Control Explorer shortcut menu
By clicking the Add Items to Folder toolbar button
You must have Team Explorer SP1 installed to apply this hotfix.
Additional Information about the issue resolved by this Hotfix can be found in its Knowledge Base article at
Search the list of all other publicly available Visual Studio and .NET Framework Hotfixes at
Jan 14 2009 at 12:42 AM
, version 5
Sign in to add a comment
Tue Jan 13 2009 at 8:00 AM
More Tags ...
Visual Studio 2005
Visual Studio 2008
Visual Studio 2010
Manage Your Profile
MSDN Flash Newsletter
© 2008 Microsoft Corporation. All rights reserved.