On a SQL Server 2008 R2 system where we restore some databases during the night, step 2 of job collection_set_3_upload raises errors if it runs while a database is in the middle of a restore. Date 08.02.2013 02:30:00Log Job History (collection_set_3_upload)Step ID 2Server SURIA\DEUTZJob Name collection_set_3_uploadStep Name collection_set_3_upload_uploadDuration 00:00:53Sql Severity 0Sql Message ID 0Operator Emailed Operator Net sent Operator Paged Retries Attempted 0MessageExecuted as user: NETRTLSRV\SvcSQLServerAgent. SSIS error. Component name: DFT - Find and save sql text, Code: -1071636471, Subcomponent: LKUP - Look up query text on target server , Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E14. An OLE DB record is available. Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80040E14 Description: "Database 'smart4rtl' cannot be opened. It is in the middle of a restore.". . SSIS error. Component name: DFT - Find and save sql text, Code: -1071611309, Subcomponent: LKUP - Look up query text on target server , Description: OLE DB error occurred while fetching parameterized rowset. Check SQLCommand and SqlCommandParam properties. . SSIS error. Component name: DFT - Find and save sql text, Code: -1073450974, Subcomponent: SSIS.Pipeline, Description: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "LKUP - Look up query text on target server" (475) failed with error code 0xC0208253 while processing input "Lookup Input" (476). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running. There may be error messages posted before this with more information about the failure. .The master package exited with error, previous error messages should explain the cause. Process Exit Code 5. The step failed.
Operating System Language
Steps to Reproduce