1
resposta

[Dúvida] Error: 0xC0202009 at Criação da Dimensão Fábrica, Tabela Dim_Fabrica [37]: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.

Pessoal, estou com o erro "SSIS package "C:\PROJETO ANALISTA BI PARDINI\DW_SUCOS\CargaDatawarehouse\CargaDimensoes.dtsx" starting. Information: 0x4004300A at Criação da Dimensão Fábrica, SSIS.Pipeline: Validation phase is beginning. Information: 0x4004300A at Criação da Dimensão Fábrica, SSIS.Pipeline: Validation phase is beginning. Warning: 0x80049304 at Criação da Dimensão Fábrica, SSIS.Pipeline: Warning: Could not open global shared memory to communicate with performance DLL; data flow performance counters are not available. To resolve, run this package as an administrator, or on the system's console. Information: 0x40043006 at Criação da Dimensão Fábrica, SSIS.Pipeline: Prepare for Execute phase is beginning. Information: 0x40043007 at Criação da Dimensão Fábrica, SSIS.Pipeline: Pre-Execute phase is beginning. Information: 0x4004300C at Criação da Dimensão Fábrica, SSIS.Pipeline: Execute phase is beginning. Information: 0x4004800C at Criação da Dimensão Fábrica, SSIS.Pipeline: The buffer manager detected that the system was low on virtual memory, but was unable to swap out any buffers. 11 buffers were considered and 9 were locked. Either not enough memory is available to the pipeline because not enough is installed, other processes are using it, or too many buffers are locked. Information: 0x4004800F at Criação da Dimensão Fábrica: Buffer manager allocated 6 megabyte(s) in 1 physical buffer(s). Information: 0x40048010 at Criação da Dimensão Fábrica: Component "Execução Consulta SQL" (16) owns 6 megabyte(s) physical buffer. Error: 0xC0202009 at Criação da Dimensão Fábrica, Tabela Dim_Fabrica [37]: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft OLE DB Driver for SQL Server" Hresult: 0x80004005 Description: "A instrução foi finalizada.". An OLE DB record is available. Source: "Microsoft OLE DB Driver for SQL Server" Hresult: 0x80004005 Description: "Violação da restrição PRIMARY KEY 'PK__Table1__25BDD129AF72076E'. Não é possível inserir a chave duplicada no objeto 'dbo.Dim_Fabrica'. O valor de chave duplicada é (001).". Error: 0xC0209029 at Criação da Dimensão Fábrica, Tabela Dim_Fabrica [37]: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "Tabela Dim_Fabrica.Entradas[Entrada de Destino OLE DB]" failed because error code 0xC020907B occurred, and the error row disposition on "Tabela Dim_Fabrica.Entradas[Entrada de Destino OLE DB]" 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. Error: 0xC0047022 at Criação da Dimensão Fábrica, SSIS.Pipeline: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "Tabela Dim_Fabrica" (37) failed with error code 0xC0209029 while processing input "Entrada de Destino OLE DB" (50). 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. Information: 0x40043008 at Criação da Dimensão Fábrica, SSIS.Pipeline: Post Execute phase is beginning. Information: 0x4004300B at Criação da Dimensão Fábrica, SSIS.Pipeline: "Tabela Dim_Fabrica" wrote 2 rows. Information: 0x40043009 at Criação da Dimensão Fábrica, SSIS.Pipeline: Cleanup phase is beginning. Task failed: Criação da Dimensão Fábrica Warning: 0x80019002 at CargaDimensoes: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but the number of errors raised (3) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors. SSIS package "C:\PROJETO ANALISTA BI PARDINI\DW_SUCOS\CargaDatawarehouse\CargaDimensoes.dtsx" finished: Failure."

conseguem me ajudar ? ja mudei as propriedades da depuração mas até agora nada.

Insira aqui a descrição dessa imagem para ajudar na acessibilidade

1 resposta

Oii, Angelica, tudo bem?

Desculpe por demorar a te responder.

De acordo com o seu log de erros, recomendo você tentar alguma das alternativas:

  • Rodar o Visual Studio (o pacote SSIS, em específico) como administrador;
  • Alterar a alocação da memória (pois, pelo log, houve erros por questões de memória);
  • Checar a origem dos dados;
  • Limpar a tabela Din_Fabrica. Ela parece ter uma PK duplicada, o que viola a restrição para a chave primária.

Se a dúvida persistir, estou disponível.

Abraços e bons estudos!

Caso este post tenha lhe ajudado, por favor, marcar como solucionado ✓.

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software