Hello,
Inside a Package, I am creating a Global temp table ## in a SQL task and then down the line using that ## in oledb destination in a DFT . This package is running fine but sometimes lets say 1 in 10 times, getting failed at DFT. Error says-
Sql Create BDL Group 12_:Error: OLE DB Destination failed the pre-execute phase and returned error code 0xC0202040.
Sql Create BDL Group 12_:Error: Failed to open a fastload rowset for "##table108". Check that the object exists in the database.
Sql Create BDL Group 12_:Error: 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 11.0" Hresult: 0x80004005 Description: "Unspecified error".
An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "The metadata could not be determined because every code path results in an error; see previous errors for some
of these.".
An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "Invalid object name '##table108'.".
Can anyone give some suggestions on this. I have done the DelayValidation true at DFT / Container level
Thanks,
Avhilash