When you use the oledb destination in a SSIS package, you must use the oledb connectionstring syntax, see http://www.connectionstrings.com/sql-server-2008 for more information.
If you use the connectionstring: Data Source=Server1\InstanceName1;Initial Catalog=Database1;Provider=SQLNCLI10.1;Trusted_Connection=True; you wil get the error: "Invalid value specified for connection string attribute” ‘Trusted_Connection’", because the syntax should be Data Source=Server1\InstanceName1;Initial Catalog=Database1;Provider=SQLNCLI10.1;Trusted_Connection=yes;
Workaround
After this error I decided to use the syntax Data Source=Server1\InstanceName1;Initial Catalog=Database1;Provider=SQLNCLI10.1;Integrated Security=SSPI; this syntax will work on sql, oldb and odbc connections.
Error Message
Executed as user: Domain1\User1. Microsoft (R) SQL Server Execute Package Utility Version 10.0.1600.22 for 64-bit Copyright (C) Microsoft Corp 1984-2005. All rights reserved. Started: 3:09:46 PM Error: 2009-07-30 15:09:46.63 Code: 0xC0202009 Source: ControleerProces Connection manager "Database1" Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80004005 Description: "Invalid value specified for connection string attribute ‘Trusted_Connection’". End Error Error: 2009-07-30 15:09:46.63 Code: 0xC0202009 Source: ControleerProces Connection manager "Database1" Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80004005 Description: "Invalid value specified for connection string attribute ‘Trusted_Connection’". End Error Error: 2009-07-30 15:09:46.65 Code: 0xC0202009 Source: ControleerProces Connection manager "Database1" Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80004005 Description: "Invalid value specified for connection string attribute ‘Trusted_Connection’". End Error Error: 2009-07-30 15:09:46.65 Code: 0xC020801C Source: Controleer nieuwe foutmeldingen Ophalen foutmeldingen [31] Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Database1" failed with error code 0xC0202009. There may be error messages posted before this with more information on why the AcquireConnection method call failed. End Error Error: 2009-07-30 15:09:46.65 Code: 0xC0047017 Source: Controleer nieuwe foutmeldingen SSIS.Pipeline Description: component "Ophalen foutmeldingen" (31) failed validation and returned error code 0xC020801C. End Error Error: 2009-07-30 15:09:46.65 Code: 0xC004700C Source: Controleer nieuwe foutmeldingen SSIS.Pipeline Description: One or more component failed validation. End Error Error: 2009-07-30 15:09:46.65 Code: 0xC0024107 Source: Controleer nieuwe foutmeldingen Description: There were errors during task validation. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 3:09:46 PM Finished: 3:09:46 PM Elapsed: 0.297 seconds. The package execution failed. The step failed.