SQLIS Wiki
User: Guest
Login
Wiki Home Wiki Home
Topic Index Topic Index
Edit Edit
Print View Print View
What's New What's New
Search
RSS 2.0 RSS 2.0
Recent Topics
0xC0010009 0xC0010009

Current Version:
10/20/2006 5:45 AM DarrenSQLIS
0xC0010009
.

The element cannot be found in a collection. This error happens when you try to retrieve an element from a collection on a container during execution of the package and the element is not there. This error happens when the client tries to retrieve an element from a collection on a container during execution of the package and the element isn't there.

Constant DTS_E_ELEMENTNOTFOUND
HRESULT 0xC0010009
Error -1073676279
Code 9
Facility Runtime (DTS_FACILITY_RUNTIME)
Severity Error (DTS_SEVERITY_ERROR)

Community Notes

This is similar to an IndexOutOfRangeException exception. An example of this error would be when trying to retrieve a custom properyy (IDTSCustomProperty90) from a custom property collection (IDTSCustomPropertyCollection90), if that property does not exist.

The code below attempts to retrieve the value of a custom property called NameOfProperty. If that property does not exist then this error will be raised.

 object propertyValue = ComponentMetaData.CustomPropertyCollection["NameOfProperty"].Value

The target of this exception should support the explanation above, so Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSCustomPropertyCollection90.get_Item(Object Index) indicates that it is indeed happening when you try and read the property value.

RuntimeErrorCodes

Copyright © 2001-2005 SQLDTS.com. All Rights Reserved. TermsOfUse, Powered by FlexWiki 1.8.0.1677