Visual Studio에서 직접 패키지를 실행하면 오류가 발생하지 않습니다. SQL Server 에이전트 작업을 통해 패키지를 실행하면 오류가 발생합니다.SQL 작업이 패키지를 실행하지 못했지만 VS가
Source: Fact_Invoice_Item PWBConsolidation [1] 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: 0x00040EDA Description: "Warning: Null value is eliminated by an aggregate or other SET operation.". End Error Error: 2012-02-14 07:17:49.01 Code: 0xC0047038 Source: Fact_Invoice_Item SSIS.Pipeline
Description: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on component "PWBConsolidation" (1) returned error code 0xC0202009. 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 Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 7:14:35 AM Finished: 7:17:50 AM Elapsed: 195.094 seconds. The package execution failed. NOTE: The step was retried the requested number of times (3) without succeeding. The step failed.
문제의 원인이되는 부분을 찾아 냈습니다. OLE DB 소스에서 나는 데이터를 가져 오기 위해 쿼리를 사용하고 난 후 패키지가 SQL Server 에이전트 작업을 통해 성공적으로 실행 된 다음 줄을 제거 할 때 :
Checksum = Checksum(S.BrokerID, S.TeamID, II.DatabaseName, II.INVOICE, I.Invoice_Date, P.Expiration_Date, P.Effective_Date,
P.Binder_Effective, I.AGENCY, II.MARKET, P.POLICY, CT.LINE_OF_BUSINESS, II.Coverage_Type, SUB.INSURED,
LOB.Description, CT.Description, I.Date_Due, I.Installment, P.Installments, P.ENDORSES, I.Inv_Tdate, Inv_Acctcur,
INS.INDUSTRY, SUB.SUBMISSION
)
편집 :
난 그냥 확인하고의 일부처럼 보이는 한 데이터 흐름을 통해 데이터를 가져오고 어느 시점에서 오류가 발생합니다. Checksum = 2를 수동으로 설정했지만 여전히 작동하지 않습니다.
이유는 무엇입니까?
고마워,
일리야
참조 된 테이블과 열을 기준으로 계정 SQL의
즐기 문 행운의 세트 ANSI_WARNINGS를 OFF하십시오. 8 개의 테이블 중 하나에 대한 선택 권한이없는 것으로 보입니다. 모든 열이 데이터 흐름에 포함되어 있습니까? 누락 된 부분이 있으면 충분하지 않은 권한을 부여 할 가능성이 가장 높습니다. – billinkc
데이터 흐름에 나타납니다. 더 나쁜 것은 오늘까지 수 주일이 걸렸습니다 –
패키지 보호 수준이 EncryptSensitiveWithUserCredentials이고 PackageCreator의 Active Directory 계정이 최근에 제거 되었습니까? – billinkc