Quantcast
Channel: Questions in topic: "ssis"
Viewing all articles
Browse latest Browse all 813

SSIS DelayValidation does not work with Microsoft Access destination file

$
0
0
I have written an SSIS package that writes to an MS Access database using the *Microsoft Office 12.0 Access Database Engine OLE DB Provider*. I have created a ConnectionString expression to dynamically change the destination Access file. The problem is that if I delete the original Access database file the package immediately fails with the following error message: *Error at Load Entries [Destination - Entries [68]]: SSIS Error Code* *DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "AccessDestinationConnectionOLEDB" failed with error code 0xC0202009. There may be error messages posted before this with more information on why the AcquireConnection method call failed.* *Error at Load Entries [SSIS.Pipeline]: Destination - Entries failed validation and returned error code 0xC020801C.* *Error at Load Entries [SSIS.Pipeline]: One or more component failed validation.* *Error at Load Entries: There were errors during task validation.* *Error at MDI_PlayerPromo [Connection manager "AccessDestinationConnectionOLEDB"]: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft Office Access Database Engine" Hresult: 0x80004005 Description: "'C:\Test.accdb' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.".* With other types of files I just set DelayValidation to True to resolve this issue. It is not working with the Access file. How can I force my SSIS package to not need to be connected to an Access file until it is supplied with a value for the ConnectionString variable?

Viewing all articles
Browse latest Browse all 813