2016-11-11 63 views
8

이 문제를 며칠 동안 해결하려고했지만 웹에서 직접 검색 할 때 문제를 직접 설명하지 않는 이유 이 패키지에서 실행중인 커서가 없으므로이 오류가 발생합니다.SSIS를 실행하는 SQL 작업 - 커서가 선언 된 후 테이블 스키마가 변경되어 커서 작업을 완료 할 수 없습니다.

위에서 볼 수 있듯이

enter image description here

, 궁극적으로는 설명 할 수있는 일이 스키마 변경은 여러 가지가있을 수 있습니다 :이 패키지는 거의 여기 설명 -

은 내가 SSIS 패키지를 실행하는 SQL 작업이 왜이 오류가 발생하지만 패키지가 수동으로 SQL 작업을 통해서만 실행될 때이 오류가 발생하지 않는 것 같습니다. 또한, 작동 어느 날 자발적으로 일어날 것 같다 다음 날이 오류를 줄 옆에 :

enter image description here

Microsoft (R) SQL Server Execute Package UtilityVersion 10.50.4000.0 for 64-bitCopyright (C) Microsoft Corporation 2010. All rights reserved.Started: 04:30:00 AMError: 2016-11-11 04:31:35.91 Code: 0xC0202009 Source: Load into Stageing Database Load into Stageing Database [114] 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: "Could not complete cursor operation because the table schema changed after the cursor was declared.".End ErrorError: 2016-11-11 04:31:35.92 Code: 0xC0209029 Source: Load into Stageing Database Load into Stageing Database [114] Description: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "input "OLE DB Destination Input" (127)" failed because error code 0xC020907B occurred and the error row disposition on "input "OLE DB Destination Input" (127)" specifies failure on error. An error occurred on the specified object of the specified component. There may be error messages posted before this with more information about the failure.End ErrorError: 2016-11-11 04:31:35.92 Code: 0xC0047022 Source: Load into Stageing Database SSIS.Pipeline Description: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "Load into Stageing Database" (114) failed with error code 0xC0209029 while processing input "OLE DB Destination Input" (127). 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.End ErrorError: 2016-11-11 04:31:36.06 Code: 0xC02020C4 Source: Load into Stageing Database Retrieve ITExtr03FinM 1 Description: The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020.End ErrorError: 2016-11-11 04:31:36.11 Code: 0xC0047038 Source: Load into Stageing Database SSIS.Pipeline Description: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on component "Retrieve ITExtr03FinM" (1) returned error code 0xC02020C4. The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component but the error is fatal and the pipeline stopped executing. There may be error messages posted before this with more information about the failure.End ErrorDTExec: The package execution returned DTSER_FAILURE (1).Started: 04:30:00 AMFinished: 04:31:36 AMElapsed: 95.859 seconds

위의 오류가 Load into Stageing Database을 언급 않습니다를 - 그 데이터 흐름 작업에 포함되어 다음

enter image description here

사람이 이상을 설명 할 수 거기는이 주위에 방법입니다 ?

+1

11 월 6 일에 스키마 관련 변경 사항을 작성 했습니까? 패키지가 6 일 전에 완벽하게 작동 했습니까? 그 시간 동안 어떤 방식 으로든 파일이나 테이블 또는 DB에 액세스 할 다른 작업/프로세스가 있는지 이벤트 로그를 확인 했습니까?스테이징 테이블의 종속 객체는 어떻습니까? – rvphx

답변

4

커서가 아니라 오류 오히려 이러한 부분 :

  • 구성 요소에이 PrimeOutput 방법 "ITExtr03FinM 검색"(1) 반환 오류 코드 0xC02020C4
  • DTS_E_PRIMEOUTPUTFAILED
  • Stageing 데이터베이스에
  • 로드 ITExtr03FinM 한 설명을 검색합니다 에 시도가 데이터 흐름 작업 버퍼에 행을 추가 오류 코드와 함께 실패 0xC0047020

SqlServerCentral에서이 논의는 문제 https://ask.sqlservercentral.com/questions/46865/ssis-data-flow-task-getting-error-code-0xc02020c4.html

이 링크는 32 대 64 비트 문제를 건의 RAM/메모리 버퍼 구성을 제안합니다. 서버에서 64 비트 로컬 및 32 비트를 사용하고 있습니까? SSIS ERROR: The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020

RAM을 문제로 제안하는 몇 가지 추가 링크가 있는데, 그 이유는 구성이 다를 수 있으므로 한 컴퓨터에서는 문제가 될 것이기 때문에 다른 컴퓨터에서는 문제가 될 것이기 때문입니다. 또한 서버를 많이 사용하는 동안 패키지를 실행하면 작업에 사용할 수있는 메모리가 줄어 듭니다.

2

서버에서 다른 SQL 에이전트 및 유지 관리 작업의 일정을 확인하십시오 (특히 오전 4:30 정도). 패키지가 실패하는 가장 일관된 시간은 오전 4시 30 분입니다. 패키지에 충돌하는 동시에 다시 실행되는 reindex, 통계 업데이트 또는 기타 패키지가있을 것입니다.

패키지와 충돌하는 복제가있을 수도 있습니다. 나는 당신의 질문에 대답하는 열쇠를 믿는 오류를 통해 읽기